Support Questions

Find answers, ask questions, and share your expertise

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