You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by GitBox <gi...@apache.org> on 2019/12/30 07:54:05 UTC

[GitHub] [submarine] liuxunorg commented on a change in pull request #134: SUBMARINE-322. Add yarn runtime examples in installation guide.

liuxunorg 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_r361918743
 
 

 ##########
 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:
   SUBMARINE_VERSION=0.3.0-SNAPSHOT ??

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org