Chao Sun created HADOOP-18138:
---------------------------------
Summary: 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
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]