ic4y commented on code in PR #2562:
URL: 
https://github.com/apache/incubator-seatunnel/pull/2562#discussion_r958189350


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/TaskExecutionService.java:
##########
@@ -177,20 +180,40 @@ public PassiveCompletableFuture<TaskExecutionState> 
deployLocalTask(
             submitThreadShareTask(executionTracker, byCooperation.get(true));
             submitBlockingTask(executionTracker, byCooperation.get(false));
             taskGroup.setTasksContext(taskExecutionContextMap);
-            executionContexts.put(taskGroup.getTaskGroupInfo(), new 
TaskGroupContext(taskGroup));
-            cancellationFutures.put(taskGroup.getTaskGroupInfo(), 
cancellationFuture);
+            executionContexts.put(taskGroup.getTaskGroupLocation(), new 
TaskGroupContext(taskGroup));
+            cancellationFutures.put(taskGroup.getTaskGroupLocation(), 
cancellationFuture);
         } catch (Throwable t) {
             logger.severe(ExceptionUtils.getMessage(t));
             resultFuture.completeExceptionally(t);
         }
+        resultFuture.whenComplete((r, s) -> {
+            InvocationFuture<Object> invoke = null;
+            long sleepTime = 1000;

Review Comment:
   At present, RetryUtils cannot be used in this place. It should be judged by 
conditions to retry, rather than throwing exceptions.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to