Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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.