You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Nemo Chen (JIRA)" <ji...@apache.org> on 2016/08/11 15:22:20 UTC

[jira] [Created] (YARN-5511) Log refactoring: method invocation should be replaced by variable in yarn server

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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org