Support Questions

Find answers, ask questions, and share your expertise

ranger error RangerServiceNotFoundException

avatar
Explorer

Dear experts,I am running HDP 2.6.4. Recently i have installed Ranger and integrated Hive. When i am trying to change Ambari Cluster Name and Ranger Hive Service Name, i am receiving the below errors in the hiveserver2.log. Could you please help ? 

'cluster1' is the original cluster name,I want to change the cluster name to a different name.

 

ERROR [Thread-13]: util.PolicyRefresher(PolicyRefresher.java:loadPolicyfromPolicyAdmin(285)) - PolicyRefresher(serviceName=cluster1_hive): failed to find service. Will clean up local cache of policies (-1)
org.apache.ranger.plugin.util.RangerServiceNotFoundException: cluster1_hive

 

 

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

@lucky_day  Can you try disabling and re-enabling  the hive plugin (It requires a restart of Hive service)

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

@lucky_day  Can you try disabling and re-enabling  the hive plugin (It requires a restart of Hive service)

avatar
Explorer

It works,thank you.