ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Vasilenko <dvasi...@gmail.com>
Subject Re: Possible to have custom command name with spaces in custom service
Date Wed, 17 Jun 2015 14:16:49 GMT
We are facing the same problem. Submitted

https://issues.apache.org/jira/browse/AMBARI-11974

to track the issue.

Regards
Dmitry Vasilenko


On Fri, Jun 12, 2015 at 10:53 AM, Christopher Jackson <
jackson.christopher.lee@gmail.com> wrote:

> I have a custom service with a custom command as shown below:
>
> <customCommand>
>   <name>Remove_Sample_Data</name>
>   <commandScript>
>     <script>scripts/server.py</script>
>     <scriptType>PYTHON</scriptType>
>     <timeout>600</timeout>
>   </commandScript>
> </customCommand>
>
> I would like for this custom command to be shown in the service actions
> drop down as ‘Remove Sample Data’. Is this possible? It seems not since the
> name of the custom command should match the name of the function in the
> script. Is there another element nested under customCommand to achieve what
> I want, something like <displayName> or the like?
>
> Regards,
>
> Christopher Jackson

Mime
View raw message