Support Questions

Find answers, ask questions, and share your expertise

This alert is used to ensure that the Ranger Admin password in Ambari is correct.

Rising Star

Getting Alert: amb_user_admin credentials in Ambari UI is not in sync with Ranger.

Where can I make them in Sync..

1 ACCEPTED SOLUTION

@Prakash Punj See this http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Ranger_Install_Guide/content/updating_ran...

Read it carefully.

There are 2 settings

  • Ranger Admin user -- The credentials for this user are set in Configs > Advanced ranger-env in the fields labeledadmin_username (default value: admin) and admin_password (default value: admin).
  • Admin user used by Ambari to create repo/policies -- The user name for this user is set in Configs > Admin Settings in the field labeled Ranger Admin username for Ambari (default value: amb_ranger_admin). The password for this user is set in the field labeled Ranger Admin user's password for Ambari. This password is specified during the Ranger installation.

View solution in original post

13 REPLIES 13

@Prakash Punj See this http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Ranger_Install_Guide/content/updating_ran...

Read it carefully.

There are 2 settings

  • Ranger Admin user -- The credentials for this user are set in Configs > Advanced ranger-env in the fields labeledadmin_username (default value: admin) and admin_password (default value: admin).
  • Admin user used by Ambari to create repo/policies -- The user name for this user is set in Configs > Admin Settings in the field labeled Ranger Admin username for Ambari (default value: amb_ranger_admin). The password for this user is set in the field labeled Ranger Admin user's password for Ambari. This password is specified during the Ranger installation.

@Prakash Punj Did you get chance to test this?

Rising Star
@Neeraj Sabharwal

Actually instructions are not very clear to me. All I did was made all those password same. But still the alert is there. I don't understand where it says "update the passwords on the Configs page of each Ambari component that has the Ranger plugin enabled" I have ranger plugin enabled for Hive and Hbase but there do I need to update the password.

Thanks

@Prakash Punj

Did you change your Ranger UI admin password? If you did then you have to update Ambari with new password

Rising Star

@Neeraj Sabharwal

currently Ranger UI account (admin) password, and passwords as per this screen ( Ambari Ranger services configuration) as per the link below are all the same. Anything else I am missing here.

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Ranger_Install_Guide/content/updating_ran...

@Prakash Punj If you changed the Ranger UI password then you have to update 2nd part in the screenshot "admin_username"

1st part if if you change admin password for Ambari

@Prakash Punj Restart ranger and ambari

Rising Star
@Neeraj Sabharwal

THIS APPEARS TO BE FIXED. I dont see any alerts anymore.

Thanks

Updated the user admin , password under Advanced ranger-ev

to

Same password of amb_ranger_admin password .

( both ranger_admin_password and admin_password are same ) .

Still No luck.

@Neeraj Sabharwal

I was getting same alert, ambari 2.2.0, hdp 2.3.4. I updated both passwords (admin and amb_user_admin), alert turned green after few minutes.

Explorer

Neeraj, do you mean amb_ranger_admin ?

Rising Star

@Neeraj Sabharwal

I made sure all the following account password is same:

Ambari account for admin / password

In the Advanced config of ranger service (screen shot)

Ranger Interface:  Admin: admin / password

2452-ranger2.jpg


ranger1.jpg

Expert Contributor

Even i faced the same problem while upgrading the HDP version.

I just logged into Ranger UI as admin user, and in the user section i reset the same password for "admin" and "amb_ranger_admin" users and restarted ranger service. This worked for me.