You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/14 08:43:33 UTC

[GitHub] [incubator-seatunnel] EricJoy2048 commented on a diff in pull request #2724: [Engine] [Server] Add when the node offline make task failed

EricJoy2048 commented on code in PR #2724:
URL: https://github.com/apache/incubator-seatunnel/pull/2724#discussion_r970504929


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/SeaTunnelServer.java:
##########
@@ -242,6 +246,28 @@ public JobStatus getJobStatus(long jobId) {
         return runningJobMaster.getJobStatus();
     }
 
+    public void failedTaskOnMemberRemoved(MembershipServiceEvent event) {
+        Address lostAddress = event.getMember().getAddress();
+        runningJobMasterMap.forEach((aLong, jobMaster) -> {
+            jobMaster.getPhysicalPlan().getPipelineList().forEach(subPlan -> {
+                subPlan.getPhysicalVertexList().forEach(physicalVertex -> {

Review Comment:
   subPlan.getCoordinatorList need make failed too.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org