EricJoy2048 commented on code in PR #5007: URL: https://github.com/apache/seatunnel/pull/5007#discussion_r1259392309
########## seatunnel-engine/seatunnel-engine-client/src/main/java/org/apache/seatunnel/engine/client/job/ClientJobProxy.java: ########## @@ -93,21 +89,12 @@ private void submitJob(JobImmutableInformation jobImmutableInformation) { @Override public JobStatus waitForJobComplete() { try { - jobResult = - RetryUtils.retryWithException( - () -> { - PassiveCompletableFuture<JobResult> jobFuture = - doWaitForJobComplete(); - return jobFuture.get(); - }, - new RetryUtils.RetryMaterial( - 100000, - true, - exception -> - ExceptionUtil.isOperationNeedRetryException(exception), - Constant.OPERATION_RETRY_SLEEP)); + PassiveCompletableFuture<JobResult> jobFuture = doWaitForJobComplete(); + jobResult = jobFuture.get(); if (jobResult == null) { - throw new SeaTunnelEngineException("failed to fetch job result"); + LOGGER.severe( + "Unable to obtain the status of the job, it may have been running during the last cluster shutdown."); Review Comment: If the job can not get from running job and history job. It mean the job is running when the cluster crash. So we can not get it from the history job. -- 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-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org