YARN-6894. RM Apps API returns only active apps when query parameter queue used. Contributed by Gergely Novák.
This commit is contained in:
parent
626b5103d4
commit
80440231d4
|
@ -1316,13 +1316,13 @@ With the Applications API, you can obtain a collection of resources, each of whi
|
|||
|
||||
### Query Parameters Supported
|
||||
|
||||
Multiple parameters can be specified for GET operations. The started and finished times have a begin and end parameter to allow you to specify ranges. For example, one could request all applications that started between 1:00am and 2:00pm on 12/19/2011 with startedTimeBegin=1324256400&startedTimeEnd=1324303200. If the Begin parameter is not specified, it defaults to 0, and if the End parameter is not specified, it defaults to infinity.
|
||||
Multiple parameters can be specified for GET operations. The started and finished times have a begin and end parameter to allow you to specify ranges. For example, one could request all applications that started between 1:00am and 2:00pm on 12/19/2011 with startedTimeBegin=1324256400&startedTimeEnd=1324303200. If the Begin parameter is not specified, it defaults to 0, and if the End parameter is not specified, it defaults to infinity. All query parameters for this api will filter on all applications. However the `queue` query parameter will only implicitly filter on unfinished applications that are currently in the given queue.
|
||||
|
||||
* state [deprecated] - state of the application
|
||||
* states - applications matching the given application states, specified as a comma-separated list.
|
||||
* finalStatus - the final status of the application - reported by the application itself
|
||||
* user - user name
|
||||
* queue - queue name
|
||||
* queue - unfinished applications that are currently in this queue
|
||||
* limit - total number of app objects to be returned
|
||||
* startedTimeBegin - applications with start time beginning with this time, specified in ms since epoch
|
||||
* startedTimeEnd - applications with start time ending with this time, specified in ms since epoch
|
||||
|
|
Loading…
Reference in New Issue