[ 
https://issues.apache.org/jira/browse/HADOOP-18138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847602#comment-17847602
 ] 

ASF GitHub Bot commented on HADOOP-18138:
-----------------------------------------

sunchao closed pull request #4007: HADOOP-18138. UserGroupInformation shouldn't 
log exception unnecessarily
URL: https://github.com/apache/hadoop/pull/4007




> UserGroupInformation shouldn't log exception 
> ---------------------------------------------
>
>                 Key: HADOOP-18138
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18138
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> In {{UserGroupInformation.doAs}}, we currently create a new {{Exception}} and 
> log it in {{LOG.debug}}. This doesn't look necessary:
> {code}
>       if (LOG.isDebugEnabled()) {
>         LOG.debug("PrivilegedAction [as: {}][action: {}]", this, action,
>             new Exception());
>       }
> {code}



--
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