ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Mohanty <>
Subject RE: custom service - client unique_id property
Date Tue, 07 Jul 2015 17:46:27 GMT
I think the id will be regenerated every time the config will be refreshed. That may be an

Sent from Outlook<>

On Tue, Jul 7, 2015 at 10:40 AM -0700, "Satyanarayana Jampa" <<>>

I am using the template as below:
node.environment={{node_environment}}{% uuid.uuid4() %}{{node_datadir}}

I want to have a unique ID in this property file per each node respectively. Remaiing properties
will be populated from the config params defined.
Any thoughts on this?

From: Sumit Mohanty []
Sent: 07 July 2015 22:24
Subject: Re: custom service - client unique_id property

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 @

It has some logic to create unique ID.

From: Satyanarayana Jampa <<>>
Sent: Tuesday, July 07, 2015 7:44 AM
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.


View raw message