Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1104

Ranger PolicyRefresher failed to refresh policies causing AccessDeniedException in HBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • 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)
      
      

      Attachments

        Activity

          People

            spolavarapu Sailaja Polavarapu
            romil.choksi Romil Choksi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: