Browse Source

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

Rohith Sharma K S 7 years ago
parent
commit
87bdde6943

+ 2 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md

@@ -4366,7 +4366,7 @@ HTTP Request:
 
 ```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
         {
         "timeout":
@@ -4404,7 +4404,7 @@ HTTP Request:
 
 ```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
         <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
         <timeout>