Created 10-24-2017 03:54 PM
I am trying to create a new policy in Ranger. When you click on Add, 'Error creating policy' is shown.
This is what /var/log/ranger/admin/xa_portal.log shows:2017-10-24 15:51:28,710 [http-bio-6080-exec-12] INFO org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:345) - Request failed. loginId=holger_gov, logMessage=User 'holger_gov' does not have delegated-admin privilege on given resourcesjavax.ws.rs.WebApplicationException at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:337)
Connection test to Ranger Admin DB runs ok (jdbc:postgresql://localhost:5432/ranger).
This is a 2.6.1 sandbox based environment. What can be causing this issue?
Created 10-24-2017 04:03 PM
User holger_gov does not have privileges to create policy. User has to have ADMIN role in ranger or needs to be delegated admin for the specified resource. Can you check this?
See https://community.hortonworks.com/content/kbentry/88202/apache-ranger-delegated-admin.html for delegated admin feature.
Also, ranger version in HDP 2.6.1 should be ranger 0.7.
Created 10-24-2017 04:03 PM
User holger_gov does not have privileges to create policy. User has to have ADMIN role in ranger or needs to be delegated admin for the specified resource. Can you check this?
See https://community.hortonworks.com/content/kbentry/88202/apache-ranger-delegated-admin.html for delegated admin feature.
Also, ranger version in HDP 2.6.1 should be ranger 0.7.