未验证 提交 71c1a31e 编写于 作者: X xiangzihao 提交者: GitHub

[Feature-9566][Docs] Missing shell script application_id listening logic (#9778)

上级 341e220b
......@@ -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.
\ No newline at end of file
......@@ -45,4 +45,4 @@ Shell 任务类型,用于创建 Shell 类型的任务并执行一系列的 She
## 注意事项
\ No newline at end of file
Shell 任务类型通过解析任务日志是否包含 ```application_xxx_xxx``` 的内容来判断是否 Yarn 任务,如果是则会将相应的 ```application_id``` 的状态作为当前 Shell 节点的运行状态判断,此时如果操作停止工作流则会 Kill 相应的 ```application_id```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册