You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Diego Santesteban (JIRA)" <ji...@apache.org> on 2017/09/07 21:02:00 UTC
[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python
class name (containing hyphens) for the service advisor
[ https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Santesteban updated AMBARI-21907:
---------------------------------------
Status: Patch Available (was: Open)
Changed the 'getAdvisorName' function in StackServiceDirectory to remove any hyphens from the return string
> Ambari can demand an invalid python class name (containing hyphens) for the service advisor
> -------------------------------------------------------------------------------------------
>
> Key: AMBARI-21907
> URL: https://issues.apache.org/jira/browse/AMBARI-21907
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.2
> Reporter: Diego Santesteban
> Assignee: Diego Santesteban
> Fix For: trunk, 2.5.3, 2.6.0
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> The service advisor class name is created as 'stackName + versionString + serviceName + "ServiceAdvisor"'. When stackName, versionString or serviceName contains a hyphen, the class name that Ambari wants is not valid in python.
> Ambari should remove hyphens from the service advisor class name.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)