We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f581e1 commit f50d8b3Copy full SHA for f50d8b3
website/docs/functions/task/shell.md
@@ -3,6 +3,11 @@ title: Shell
3
sidebar_label: Shell
4
---
5
6
+## 注意事项
7
+1. Shell 任务依赖控制台 Script 组件,运行 Shell 任务前请确保对应组件配置正确。Shell任务目前支持on yarn 或 standalone模式。on yarn 模式将任务运行在集群配置的Hadoop集群上。standalone模式将任务运行Taier部署的服务器本地。
8
+2. 控制台Script支持同时配置on yarn 和 standalone 模式
9
+3. Script任务的运行模式由任务环境参数中runMode值决定,而不是取决于控制台配置的yarn还是standalone组件
10
+
11
## 新建任务
12
进入"开发目录"菜单,点击"新建任务"按钮,并填写新建任务弹出框中的配置项,配置项说明:
13
1. 任务名称:需输入英文字母、数字、下划线组成,不超过 64 个字符
@@ -21,8 +26,7 @@ echo 'Hello World!'
21
26
点击右上角运行按钮,运行任务
22
27
## 查看结果
23
28
任务下方日志中将打印运行状态,并给出运行日志,方便排查问题。
24
-
25
-
-:::caution
-Shell 任务依赖控制台 Script 组件,运行 Shell 任务前请确保对应组件配置正确
-:::
29
+### on yarn
30
+
31
+### standalone
32
+
website/static/img/readme/script_standalone.png
135 KB
website/static/img/readme/script_yarn.png
200 KB
0 commit comments