hadoop-yarn-issues mailing list archives

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

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

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

FAILURE: Integrated in Hadoop-Hdfs-trunk #2471 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2471/])
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)

Mime
View raw message