HDP is installed with default passwords. Per your site security policy, change the default passwords after installation.
-
Change the default Ambari password:
- Log on to Ambari on the first master node, using admin as both the username and the password.
- Click the Admin button and select Manage Ambari.
- In the Manage Users + Groups window, select Users.
- In the Users window, select admin.
- In the Users/admin window, click Change Password.
- Enter the current password and the new password twice, and click OK.
- From master node one, enter: hcli --nolog support manager_config --password <current password>.
-
Change the Hive database password:
The Hive password default is hive. You must change the default password on the first master node as well as in Ambari.
- Log on as root on the first master node.
- Become the postgres user by typing su - postgres.
- Enter the postgres shell by typing psql.
- Change the password by entering the SQL statement ALTER USER hive WITH PASSWORD '<newpassword>'
-
Change the Hive password in Ambari:
- Log on to Ambari.
- In the Services list, select Hive.
- Select the Configs tab.
- Above the configuration metrics, select the Advanced tab.
- At the Database Password prompt, enter the new password twice, and click Save.
-
Change the Oozie password:
- Log on as root on the first master node.
- Become the postgres user by typing su - postgres.
- Enter the postgres shell by typing psql.
- Change the password by entering the SQL statement ALTER USER oozie WITH PASSWORD '<newpassword>'
-
Change the Oozie password in Ambari:
- Log on to Ambari.
- In the Services list, select Oozie.
- Select the Configs tab.
- At the Database Password prompt, enter the new password twice, and click Save.
-
Change the postgres password:
- Log on as root on the first master node.
- Become the postgres user by typing su - postgres.
- Enter the postgres shell by typing psql.
- Change the password by entering the SQL statement ALTER USER postgres WITH PASSWORD '<newpassword>'
- On each node in the cluster, reset the linux user root password by entering passwd root. The default password is root.
- On each node in the cluster reset the linux tdatuser user password by entering passwd tdatuser. The default password is tdatuser.