ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayush Luniya <jlun...@hortonworks.com>
Subject Re: Trigger a script after cluster installation
Date Tue, 03 Mar 2015 17:51:25 GMT
You can implement a custom command for it.

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=38571133

"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."

Regards
Jayush

From: Giovanni Paolo Gibilisco <gibbo87@gmail.com<mailto:gibbo87@gmail.com>>
Reply-To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Date: Tuesday, March 3, 2015 at 9:37 AM
To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Subject: Trigger a script after cluster installation

Hi,
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
started.

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

Mime
View raw message