[
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170642#comment-16170642
]
Hudson commented on AMBARI-21907:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #236 (See
[https://builds.apache.org/job/Ambari-branch-2.6/236/])
AMBARI-21907: Ambari can demand an invalid python class name for the (tthorpe:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6cfb01f9a24fafdf44aa54b50b2dd93b6cd2f533])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
* (add)
ambari-server/src/test/java/org/apache/ambari/server/stack/StackServiceDirectoryTest.java
> 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
>
> Attachments: AMBARI-21907.patch
>
> Original Estimate: 4h
> Time Spent: 6h
> Remaining Estimate: 0h
>
> 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 non-alphanumeric characters from the service advisor
> class name.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)