[ 
https://issues.apache.org/jira/browse/YARN-5511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419495#comment-15419495
 ] 

Vrushali C commented on YARN-5511:
----------------------------------

Thanks Naga!

> 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
>            Assignee: Vrushali C
>         Attachments: YARN-5511.001.patch
>
>
> 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]

Reply via email to