Repository: hadoop Updated Branches: refs/heads/trunk 0fefda645 -> 05007b45e
YARN-3436. Fix URIs in documantion of YARN web service REST APIs. Contributed by Bibin A Chundatt. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/05007b45 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/05007b45 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/05007b45 Branch: refs/heads/trunk Commit: 05007b45e58bd9052f503cfb8c17bcfd22a686e3 Parents: 0fefda6 Author: Tsuyoshi Ozawa <oz...@apache.org> Authored: Tue Apr 14 14:13:55 2015 -0500 Committer: Tsuyoshi Ozawa <oz...@apache.org> Committed: Tue Apr 14 14:13:55 2015 -0500 ---------------------------------------------------------------------- hadoop-yarn-project/CHANGES.txt | 3 +++ .../hadoop-yarn-site/src/site/markdown/WebServicesIntro.md | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/05007b45/hadoop-yarn-project/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 2933c79..2db02a2a 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -198,6 +198,9 @@ Release 2.8.0 - UNRELEASED YARN-3266. RMContext#inactiveNodes should have NodeId as map key. (Chengbing Liu via jianhe) + YARN-3436. Fix URIs in documantion of YARN web service REST APIs. + (Bibin A Chundatt via ozawa) + Release 2.7.1 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/05007b45/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WebServicesIntro.md ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WebServicesIntro.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WebServicesIntro.md index 0e89a50..0a396d3 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WebServicesIntro.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WebServicesIntro.md @@ -97,7 +97,7 @@ After calling an HTTP request, an application should check the response status c #### JSON response with single resource -HTTP Request: GET http://rmhost.domain:8088/ws/v1/cluster/app/application\_1324057493980\_0001 +HTTP Request: GET http://rmhost.domain:8088/ws/v1/cluster/apps/application\_1324057493980\_0001 Response Status Line: HTTP/1.1 200 OK @@ -137,7 +137,7 @@ Response Body: Here we request information about an application that doesn't exist yet. -HTTP Request: GET http://rmhost.domain:8088/ws/v1/cluster/app/application\_1324057493980\_9999 +HTTP Request: GET http://rmhost.domain:8088/ws/v1/cluster/apps/application\_1324057493980\_9999 Response Status Line: HTTP/1.1 404 Not Found @@ -566,4 +566,4 @@ Output: "queue" : "a1" } } -``` \ No newline at end of file +```