Nemo Chen created YARN-5511:
-------------------------------
Summary: Log refactoring: method invocation should be replaced by
variable in yarn server
Key: YARN-5511
URL: https://issues.apache.org/jira/browse/YARN-5511
Project: Hadoop YARN
Issue Type: Bug
Affects Versions: 2.7.2
Reporter: Nemo Chen
Similar to the fix for HDFS-409. In file:
hadoop-rel-release-2.7.2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/security/NMTokenSecretManagerInNM.java
{code:borderStyle=solid}
...
ApplicationAttemptId appAttemptId = identifier.getApplicationAttemptId();
...
LOG.debug("NMToken key updated for application attempt : "
+ identifier.getApplicationAttemptId().toString());
{code}
In line 226, the method invocation
identifier.getApplicationAttemptId().toString()) can be replaced by
appAttemptId.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]