This is an automated email from the ASF dual-hosted git repository.
liuxun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new 09d4826 SUBMARINE-346. Refine the mini-submarine document
09d4826 is described below
commit 09d4826fb6c761d04a634f206a581b248a7c4acc
Author: pingsutw <[email protected]>
AuthorDate: Sat Jan 18 13:19:50 2020 +0800
SUBMARINE-346. Refine the mini-submarine document
### What is this PR for?
Refine the mini-submarine document
### What type of PR is it?
[Documentation]
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-346
### How should this be tested?
https://travis-ci.org/pingsutw/hadoop-submarine/builds/638738650
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: pingsutw <[email protected]>
Closes #155 from pingsutw/SUBMARINE-346 and squashes the following commits:
bc4b4c6 [pingsutw] SUBMARINE-346. Refine the mini-submarine document
---
dev-support/mini-submarine/README.md | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-support/mini-submarine/README.md
b/dev-support/mini-submarine/README.md
index 41abc3e..a067bed 100644
--- a/dev-support/mini-submarine/README.md
+++ b/dev-support/mini-submarine/README.md
@@ -121,14 +121,19 @@ The URL returned by the command (like to:
http://localhost:32819) is opened thro
su yarn
```
+### Navigate to submarine example directory
+```
+cd /home/yarn/submarine/
+```
+
### Run a mnist TF job with submarine + TonY runtime
```
-/home/yarn/submarine/run_submarine_mnist_tony.sh
+./run_submarine_mnist_tony.sh
```
When run_submarine_mnist_tony.sh is executed, mnist data is download from the
url, [google mnist](https://storage.googleapis.com/cvdf-datasets/mnist/), by
default. If the url is unaccessible, you can use parameter "-d" to specify a
customized url.
For example, if you are in mainland China, you can use the following command
```
-/home/yarn/submarine/run_submarine_mnist_tony.sh -d
http://yann.lecun.com/exdb/mnist/
+./run_submarine_mnist_tony.sh -d http://yann.lecun.com/exdb/mnist/
```
### Run a mnist TF job via submarine server
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]