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 <gibb...@gmail.com<mailto:gibb...@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

Reply via email to