hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4296) DistributedShell Log.info is not friendly
Date Tue, 27 Oct 2015 12:33:27 GMT

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

Akira AJISAKA updated YARN-4296:
--------------------------------
    Assignee: Xiaowei Wang

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

Mime
View raw message