hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaowei Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4296) DistributedShell Log.info is not friendly
Date Sat, 24 Oct 2015 03:30:27 GMT

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

Xiaowei Wang updated YARN-4296:
-------------------------------
    Description: 
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}



  was:

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}




> 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
>
>         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)

Mime
View raw message