Thank you, this was very useful but I'm facing another issue now: I have followed the guide at https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=38571133#Overview(Ambari1.5.0orlater)-DefiningaServiceandComponents
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 <[email protected]> wrote: > 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 <[email protected]> > Reply-To: "[email protected]" <[email protected]> > Date: Tuesday, March 3, 2015 at 9:37 AM > To: "[email protected]" <[email protected]> > 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 >
