mirror of https://github.com/alibaba/DataX.git
Merge a27844a84b into 60ea07b730
This commit is contained in:
commit
6344fb6450
|
|
@ -187,8 +187,15 @@ public class TaskGroupContainer extends AbstractContainer {
|
|||
}
|
||||
}
|
||||
|
||||
// 2.发现该taskGroup下taskExecutor的总状态失败则汇报错误
|
||||
// 2.发现该taskGroup下taskExecutor的总状态失败则汇报错误,同时关闭失败的taskExecutor
|
||||
if (failedOrKilled) {
|
||||
|
||||
taskFailedExecutorMap.forEach((taskId, taskExecutor) -> {
|
||||
if (!taskExecutor.isShutdown()) {
|
||||
taskExecutor.shutdown();
|
||||
}
|
||||
});
|
||||
|
||||
lastTaskGroupContainerCommunication = reportTaskGroupCommunication(
|
||||
lastTaskGroupContainerCommunication, taskCountInThisTaskGroup);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue