Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4296

DistributedShell Log.info is not friendly

    Details

      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

      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
      

      A better way is

      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
      

        Attachments

          Activity

            People

            • Assignee:
              wisgood Xiaowei Wang
              Reporter:
              wisgood Xiaowei Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: