YARN-3436. Fix URIs in documantion of YARN web service REST APIs. Contributed by Bibin A Chundatt.

(cherry picked from commit 05007b45e58bd9052f503cfb8c17bcfd22a686e3)
This commit is contained in:
Tsuyoshi Ozawa 2015-04-14 14:13:55 -05:00
parent 9ebbf1bfce
commit 3daca4f040
2 changed files with 6 additions and 3 deletions

View File

@ -150,6 +150,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

View File

@ -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"
}
}
```
```