YARN-7937. Fix http method name in Cluster Application Timeout Update API example request. Contributed by Charan Hebri.

This commit is contained in:
Rohith Sharma K S 2018-02-18 14:01:23 +05:30
parent 9af30d46c6
commit 87bdde6943

View File

@ -4366,7 +4366,7 @@ HTTP Request:
```json ```json
Accept: application/json Accept: application/json
GET http://rm-http-address:port/ws/v1/cluster/apps/{appid}/timeout PUT http://rm-http-address:port/ws/v1/cluster/apps/{appid}/timeout
Content-Type: application/json Content-Type: application/json
{ {
"timeout": "timeout":
@ -4404,7 +4404,7 @@ HTTP Request:
```xml ```xml
Accept: application/xml Accept: application/xml
GET http://rm-http-address:port/ws/v1/cluster/apps/{appid}/timeout PUT http://rm-http-address:port/ws/v1/cluster/apps/{appid}/timeout
Content-Type: application/xml Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<timeout> <timeout>