[
https://issues.apache.org/jira/browse/HADOOP-18958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780659#comment-17780659
]
ASF GitHub Bot commented on HADOOP-18958:
-----------------------------------------
hiwangzhihui opened a new pull request, #6234:
URL: https://github.com/apache/hadoop/pull/6234
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
JIRA: [HADOOP-18958](https://issues.apache.org/jira/browse/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](https://issues.apache.org/jira/browse/HADOOP-18958)
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> UserGroupInformation debug log improve
> --------------------------------------
>
> Key: HADOOP-18958
> URL: https://issues.apache.org/jira/browse/HADOOP-18958
> Project: Hadoop Common
> Issue Type: Improvement
> Components: common
> Affects Versions: 3.3.5, 3.3.3, 3.3.4
> Reporter: wangzhihui
> Priority: Minor
> Fix For: 3.3.4
>
> Attachments: 20231029-094229.jpeg, image-2023-10-29-09-47-56-489.png
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
> *example:*
> *!20231029-094229.jpeg|width=1299,height=717!*
>
> *improved result* :
> !image-2023-10-29-09-47-56-489.png|width=1515,height=215!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]