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/10/06 16:06:31 UTC

[GitHub] [incubator-seatunnel] hailin0 commented on a diff in pull request #3009: [Hotfix][ST-Engine] fix task operation retry timeout error

hailin0 commented on code in PR #3009:
URL: https://github.com/apache/incubator-seatunnel/pull/3009#discussion_r989235404


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/SeaTunnelServer.java:
##########
@@ -172,6 +175,21 @@ public TaskExecutionService getTaskExecutionService() {
         return taskExecutionService;
     }
 
+    /**
+     * return whether task is end
+     * @param taskGroupLocation taskGroupLocation
+     * @return
+     */
+    public boolean taskIsEnded(@NonNull TaskGroupLocation taskGroupLocation) {
+        IMap<Object, Object> runningJobState = nodeEngine.getHazelcastInstance().getMap("runningJobState");

Review Comment:
   Unified management of mmap keywords? Define constants or util methods



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