Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Please see the Cloudera blog for information on the Cloudera Response to CVE-2021-4428

ranger error RangerServiceNotFoundException

New Contributor

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

Accepted Solutions

Super 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

Super 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

New Contributor

It works,thank you.