Repository: hadoop
Updated Branches:
  refs/heads/trunk 9d6befb29 -> f64501fcd


YARN-8196.  Updated documentation for enabling YARN Service REST API.
            Contributed by Billie Rinaldi


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f64501fc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f64501fc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f64501fc

Branch: refs/heads/trunk
Commit: f64501fcdc9dfa2e9848db0fb4749c6bd4a54d7f
Parents: 9d6befb
Author: Eric Yang <[email protected]>
Authored: Tue Apr 24 19:11:21 2018 -0400
Committer: Eric Yang <[email protected]>
Committed: Tue Apr 24 19:11:21 2018 -0400

----------------------------------------------------------------------
 .../site/markdown/yarn-service/QuickStart.md    | 30 +++++++++-----------
 1 file changed, 14 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f64501fc/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/QuickStart.md
----------------------------------------------------------------------
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/QuickStart.md
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/QuickStart.md
index f563193..e91380c 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/QuickStart.md
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/QuickStart.md
@@ -18,10 +18,21 @@ This document describes how to deploy services on YARN 
using the YARN Service fr
 
 <!-- MACRO{toc|fromDepth=0|toDepth=3} -->
 
-## Start HDFS and YARN components
+## Configure and start HDFS and YARN components
 
- Start all the hadoop components HDFS, YARN as usual.
+Start all the hadoop components for HDFS and YARN as usual.
+To enable the YARN Service framework, add this property to `yarn-site.xml` and 
restart the ResourceManager or set the property before the ResourceManager is 
started.
+This property is required for using the YARN Service framework through the CLI 
or the REST API.
 
+```
+  <property>
+    <description>
+      Enable services rest api on ResourceManager.
+    </description>
+    <name>yarn.webapp.api-service.enable</name>
+    <value>true</value>
+  </property>
+```
 
 ## Example service 
 Below is a simple service definition that launches sleep containers on YARN by 
writing a simple spec file and without writing any code.
@@ -104,20 +115,7 @@ yarn app -destroy ${SERVICE_NAME}
 
 ## Manage services on YARN via REST API
 
-YARN API Server REST API can be activated as part of the ResourceManager.
-
-### Start Embedded API-Server as part of ResourceManager
-For running inside ResourceManager, add this property to `yarn-site.xml` and 
restart ResourceManager.
-
-```
-  <property>
-    <description>
-      Enable services rest api on ResourceManager.
-    </description>
-    <name>yarn.webapp.api-service.enable</name>
-    <value>true</value>
-  </property>
-```
+The YARN API Server REST API is activated as part of the ResourceManager when 
`yarn.webapp.api-service.enable` is set to true.
 
 Services can be deployed on YARN through the ResourceManager web endpoint.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to