ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <>
Subject Re: New service user for custom service
Date Wed, 15 Feb 2017 21:08:42 GMT
HI Sandeep, you can generate a config-type to store the user but not
actually save the config file to the local file system.


On 2/15/17, 6:57 AM, "Sandeep G" <> wrote:

>Thanks for the reply Janne
>I have tried out even that route of adding one xml file in the
>configuration folder and the USER property that you mentioned in the file.
>But the framework is throwing an exception when it is setting empty
>as there are no other configs apart from the USER property in the xml
>So trying to figure out if there is any other place where we can configure
>this USER property
>On Wed, 15 Feb 2017 at 20:01, Janne Valkealahti
>Afaik you need to add that configuration you mentioned. That's something
>I'm doing[1] in Spring Cloud Dataflow plugin for ambari. Then if you're
>executing a process you need to reference[2] that user. I think I also
>ripped this out from how zk service was done. I think a way it works is
>if property-type is USER then that instructs ambari to actually create
>On Wed, Feb 15, 2017 at 12:34 PM, Sandeep G <>
>> Hi
>> We are adding a new custom service in our Ambari stack and would like to
>> run the service as a new service user. I have seen that for services
>> Zookeeper, the zookeeper user is configured in zookeeper-env.xml which
>> would show up in the configuration recommendations page in UI and Ambari
>> would create the user if not already present.
>> However for the new service that we are adding, there is no
>> folder as there are no configs for this service. Can you please guide me
>> where to configure this new user so that it shows up in configuration
>> recommendation page ?
>> Thanks
>> --Sandeep

View raw message