[
https://issues.apache.org/jira/browse/HADOOP-18138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HADOOP-18138:
------------------------------------
Labels: pull-request-available (was: )
> 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: 10m
> 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.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]