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


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/CoordinatorService.java:
##########
@@ -181,12 +193,18 @@ private void restoreJobFromMasterActiveSwitch(@NonNull 
Long jobId, @NonNull Runn
             throw new SeaTunnelEngineException(String.format("Job id %s init 
JobMaster failed", jobId));
         }
 
+        String jobFullName = jobMaster.getPhysicalPlan().getJobFullName();
         if (jobStatus.isEndState()) {
+            logger.info(String.format(
+                "The restore %s is in an end state %s, store the job info to 
JobHistory and clear the job running time info",
+                jobFullName, jobStatus));

Review Comment:
   as above
   
   update other log message format



##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/CoordinatorService.java:
##########
@@ -181,12 +193,18 @@ private void restoreJobFromMasterActiveSwitch(@NonNull 
Long jobId, @NonNull Runn
             throw new SeaTunnelEngineException(String.format("Job id %s init 
JobMaster failed", jobId));
         }
 
+        String jobFullName = jobMaster.getPhysicalPlan().getJobFullName();
         if (jobStatus.isEndState()) {
+            logger.info(String.format(
+                "The restore %s is in an end state %s, store the job info to 
JobHistory and clear the job running time info",
+                jobFullName, jobStatus));

Review Comment:
   as above
   
   update other log message style



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