[
https://issues.apache.org/jira/browse/RANGER-5752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhishek Kumar updated RANGER-5752:
-----------------------------------
Description:
On fresh Docker bring-up, {{AuditDispatcherBase.DispatcherWorker}} hits
{{TopicAuthorizationException: Not authorized to access topics:
[ranger_audits]}}
when Kafka auth isn't ready yet (Ranger plugin policies not synced / topic not
created).
The worker thread exits. The HTTP healthcheck still passes → container healthy,
consumer dead. Audits sit in Kafka; Ranger UI -> Audits tab stays empty until
manual restart of the dispatcher container.
Logs attached.
was:
On fresh Docker bring-up, {{AuditDispatcherBase.DispatcherWorker}} hits
{{TopicAuthorizationException: Not authorized to access topics:
[ranger_audits]}} when Kafka auth isn't ready yet (Ranger plugin policies not
synced / topic not created).
The worker thread exits. The HTTP healthcheck still passes → container healthy,
consumer dead. Audits sit in Kafka; Ranger UI stays empty until manual restart
of the dispatcher container.
Logs attached.
> Audit dispatcher consumer dies on TopicAuthorizationException - container
> stays healthy, audits stop flowing
> ------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-5752
> URL: https://issues.apache.org/jira/browse/RANGER-5752
> Project: Ranger
> Issue Type: Bug
> Components: audit-server
> Reporter: Abhishek Kumar
> Priority: Major
> Attachments: dispatcher-container.log
>
>
> On fresh Docker bring-up, {{AuditDispatcherBase.DispatcherWorker}} hits
> {{TopicAuthorizationException: Not authorized to access topics:
> [ranger_audits]}}
> when Kafka auth isn't ready yet (Ranger plugin policies not synced / topic
> not created).
> The worker thread exits. The HTTP healthcheck still passes → container
> healthy, consumer dead. Audits sit in Kafka; Ranger UI -> Audits tab stays
> empty until manual restart of the dispatcher container.
>
> Logs attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)