liugddx commented on code in PR #6492:
URL: https://github.com/apache/seatunnel/pull/6492#discussion_r1521100561


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/rest/RestHttpPostCommandProcessor.java:
##########
@@ -124,7 +124,7 @@ private void handleSubmitJob(HttpPostCommand 
httpPostCommand, String uri)
 
         boolean startWithSavePoint =
                 
Boolean.parseBoolean(requestParams.get(RestConstant.IS_START_WITH_SAVE_POINT));
-        SeaTunnelServer seaTunnelServer = getSeaTunnelServer();
+        SeaTunnelServer seaTunnelServer = getSeaTunnelServer(false);
         RestJobExecutionEnvironment restJobExecutionEnvironment =
                 new RestJobExecutionEnvironment(
                         seaTunnelServer,

Review Comment:
   > 
https://github.com/apache/seatunnel/blob/387e23b6492dc6ddc346fcf4a73889fcf9c1bc24/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/rest/RestHttpPostCommandProcessor.java#L127-L147
   > 
   > If that's the case, it will never enter
   > 
   > 140 rows
   > 
   > If (seaTunnelServer==null){
   > 
   > This branch caused an error when submitting tasks
   
   try again. 



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