When a Ranger policy is not applied, work in this order: check what Ranger Admin says was decided, confirm the plugin has the latest policy, confirm the user and groups Ranger sees, then check for a matching deny, a service or resource mismatch and the plugin's connection to Ranger Admin. This runbook is symptom-first. It covers policy not applied, sync issues, plugin faults and the fix order. It supports our Cloudera SDX, Ranger and Atlas consulting page.
Defaults, log locations and menu names differ by release and by whether you run Cloudera on premises or in the cloud. Test changes outside production first.
Start here: what did Ranger decide?
Open the access audit in Ranger Admin and filter by user, resource and time. Each event shows the result and the policy that decided it. That one screen splits the problem:
| What the audit shows | Meaning | Go to |
|---|---|---|
| Denied, policy shown | A policy matched and denied, or no allow matched | Policy not applied (below) |
| Allowed, but the user should not have access | An allow policy is broader than intended | Policy design review |
| No event at all | The plugin is not auditing or not in the path | Plugin faults |
| Event shows a different user or group | Identity or sync problem | Sync issues |
Policy not applied
Symptom: you created or changed a policy and behaviour did not change.
- Wait for the plugin's refresh. Plugins poll Ranger Admin for policy updates on an interval. Check the policy download time for the service in Ranger Admin. {VER}
- Check the right service. A Hive policy in the wrong service does nothing for HDFS paths or Impala. Match policy, service and component.
- Check the resource. Database, table and column names, path wildcards, recursive flags and case matter. A policy on a table does not cover a view built on it unless you say so.
- Check for a deny. Deny conditions and exceptions can override an allow. List every policy that matches the resource.
- Check the conditions. A policy limited to a group or a tag will not match a user outside it.
- Check tag policies. If access depends on an Atlas classification, check the tag is applied and the tag service is linked. See Atlas to Ranger tags.
- Check native fallback. If no Ranger policy matches, some plugins fall back to native permissions such as HDFS ACLs. Check the setting for each service.
Sync issues
Symptom: the user exists but Ranger sees the wrong groups, or a new user cannot be found.
- Check Ranger Usersync status and its last run. If it is failing, read its log for directory connection or filter errors.
- Check the user and group in Ranger Admin against your directory. New groups may not appear until the next sync.
- Check how groups are mapped on each service. Hive, HDFS and Impala can resolve groups differently; test with the same user on each.
- Check for duplicate or differently cased user names between directory, Kerberos and applications.
- After a directory change, force a sync and wait for the plugin refresh before you retest.
Plugin faults
Symptom: the plugin is not downloading policies or not writing audits.
| Check | What to look for |
|---|---|
| Plugin shown in Ranger Admin plugin status | Last policy download time is recent, and the policy version matches |
| Network and name resolution | The host running the service can reach Ranger Admin |
| Kerberos and TLS | Valid tickets and a truststore that holds Ranger Admin's certificate |
| Local policy cache | A stale or unreadable cache can hide updates; check permissions and age |
| Service logs | Messages about failed policy download or audit destination errors |
| Audit destinations | Solr and HDFS reachable and writable; see Ranger audit logs |
Fix order
Work from cheapest and least risky to the most disruptive:
- Read the audit event and name the deciding policy.
- Correct the policy, resource or deny that caused it.
- Wait for the plugin refresh, then retest with the same user.
- Check identity and group sync.
- Check the plugin's status and connectivity.
- Restart the affected service only if the plugin is confirmed stuck, and during a window.
- Escalate to Cloudera Support with the audit event, plugin status and service logs. See our Cloudera support page.
Keep a record
Record each fault: symptom, deciding policy, cause and fix. A short log shows patterns such as a service that often misses refreshes, and feeds your review of policy sprawl.
Questions we hear
Why does a policy work in Hive but not in Impala? Check that each service has its own policies and plugin, and that group mapping is the same.
Why did a change take effect late? The plugin polls on an interval, and caches policies locally.
Should we restart services to apply a policy? Not normally. Fix cause first.
A worked example
An illustrative scenario, not a client. A user can read a Hive table until a data steward applies a Restricted classification to two columns. The next morning the user's query fails, and the ticket says "Ranger is broken".
- The audit shows a denied event, with a tag-based policy named as the decider. Ranger is working as designed.
- The steward confirms the columns are customer identifiers and the tag is right.
- The user's group is not in the allow list of the Restricted tag policy. The fix is a request to the data owner, not a change in Ranger.
- The owner approves, the group is added to the tag policy and the plugin refreshes.
- The team notes in its log: tag applied, access request needed, no fault.
This is the most common "fault" in a tag-based set-up: a correct denial that nobody expected. A short note to data users, sent when a tag changes, prevents many tickets.
A first engagement
Duczer East offers a Ranger health check: policy review, plugin status, sync and audit set-up, with a ranked fix list. Scope is agreed in writing first.



