[ 
https://issues.apache.org/jira/browse/YARN-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaowei Wang updated YARN-4296:
-------------------------------
    Description: 

DistributedShell Log.info is not friendly ,I think,nodeAddress and its contend 
shouldeb 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}



  was:


{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}


> 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.7.1
>
>
> DistributedShell Log.info is not friendly ,I think,nodeAddress and its 
> contend shouldeb 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