druid-basic-security Non-coordinator services repeatedly logging JsonMappingException#8692
Merged
jon-wei merged 1 commit intoapache:masterfrom Oct 18, 2019
Merged
Conversation
…gException when using druid-basic-security extension with an authenticator that has no users setup
Contributor
|
Can you update the PR title and description to describe the fix, and remove "Issue 8678" from the title? We don't usually refer to the issue numbers in the PR title, it should be referenced by
in the PR description. |
Contributor
Author
|
@jon-wei Update the PR title and description |
jon-wei
approved these changes
Oct 18, 2019
Contributor
jon-wei
left a comment
There was a problem hiding this comment.
cool, thanks for the fix
Contributor
Author
|
@jon-wei Thank you! |
|
Please refer this issue and help me ERROR [qtp1604271704-130] org.apache.druid.security.basic.authentication.validator.LDAPCredentialsValidator - Exception during user lookup #9303 |
Contributor
|
Is there a workaround for this? I'm attempting to upgrade our cluster to 0.17 and I'm encountering this issue. I have users set up on 0.16. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8678
Description
Non-coordinator services are repeatedly logging JsonMappingException when using druid-basic-security extension with an authenticator (metadata/ldap) that has no users setup in the metastore.
Fixed the bug ...
Added a check for empty/zero byte array in CoordinatorPollingBasicAuthenticatorCacheManager class' tryFetchUserMapFromCoordinator method before attempting to deserialize
This PR has:
Key changed/added classes in this PR