You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2022/02/21 21:15:00 UTC
[jira] [Created] (HADOOP-18138) UserGroupInformation shouldn't log exception
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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org