ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <>
Subject Re: Trigger a script after cluster installation
Date Wed, 04 Mar 2015 19:08:24 GMT
Do you see your new services through the Ambari REST API?



From: Giovanni Paolo Gibilisco <<>>
Reply-To: "<>" <<>>
Date: Wednesday, March 4, 2015 8:15 AM
To: "<>" <<>>
Subject: Re: Trigger a script after cluster installation

Thank you, this was very useful but I'm facing another issue now:

I have followed the guide at

and added a dummy service to Ambari service stacks, in particular to HDP 2.2. However after
restarting the ambari server the "add service" button remains disabled. I noticed that Ambari
made an archive in the new folder i created for the service, so I assume it distributed it
to the other agents.

How one might mitigate this problem?

On Tue, Mar 3, 2015 at 6:53 PM Jayush Luniya <<>>
You can implement a custom command for it.

"Ambari supports different commands scripts written in PYTHON. The type is used to know how
to execute the command scripts. You can also create custom commands if there are other commands
beyond the default lifecycle commands your component needs to support."


From: Giovanni Paolo Gibilisco <<>>
Reply-To: "<>" <<>>
Date: Tuesday, March 3, 2015 at 9:37 AM
To: "<>" <<>>
Subject: Trigger a script after cluster installation

I'm developing a script to configure hue accordinf to the configuration managed by Ambari.
I would like to run this script after:

the installation of the cluster via ambari web interface is finished AND services have been

If there a way to understand when this process is finished?

View raw message