Skip to content

Commit d394f20

Browse files
committed
quickStart 添加四种模式命令
1 parent 28085f5 commit d394f20

File tree

1 file changed

+35
-13
lines changed

1 file changed

+35
-13
lines changed

docs/quickStart.md

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,27 @@ mvn clean package -Dmaven.test.skip
4646
#### 1.4.1 启动命令
4747

4848
```shell script
49-
# 脚本启动
49+
# local模式命令
50+
sh submit.sh
51+
-mode local
52+
-name local_test
53+
-sql F:\dtstack\stressTest\flinkStreamSql\stressTest.sql
54+
-localSqlPluginPath F:\dtstack\project\flinkStreamSQL\plugins
55+
56+
#standalone模式命令
57+
sh submit.sh
58+
-mode standalone
59+
-sql F:\dtstack\flinkStreamSql\tiezhu\twodimjoin.sql
60+
-name wtz_standalone_flinkStreamSql
61+
-localSqlPluginPath F:\dtstack\project\flinkStreamSQL\plugins
62+
-remoteSqlPluginPath /home/admin/dtstack/flinkStreamSQL/plugins
63+
-flinkconf F:\dtstack\flinkStreamSql\localhost\flinkConf
64+
-yarnconf F:\dtstack\flinkStreamSql\localhost\hadoop
65+
-flinkJarPath F:\Java\flink-1.8.2-bin-scala_2.12\flink-1.8.2\lib
66+
-pluginLoadMode shipfile
67+
-confProp {\"time.characteristic\":\"eventTime\",\"logLevel\":\"info\"}
68+
69+
# yarn模式命令
5070
sh submit.sh
5171
-mode yarn
5272
-name flink1.10_yarnSession
@@ -57,20 +77,22 @@ sh submit.sh
5777
-yarnconf F:\dtstack\flinkStreamSql\yarnConf_node1
5878
-flinkJarPath F:\dtstack\flink\flink-1.10.0\lib
5979
-pluginLoadMode shipfile
60-
-confProp {\"time.characteristic\":\"eventTime\",\"logLevel\":\"info\"}
6180
-yarnSessionConf {\"yid\":\"application_1586851105774_0014\"}
6281

63-
# mode: 任务启动的模式
64-
# name: 本次任务名称
65-
# sql: 本次任务执行sql脚本
66-
# localSqPluginPath: 本地插件包根目录地址
67-
# remoteSqlPluginPath: flink执行集群上的插件根目录地址
68-
# flinkconf: flink配置文件所在目录(local模式下不需要)
69-
# yarnconf: Hadoop配置文件(包括hdfs和yarn)所在目录
70-
# flinkJarPath: yarnPer模式提交需要指定本地的flink jar存放路径
71-
# pluginLoadMode:yarnPer模式下的插件包加载方式
72-
# confProp: 其他额外参数配置
73-
# yarnSessionConf: yarnSession模式下指定的运行参数,目前只支持指定yid
82+
# yarnPer模式命令
83+
sh submit.sh
84+
-mode yarnPer
85+
-sql /home/wen/Desktop/flink_stream_sql_conf/sql/Test01.sql
86+
-name TestAll
87+
-localSqlPluginPath /home/wen/IdeaProjects/flinkStreamSQL/plugins
88+
-remoteSqlPluginPath /home/wen/IdeaProjects/flinkStreamSQL/plugins
89+
-flinkconf /home/wen/Desktop/flink_stream_sql_conf/flinkConf
90+
-yarnconf /home/wen/Desktop/flink_stream_sql_conf/yarnConf_node1
91+
-flinkJarPath /home/wen/Desktop/dtstack/flink-1.8.1/lib
92+
-pluginLoadMode shipfile
93+
-confProp {\"time.characteristic\":\"eventTime\",\"logLevel\":\"info\"}
94+
-queue c
95+
7496
```
7597
参数具体细节请看[命令参数说明](./config.md)
7698

0 commit comments

Comments
 (0)