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

Improve yarn container command

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      While running yarn container -list <Application Attempt ID> command, some observations:

      1) the scheme (e.g. http/https ) before LOG-URL is missing
      2) the start-time is printed as milli seconds (e.g. 1405540544844). Better to print as time format.
      3) finish-time is 0 if container is not yet finished. May be "N/A"
      4) May have an option to run as yarn container -list <appId> OR yarn application -list-containers <appId> also.
      As attempt Id is not shown on console, this is easier for user to just copy the appId and run it, may also be useful for container-preserving AM restart.

      Attachments

        1. YARN-2301.01.patch
          9 kB
          Naganarasimha G R
        2. YARN-2303.patch
          9 kB
          Naganarasimha G R
        3. YARN-2301.03.patch
          10 kB
          Naganarasimha G R
        4. YARN-2301.20141120-1.patch
          16 kB
          Naganarasimha G R
        5. YARN-2301.20141203-1.patch
          16 kB
          Naganarasimha G R
        6. YARN-2301.20141204-1.patch
          16 kB
          Naganarasimha G R
        7. YARN-2301-branch-2.6.1.txt
          17 kB
          Vinod Kumar Vavilapalli

        Activity

          People

            Naganarasimha Naganarasimha G R
            jianhe Jian He
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: