diff --git a/docs/docs/en/guide/task/shell.md b/docs/docs/en/guide/task/shell.md index a026d2f2a1..5f6a6411f5 100644 --- a/docs/docs/en/guide/task/shell.md +++ b/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. \ No newline at end of file diff --git a/docs/docs/zh/guide/task/shell.md b/docs/docs/zh/guide/task/shell.md index dd896c5bc8..a656c098e7 100644 --- a/docs/docs/zh/guide/task/shell.md +++ b/docs/docs/zh/guide/task/shell.md @@ -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