Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Change hadoop service group post-install

avatar
Rising Star

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

1 ACCEPTED SOLUTION

avatar
Rising Star

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

View solution in original post

1 REPLY 1

avatar
Rising Star

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