Skip to content

Commit f50d8b3

Browse files
authored
[feat_script_doc][website] add script standalone doc (#1048)
1 parent 9f581e1 commit f50d8b3

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

website/docs/functions/task/shell.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ title: Shell
33
sidebar_label: Shell
44
---
55

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+
611
## 新建任务
712
进入"开发目录"菜单,点击"新建任务"按钮,并填写新建任务弹出框中的配置项,配置项说明:
813
1. 任务名称:需输入英文字母、数字、下划线组成,不超过 64 个字符
@@ -21,8 +26,7 @@ echo 'Hello World!'
2126
点击右上角运行按钮,运行任务
2227
## 查看结果
2328
任务下方日志中将打印运行状态,并给出运行日志,方便排查问题。
24-
![add-source](/img/readme/shell-log.png)
25-
26-
:::caution
27-
Shell 任务依赖控制台 Script 组件,运行 Shell 任务前请确保对应组件配置正确
28-
:::
29+
### on yarn
30+
![add-source](/img/readme/script_yarn.png)
31+
### standalone
32+
![add-source](/img/readme/script_standalone.png)
Loading
200 KB
Loading

0 commit comments

Comments
 (0)