-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-19514: SecretManager logs at INFO in bin/hadoop calls #7537
Conversation
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
I committed this to trunk. Thank you for the reviews, @slfan1989 and @steveloughran . |
@cnauroth , thanks for working on this! @slfan1989 , @steveloughran , thanks for reviewing this! You guys are very fast! I was going to submit a PR and found that it had been already done. |
Happy to help, @szetszwo ! |
Description of PR
Switch to debug level for logging
SecretManager
configured algorithm and key length. I really wanted to do more improvements in this class, like resolving the configuration in a constructor instead of static initialization and potentially reusing a pre-existingConfiguration
instance. I couldn't find a way to do that while maintaining backward-compatibility, and the class is annotated as public.How was this patch tested?
On trunk, build the distro:
Reproduce the bug:
Apply this patch, rebuild the distro and retest. The
SecretManager
logs don't appear. You can get them back by explicitly enabling debug logging:For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?