Browse Source

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

3.0.0/version-upgrade
xiangzihao 2 years ago committed by GitHub
parent
commit
71c1a31e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      docs/docs/en/guide/task/shell.md
  2. 2
      docs/docs/zh/guide/task/shell.md

5
docs/docs/en/guide/task/shell.md

@ -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.

2
docs/docs/zh/guide/task/shell.md

@ -45,4 +45,4 @@ Shell 任务类型,用于创建 Shell 类型的任务并执行一系列的 She
## 注意事项
Shell 任务类型通过解析任务日志是否包含 ```application_xxx_xxx``` 的内容来判断是否 Yarn 任务,如果是则会将相应的 ```application_id``` 的状态作为当前 Shell 节点的运行状态判断,此时如果操作停止工作流则会 Kill 相应的 ```application_id```
Loading…
Cancel
Save