summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordoufenghu <[email protected]>2024-06-20 21:54:10 +0800
committerdoufenghu <[email protected]>2024-06-20 21:54:10 +0800
commit445f9f129ad07e04a3e087a93793d6ce5a47f341 (patch)
tree7e8fc7e67782a90f84eaa4f3abca070ddb160561 /README.md
parent687f56833e01f1ba6b2e66ab5d7c53847fbfd6c4 (diff)
[Fix][docs] Fix some bootstrap errors
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 58a064e..ab6d074 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@ FLINK_JOB_MANAGER_ADDRESS=${FLINK_JOB_MANAGER_ADDRESS:-localhost:8081}
YARN_ADDRESS=${YARN_ADDRESS:-yarn-cluster}
```
#### 3. Configure the groot-stream job
-You need to configure the groot-stream job in `config/template/grootstream_job_template.yaml` file. More information about config please check [config concept](docs/user-guide.md)
+You need to configure the groot-stream job in `config/grootstream_job_example.yaml` file. More information about config please check [config concept](docs/user-guide.md)
#### 4. Submit a job to flink engine
Can be started by a daemon with `-d`.
@@ -89,7 +89,7 @@ Can be started by a daemon with `-d`.
2. Open the `Run/Debug Configurations` window.
3. Choose -cp `groot-bootstrap`
4. Choose Main Class `com.geedgenetworks.bootstrap.main.GrootStreamServer`.
-5. Add VM options `--target local -c /...../groot-stream/config/inline_to_print_template.yaml`.
+5. Add VM options `--target local -c /...../groot-stream/config/grootstream_job_example.yaml`.
6. Click the `Run` button.
#### Running the CLI
@@ -100,13 +100,16 @@ cd "groot-stream-${version}"
```
- Run the following command to start the groot-stream server for Yarn Session Mode:
```shell
+# First create a yarn session cluster
+yarn-session.sh -d
+# Then start the groot-stream server for Yarn Session Mode.
cd "groot-stream-${version}"
./bin/start.sh -c ./config/grootstream_job_example.yaml --target yarn-session -Dyarn.application.id=application_XXXX_YY -n inline-to-print-job -d
```
- Run the following command to start the groot-stream server for Yarn Per-job Mode:
```shell
cd "groot-stream-${version}"
-./bin/start.sh -c ./config/grootstream_job_example.yaml --target yarn-per-job -Dyarn.application.name="inline-to-print-job" -n inline-to-print-job -d
+./bin/start.sh -c ./config/grootstream_job_example.yaml --target yarn-per-job -Dyarn.application.name="inline-to-print-job" Djobmanager.memory.process.size=1024m -Dtaskmanager.memory.process.size=2048m -Dtaskmanager.numberOfTaskSlots=3 -p 6 -n inline-to-print-job -d
```
### Configuring
@@ -118,4 +121,3 @@ See the [Groot Stream Documentation](docs) for more information.
## Contributors
All developers see the list of contributors [here](https://git.mesalab.cn/galaxy/platform/groot-stream/-/graphs/develop?ref_type=heads).
-