Repository: hadoop Updated Branches: refs/heads/branch-2.9 dc4132395 -> 49ba091f7
YARN-7525. Incorrect query parameters in cluster nodes REST API document. Contributed by Tao Yang. (cherry picked from commit ea8a121423a3d6b098129af5bbbec88f98550653) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/49ba091f Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/49ba091f Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/49ba091f Branch: refs/heads/branch-2.9 Commit: 49ba091f713bef68b4e54f5c2cd3e5c8a71321c3 Parents: dc41323 Author: bibinchundatt <bibinchund...@apache.org> Authored: Tue Nov 21 00:31:15 2017 +0530 Committer: bibinchundatt <bibinchund...@apache.org> Committed: Tue Nov 21 00:32:49 2017 +0530 ---------------------------------------------------------------------- .../hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/49ba091f/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 fd8069a..b84d885 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 @@ -2107,8 +2107,7 @@ With the Nodes API, you can obtain a collection of resources, each of which repr ### Query Parameters Supported - * state - the state of the node - * healthy - true or false + * states - the states of the node, specified as a comma-separated list, valid values are: NEW, RUNNING, UNHEALTHY, DECOMMISSIONING, DECOMMISSIONED, LOST, REBOOTED, SHUTDOWN ### Elements of the *nodes* object @@ -2286,7 +2285,7 @@ Use the following URI to obtain a Node Object, from a node identified by the nod | Item | Data Type | Description | |:---- |:---- |:---- | | rack | string | The rack location of this node | -| state | string | State of the node - valid values are: NEW, RUNNING, UNHEALTHY, DECOMMISSIONING, DECOMMISSIONED, LOST, REBOOTED | +| state | string | State of the node - valid values are: NEW, RUNNING, UNHEALTHY, DECOMMISSIONING, DECOMMISSIONED, LOST, REBOOTED, SHUTDOWN | | id | string | The node id | | nodeHostName | string | The host name of the node | | nodeHTTPAddress | string | The nodes HTTP address | --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org