ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor
Date Mon, 18 Sep 2017 20:58:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170704#comment-16170704
] 

Hudson commented on AMBARI-21907:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8083 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8083/])
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=010f6d7a1b0c68f37d39f8fbc2a09030809b7841])
* (add) ambari-server/src/test/java/org/apache/ambari/server/stack/StackServiceDirectoryTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.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)

Mime
View raw message