yuanzac commented on a change in pull request #134: SUBMARINE-322. Add yarn 
runtime examples in installation guide.
URL: https://github.com/apache/submarine/pull/134#discussion_r362139666
 
 

 ##########
 File path: docs/helper/RunningDistributedCifar10TFJobsWithYarnService.md
 ##########
 @@ -55,13 +55,22 @@ Refer to [Write Dockerfile](WriteDockerfileTF.md) to build 
a Docker image or use
 
 ## Run Tensorflow jobs
 
+Set submarine.runtime.class to YarnServiceRuntimeFactory in submarine-site.xml.
+```
+<property>
+    <name>submarine.runtime.class</name>
+    
<value>org.apache.submarine.server.submitter.yarnservice.YarnServiceRuntimeFactory</value>
+    <description>RuntimeFactory for Submarine jobs</description>
+  </property>
+```
+The file, named submarine-site.xml, is in the path of ${SUBMARINE_HOME}/conf.
+
 ### Run standalone training
 
 ```
-SUBMARINE_VERSION=0.2.0
-CLASSPATH=`path-to/hadoop classpath 
--glob`:path-to/hadoop-submarine-core-${SUBMARINE_VERSION}.jar:
-path-to/hadoop-submarine-yarnservice-runtime-${SUBMARINE_VERSION}.jar:path-to/hadoop-submarine-tony-
-runtime-${SUBMARINE_VERSION}.jar \
+SUBMARINE_VERSION=0.3.0
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to