YARN-6894. RM Apps API returns only active apps when query parameter queue 
used. Contributed by Gergely Novák.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/80440231
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/80440231
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/80440231

Branch: refs/heads/YARN-1011
Commit: 80440231d49e518ab6411367d7d8474155ecca2b
Parents: 626b510
Author: Miklos Szegedi <szege...@apache.org>
Authored: Tue Jan 2 17:59:10 2018 -0800
Committer: Miklos Szegedi <szege...@apache.org>
Committed: Tue Jan 2 17:59:10 2018 -0800

----------------------------------------------------------------------
 .../hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/80440231/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
----------------------------------------------------------------------
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
index f478403..09e4727 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to