Also, if you only need this to be done when Kerberos is enabled, you can specify these properties in your service's kerberos.json, like is done here for HAWQ:
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/kerberos.json#L45-48 When security wizard runs, it will add these properties to core-site.xml. -- Thanks, Alex. On Mon, May 2, 2016 at 10:51 AM, Mithun Mathew <[email protected]> wrote: > This code is in stack_advisor: > https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py#L194-L300 > > Look for function definitions of recommendHadoopProxyUsers and > recommendAmbariProxyUsersForHDFS > > On Mon, May 2, 2016 at 6:07 AM, Zhang Ruiqiang <[email protected]> wrote: > >> Hi all: >> When install Oozie service, new configurations such as >> 'hadoop.proxyuser.oozie.groups' will be added to core-site.xml. Now, I want >> to add similar configurations(''hadoop.proxyuser.XXX.groups') when I >> install a customed service. I checked the code, but I can't find out how to >> do this. >> Can anyone help me? >> >> Regards! >> >> >> >> > > > > -- > *Mithun Mathew* (Matt) > > - www.linkedin.com/in/mithunmatt/ > >
