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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4-alpha
    • 2.1.1-beta
    • resourcemanager
    • None
    • 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-20131006.txt
          15 kB
          Vinod Kumar Vavilapalli
        2. YARN-696.diff
          9 kB
          Trevor Lorimer
        3. YARN-696.diff
          12 kB
          Trevor Lorimer
        4. YARN-696.diff
          12 kB
          Trevor Lorimer
        5. YARN-696.diff
          13 kB
          Trevor Lorimer
        6. YARN-696.diff
          13 kB
          Trevor Lorimer
        7. YARN-696.diff
          15 kB
          Trevor Lorimer
        8. YARN-696.diff
          15 kB
          Trevor Lorimer
        9. YARN-696.diff
          15 kB
          Trevor Lorimer

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: