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

Ranger PolicyRefresher failed to refresh policies causing AccessDeniedException in HBase

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: