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

Minor improvement to output header for $ yarn node -list

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.1-beta
    • client
    • Reviewed

    Description

      Output of $ yarn node -list shows number of running containers at each node. I found a case when new user of YARN thinks that this is container ID, use it later in other YARN commands and find an error due to misunderstanding.

      current output
      2013-07-31 04:00:37,814|beaver.machine|INFO|RUNNING: /usr/bin/yarn node -list
      2013-07-31 04:00:38,746|beaver.machine|INFO|Total Nodes:1
      2013-07-31 04:00:38,747|beaver.machine|INFO|Node-Id	Node-State	Node-Http-Address	Running-Containers
      2013-07-31 04:00:38,747|beaver.machine|INFO|myhost:45454	   RUNNING	myhost:50060	   2
      
      proposed output
      2013-07-31 04:00:37,814|beaver.machine|INFO|RUNNING: /usr/bin/yarn node -list
      2013-07-31 04:00:38,746|beaver.machine|INFO|Total Nodes:1
      2013-07-31 04:00:38,747|beaver.machine|INFO|Node-Id	Node-State	Node-Http-Address	Number-of-Running-Containers
      2013-07-31 04:00:38,747|beaver.machine|INFO|myhost:45454	   RUNNING	myhost:50060	   2
      

      Attachments

        1. YARN-1081.patch
          3 kB
          Akira Ajisaka
        2. YARN-1081.2.patch
          10 kB
          Akira Ajisaka

        Activity

          People

            aajisaka Akira Ajisaka
            tassapola Tassapol Athiapinya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: