Created 12-22-2016 06:37 PM
I enabled HDFS ranger plugin and tried restarting HDFS but i am getting below error in logs -
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py", line 50, in namenode setup_ranger_hdfs(rolling_upgrade = rolling_restart) File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/setup_ranger_hdfs.py", line 51, in setup_ranger_hdfs hdp_version_override = hdp_version) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/setup_ranger_plugin.py", line 73, in setup_ranger_plugin policy_user) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions.py", line 106, in create_ranger_repository raise Fail('{0} Repository creation failed in Ranger admin'.format(component.title())) resource_management.core.exceptions.Fail: Hdfs Repository creation failed in Ranger admin
Can you let me know how to resolve this issue?
Created 12-22-2016 06:38 PM
Is this new setup ?
Did you tried changing password for "amb_ranger_admin" user ?
If so you need to update the amb_ranger_admin password ("Ranger Ambari admin password") in Ambari and Ranger UI > user/group > amb_ranger_admin password
Let me know if that works.
Created 12-22-2016 06:38 PM
Is this new setup ?
Did you tried changing password for "amb_ranger_admin" user ?
If so you need to update the amb_ranger_admin password ("Ranger Ambari admin password") in Ambari and Ranger UI > user/group > amb_ranger_admin password
Let me know if that works.
Created 12-23-2016 04:44 AM
Resetting password worked