Skip to content

Non-coordinator services produce excessive logging from druid-basic-security extension #16766

@dave-mccowan

Description

@dave-mccowan

Affected Version

Detected in master, but has occured since PR#8692

Description

Issue occurs when using druid-basic-security extension and having an authenticator in the authenticator chain that has no users setup (not even the admin and druid_system internal users). This includes the LDAP authenticator that does not store users in teh metadata table.

The issue is the follow log message is emitted every minute by every process when the default pollingPeriod of 1 minute is used.

2024-07-20T12:43:56,374 INFO [BasicAuthenticatorCacheManager-Exec--0] org.apache.druid.security.basic.authentication.db.cache.CoordinatorPollingBasicAuthenticatorCacheManager - Empty cached serialized user map retrieved, authenticator - ldap

This log message was added in PR#8692. Before an exception was caught every minute. Now a log message is emitted every minute. This is excessive and should not occur in this normal and frequent condition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions