Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideCloudera / Data Services & AI6 min read

Ranger troubleshooting runbook: policy, sync and plugin faults

A symptom-first runbook and the order to work in

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. Start here: what did Ranger decide?
  2. Policy not applied
  3. Sync issues
  4. Plugin faults
  5. Fix order
  6. Keep a record
  7. Questions we hear
  8. A worked example
  9. A first engagement

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 showsMeaningGo to
Denied, policy shownA policy matched and denied, or no allow matchedPolicy not applied (below)
Allowed, but the user should not have accessAn allow policy is broader than intendedPolicy design review
No event at allThe plugin is not auditing or not in the pathPlugin faults
Event shows a different user or groupIdentity or sync problemSync issues

Policy not applied

Symptom: you created or changed a policy and behaviour did not change.

  1. 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}
  2. Check the right service. A Hive policy in the wrong service does nothing for HDFS paths or Impala. Match policy, service and component.
  3. 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.
  4. Check for a deny. Deny conditions and exceptions can override an allow. List every policy that matches the resource.
  5. Check the conditions. A policy limited to a group or a tag will not match a user outside it.
  6. 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.
  7. 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.

CheckWhat to look for
Plugin shown in Ranger Admin plugin statusLast policy download time is recent, and the policy version matches
Network and name resolutionThe host running the service can reach Ranger Admin
Kerberos and TLSValid tickets and a truststore that holds Ranger Admin's certificate
Local policy cacheA stale or unreadable cache can hide updates; check permissions and age
Service logsMessages about failed policy download or audit destination errors
Audit destinationsSolr and HDFS reachable and writable; see Ranger audit logs

Fix order

Work from cheapest and least risky to the most disruptive:

  1. Read the audit event and name the deciding policy.
  2. Correct the policy, resource or deny that caused it.
  3. Wait for the plugin refresh, then retest with the same user.
  4. Check identity and group sync.
  5. Check the plugin's status and connectivity.
  6. Restart the affected service only if the plugin is confirmed stuck, and during a window.
  7. 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".

  1. The audit shows a denied event, with a tag-based policy named as the decider. Ranger is working as designed.
  2. The steward confirms the columns are customer identifiers and the tag is right.
  3. 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.
  4. The owner approves, the group is added to the tag policy and the plugin refreshes.
  5. 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.

Related: SDX, Ranger and Atlas consulting · tag-based access control on Cloudera · CDP upgrade guide

Frequently asked questions

Why is my Ranger policy not applied?

Common causes: the plugin has not refreshed yet, the policy is in the wrong service or resource, a deny overrides it or the user's groups are not what Ranger sees.

How do I see which policy decided access?

Open the access audit in Ranger Admin and filter by user and resource; each event shows the result and the policy.

What do I check when Usersync fails?

Its status and last run, then its log for directory connection or filter errors.

How do I know a plugin is healthy?

Ranger Admin shows its last policy download and policy version; compare with the latest.

When should I restart services?

Only after the plugin is confirmed stuck, and in a change window.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote