hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nemo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5511) Log refactoring: method invocation should be replaced by variable in yarn server
Date Thu, 11 Aug 2016 15:22:20 GMT
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


Mime
View raw message