[ 
https://issues.apache.org/jira/browse/HADOOP-18958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangzhihui updated HADOOP-18958:
--------------------------------
    Description: 
      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:*

 

 

*improved result* :

!image-2023-10-29-09-47-56-489.png|width=1515,height=215!

  was:
      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!


> 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
>              Labels: pull-request-available
>             Fix For: 3.3.4
>
>         Attachments: 20231029-094229.jpeg, 20231029-122825.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:*
>  
>  
> *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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to