This is an automated email from the ASF dual-hosted git repository.
wonook pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nemo.git
The following commit(s) were added to refs/heads/master by this push:
new 3825443 [NEMO-319] Fix path to beam resources in examples in README
(#180)
3825443 is described below
commit 3825443562fb762e533770eebf37d186d23e3614
Author: Kenn Knowles <[email protected]>
AuthorDate: Fri Dec 14 02:23:21 2018 -0700
[NEMO-319] Fix path to beam resources in examples in README (#180)
JIRA: [NEMO-319] Fix path to beam resources in examples in README
(https://issues.apache.org/jira/projects/NEMO/issues/NEMO-319)
Files in examples/beam/resources were moved in #146 but the commands in the
README were not updated.
Closes #180
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 29becff..a70c15f 100644
--- a/README.md
+++ b/README.md
@@ -77,16 +77,16 @@ Please refer to the [Contribution
guideline](.github/CONTRIBUTING.md) to contrib
## MapReduce example
./bin/run_beam.sh \
-job_id mr_default \
- -executor_json
`pwd`/examples/resources/beam_test_executor_resources.json \
+ -executor_json
`pwd`/examples/resources/executors/beam_test_executor_resources.json \
-optimization_policy
org.apache.nemo.compiler.optimizer.policy.DefaultPolicy \
-user_main org.apache.nemo.examples.beam.WordCount \
- -user_args "`pwd`/examples/resources/test_input_wordcount
`pwd`/examples/resources/test_output_wordcount"
+ -user_args "`pwd`/examples/resources/inputs/test_input_wordcount
`pwd`/outputs/wordcount"
## YARN cluster example
./bin/run_beam.sh \
-deploy_mode yarn \
-job_id mr_transient \
- -executor_json
`pwd`/examples/resources/beam_test_executor_resources.json \
+ -executor_json
`pwd`/examples/resources/executors/beam_test_executor_resources.json \
-user_main org.apache.nemo.examples.beam.WordCount \
-optimization_policy
org.apache.nemo.compiler.optimizer.policy.TransientResourcePolicy \
-user_args "hdfs://v-m:9000/test_input_wordcount
hdfs://v-m:9000/test_output_wordcount"
@@ -133,11 +133,11 @@ Nemo Compiler and Engine can store JSON representation of
intermediate DAGs.
```bash
./bin/run_beam.sh \
-job_id als \
- -executor_json
`pwd`/examples/resources/beam_test_executor_resources.json \
+ -executor_json
`pwd`/examples/resources/executors/beam_test_executor_resources.json \
-user_main org.apache.nemo.examples.beam.AlternatingLeastSquare \
-optimization_policy
org.apache.nemo.compiler.optimizer.policy.TransientResourcePolicy \
-dag_dir "./dag/als" \
- -user_args "`pwd`/examples/resources/test_input_als 10 3"
+ -user_args "`pwd`/examples/resources/inputs/test_input_als 10 3"
```
## Speeding up builds