Skip to main content
lucky_day
Silver ⭐️
September 22, 2020
Solved

ranger error RangerServiceNotFoundException

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

 

 

 

Scharan
ScharanAnswer
Gold ⭐️
September 22, 2020

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

2 replies

Scharan
Gold ⭐️
ScharanAnswer
Gold ⭐️
September 22, 2020

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

Translate
lucky_day
lucky_dayAuthor
Silver ⭐️
September 23, 2020

It works,thank you.

Translate