File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ title: Shell
33sidebar_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进入"开发目录"菜单,点击"新建任务"按钮,并填写新建任务弹出框中的配置项,配置项说明:
8131 . 任务名称:需输入英文字母、数字、下划线组成,不超过 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 )
You can’t perform that action at this time.
0 commit comments