Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Change hadoop service group post-install

Solved Go to solution

Change hadoop service group post-install

Contributor

We can set the "Hadoop Group" during installation by using the customize services => Misc tab. How to change it post-install ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Change hadoop service group post-install

Contributor

The Hadoop Group can be changed with the following command:

/var/lib/ambari-server/resources/scripts/configs.sh \
-u admin -p admin set localhost cluster_name cluster-env user_group new_group

This assumes it is running from the Ambari host with the default credentials. Replace cluster_name with the name of the cluster.

Details here: https://cwiki.apache.org/confluence/display/AMBARI/Update+Service-Accounts+After+Install

1 REPLY 1
Highlighted

Re: Change hadoop service group post-install

Contributor

The Hadoop Group can be changed with the following command:

/var/lib/ambari-server/resources/scripts/configs.sh \
-u admin -p admin set localhost cluster_name cluster-env user_group new_group

This assumes it is running from the Ambari host with the default credentials. Replace cluster_name with the name of the cluster.

Details here: https://cwiki.apache.org/confluence/display/AMBARI/Update+Service-Accounts+After+Install