mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 12:17:43 +08:00
[Feature-9566][Docs] Missing shell script application_id listening logic (#9778)
This commit is contained in:
parent
341e220bf0
commit
71c1a31e63
@ -41,3 +41,8 @@ we declare a custom parameter named "param_key", with the value "param_val". The
|
||||
After running this example, we would see "param_val" print in the log.
|
||||
|
||||
![demo-shell-custom-param](/img/tasks/demo/shell_custom_param.jpg)
|
||||
|
||||
## Attention
|
||||
The shell task type resolves whether the task log contains ```application_xxx_xxx``` to determine whether is the yarn task. If so, the corresponding application
|
||||
will be use to judge the running state of the current shell node. At this time, if stops the operation of the workflow, the corresponding ```application_id```
|
||||
will be killed.
|
@ -45,4 +45,4 @@ Shell 任务类型,用于创建 Shell 类型的任务并执行一系列的 She
|
||||
|
||||
## 注意事项
|
||||
|
||||
无
|
||||
Shell 任务类型通过解析任务日志是否包含 ```application_xxx_xxx``` 的内容来判断是否 Yarn 任务,如果是则会将相应的 ```application_id``` 的状态作为当前 Shell 节点的运行状态判断,此时如果操作停止工作流则会 Kill 相应的 ```application_id```
|
Loading…
Reference in New Issue
Block a user