Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Ranger PolicyRefresher failed to refresh policies causing AccessDeniedException in HBase
from HMaster log
2016-07-12 04:21:00,322 ERROR [Thread-75] client.RangerAdminRESTClient: Error getting policies. secureMode=true, user=hbase/<cluster-name> (auth:KERBEROS), response={"httpStatusCode":404,"statusCode":0}, serviceName=<service_name> 2016-07-12 04:21:00,322 ERROR [Thread-75] util.PolicyRefresher: PolicyRefresher(serviceName=<service_name>): failed to refresh policies. Will continue to use last known version of policies (2) java.lang.Exception: HTTP 404 at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:126) at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:217) at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:185) at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:158)