-
Notifications
You must be signed in to change notification settings - Fork 8.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-18958. UserGroupInformation debug log improve. #6255
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -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.
I'd rather leave as is; it only surfaces in DEBUG builds which are noisy enough. And when things go wrong, that full stack is really good.
about the only thing we could do is downgrade it to log at TRACE
@steveloughran Thank you for your review! I agree with your view. |
...mon-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
Outdated
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
hi, @steveloughran If you have time, please review it again. Thanks! |
💔 -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.
LGTM
+1
Contributed by zhihui wang
Contributed by zhihui wang
Description of PR
JIRA: HADOOP-18958.
Using “new Exception( )” to print the call stack of "doAs Method " in the UserGroupInformation class. Using this way will print meaningless Exception information and too many call stacks, This is not conducive to troubleshooting
How was this patch tested?
Deploy to the testing environment and observe the print result of UserGroupInformation Debug logs.
See: HADOOP-18958
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?