ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Mohanty <smoha...@hortonworks.com>
Subject Re: custom service - client unique_id property
Date Tue, 07 Jul 2015 16:54:26 GMT
Specifically do you need to add a GUID to the config file - or just using hostname or IP may
be enough.


Look at ZK stack definition @ https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py?


It has some logic to create unique ID.

________________________________
From: Satyanarayana Jampa <sjampa@innominds.com>
Sent: Tuesday, July 07, 2015 7:44 AM
To: user@ambari.apache.org
Subject: custom service - client unique_id property

Just wondering, if there is a way to generate a unique_id in the property file for each node,
for an custom client service.

I mean:
I have a custom client service component. I am looking for a way to generate a unique_id in
the client property file, for each node it gets installed.

Thanks,
Satya.


Mime
View raw message