[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-19 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> 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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Description: 
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 from the service advisor class name.

  was:
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.


> 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
>  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 non-alphanumeric from the service advisor class name.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Description: 
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.

  was:
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 from the service advisor class name.


> 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
>  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 non-alphanumeric characters from the service advisor 
> class name.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
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)

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Status: Open  (was: Patch Available)

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Attachment: AMBARI-21907.patch

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Attachment: (was: AMBARI-21907.patch)

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Attachment: (was: AMBARI-21907.patch)

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Attachment: AMBARI-21907.patch

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
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)

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-18 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Status: Open  (was: Patch Available)

Uploading a new patch with a better improvement and a test included...

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-07 Thread Diego Santesteban (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Diego Santesteban updated AMBARI-21907:
---
Attachment: AMBARI-21907.patch

> 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
>  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)


[jira] [Updated] (AMBARI-21907) Ambari can demand an invalid python class name (containing hyphens) for the service advisor

2017-09-07 Thread Diego Santesteban (JIRA)

 [ 
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)