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

Enable multiple states to to be specified in Resource Manager apps REST call

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4-alpha
    • Fix Version/s: 2.1.1-beta
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Within the YARN Resource Manager REST API the GET call which returns all Applications can be filtered by a single State query parameter (http://<rm http address:port>/ws/v1/cluster/apps).

      There are 8 possible states (New, Submitted, Accepted, Running, Finishing, Finished, Failed, Killed), if no state parameter is specified all states are returned, however if a sub-set of states is required then multiple REST calls are required (max. of 7).

      The proposal is to be able to specify multiple states in a single REST call.

        Attachments

        1. YARN-696.diff
          9 kB
          Trevor Lorimer
        2. YARN-696.diff
          12 kB
          Trevor Lorimer
        3. YARN-696.diff
          12 kB
          Trevor Lorimer
        4. YARN-696.diff
          13 kB
          Trevor Lorimer
        5. YARN-696.diff
          13 kB
          Trevor Lorimer
        6. YARN-696.diff
          15 kB
          Trevor Lorimer
        7. YARN-696.diff
          15 kB
          Trevor Lorimer
        8. YARN-696.diff
          15 kB
          Trevor Lorimer
        9. YARN-696-20131006.txt
          15 kB
          Vinod Kumar Vavilapalli

          Issue Links

            Activity

              People

              • Assignee:
                trevlo78 Trevor Lorimer
                Reporter:
                trevlo78 Trevor Lorimer
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: