You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ki...@apache.org on 2022/02/28 12:26:20 UTC

[incubator-seatunnel] branch dev updated: [Seatunnel#1352] Update the CN document to let it and the EN document be consistent (#1353)

This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 3227e1e  [Seatunnel#1352] Update the CN document to let it and the EN document be consistent (#1353)
3227e1e is described below

commit 3227e1e0894e1c57b1adf071e5a573bc3c2371aa
Author: Xiao Zhao <49...@users.noreply.github.com>
AuthorDate: Mon Feb 28 20:26:09 2022 +0800

    [Seatunnel#1352] Update the CN document to let it and the EN document be consistent (#1353)
    
    * [Seatunnel#1352] Update the CH document to let it and the EN document be consistent
    
    * [Seatunnel#1352] Update the CN document to let it and the EN document be consistent
---
 .../configuration/sink-plugins/Doris.md}           |  0
 .../spark/commands/start-seatunnel-spark.sh.md     | 43 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/docs/zh-CN/configuration/sink-plugins/Doris-Flink.md b/docs/zh-CN/flink/configuration/sink-plugins/Doris.md
similarity index 100%
rename from docs/zh-CN/configuration/sink-plugins/Doris-Flink.md
rename to docs/zh-CN/flink/configuration/sink-plugins/Doris.md
diff --git a/docs/zh-CN/spark/commands/start-seatunnel-spark.sh.md b/docs/zh-CN/spark/commands/start-seatunnel-spark.sh.md
new file mode 100644
index 0000000..13d9368
--- /dev/null
+++ b/docs/zh-CN/spark/commands/start-seatunnel-spark.sh.md
@@ -0,0 +1,43 @@
+# 命令使用说明
+
+> 命令使用说明 [Spark]
+
+## Seatunnel spark 启动命令
+
+```bash
+bin/start-seatunnel-spark.sh
+```
+
+### 使用说明
+
+```bash
+bin/start-seatunnel-spark.sh \
+-c config-path \
+-m master \
+-e deploy-mode \
+-i city=beijing
+```
+
+- 使用 `-c` or `--config` 指定配置文件的路径
+
+- 使用 `-m` or `--master` 指定集群管理器
+
+- 使用 `-e` or `--deploy-mode` 指定部署模式
+
+- 使用 `-i` or `--variable` 指定配置文件中使用的变量,可以使用多次
+
+#### 用例
+
+```bash
+# Yarn client mode
+./bin/start-seatunnel-spark.sh \
+--master yarn \
+--deploy-mode client \
+--config ./config/application.conf
+
+# Yarn cluster mode
+./bin/start-seatunnel-spark.sh \
+--master yarn \
+--deploy-mode cluster \
+--config ./config/application.conf
+```