ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaimin Jetly <jai...@hortonworks.com>
Subject Re: custom services / status
Date Wed, 03 Jun 2015 23:57:59 GMT
Hi Donald,


There is a status command implementation that needs to be done in the python script for every
service component. This is required for service component to return their current status back
to ambari-server.

Example status command for Hbase Master: code link?<https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py#L91>


-- Thanks

    Jaimin




________________________________
From: Donald Hansen <donald@hansenfamily.us>
Sent: Wednesday, June 03, 2015 3:39 PM
To: user@ambari.apache.org
Subject: custom services / status

I'm trying to create a custom service in Ambari and curious how it tells Ambari if the service
successfully started or not. I was able to add a python function that starts my service and
my service does start correctly but Ambari still shows the service as not started.

Thanks.
Donald

Mime
View raw message