From 87bdde69431c19a22d79a767071f6ea47e1ceb3d Mon Sep 17 00:00:00 2001 From: Rohith Sharma K S Date: Sun, 18 Feb 2018 14:01:23 +0530 Subject: [PATCH] YARN-7937. Fix http method name in Cluster Application Timeout Update API example request. Contributed by Charan Hebri. --- .../hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 09e472717c..c43fe14b19 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 @@ -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