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

Hudson commented on YARN-4296:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2524 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2524/])
YARN-4296. DistributedShell Log.info is not friendly. (Xiaowei Wang via 
(stevel: rev 446212a39ecf295cdd0e0b06ab870b48c5e6b500)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java


> DistributedShell Log.info is not friendly
> -----------------------------------------
>
>                 Key: YARN-4296
>                 URL: https://issues.apache.org/jira/browse/YARN-4296
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>    Affects Versions: 2.5.2, 2.7.1
>            Reporter: Xiaowei Wang
>             Fix For: 2.8.0
>
>         Attachments: YARN-4296.0.patch
>
>
> In java/org/apache/hadoop/yarn/applications/distributedshell/Client.java, 
> line 453´╝îLog.info is not friendly ,I think,nodeAddress and its content should 
> be separated with "="
> The origin Log.info is 
> {noformat}
> 15/10/24 10:20:26 INFO distributedshell.Client: Got node report from ASM for, 
> nodeId=cloud101414328.wd.nm.ss.nop:45454, 
> nodeAddresscloud101414328.wd.nm.ss.nop:23999, nodeRackName/default-rack, 
> nodeNumContainers19
> 15/10/24 10:20:26 INFO distributedshell.Client: Got node report from ASM for, 
> nodeId=rsync.cloud10141032027.wd.nm.nop:45454, 
> nodeAddressrsync.cloud10141032027.wd.nm.nop:23999, nodeRackName/default-rack, 
> nodeNumContainers19
> {noformat}
> A better way is 
> {noformat}
> 15/10/24 10:20:26 INFO distributedshell.Client: Got node report from ASM for, 
> nodeId=cloud101414328.wd.nm.ss.nop:45454, 
> nodeAddress=cloud101414328.wd.nm.ss.nop:23999, nodeRackName=/default-rack, 
> nodeNumContainers=19
> 15/10/24 10:20:26 INFO distributedshell.Client: Got node report from ASM for, 
> nodeId=rsync.cloud10141032027.wd.nm.nop:45454, 
> nodeAddress=rsync.cloud10141032027.wd.nm.nop:23999, 
> nodeRackName=/default-rack, nodeNumContainers=19
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to