This is an automated email from the ASF dual-hosted git repository.

dailai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 34ceb9e28b [Fix][Zeta] Fix job client print error msg even job 
finished (#7981)
34ceb9e28b is described below

commit 34ceb9e28b265313132945a57c42fb192875f20f
Author: Jia Fan <[email protected]>
AuthorDate: Thu Nov 7 17:27:17 2024 +0800

    [Fix][Zeta] Fix job client print error msg even job finished (#7981)
---
 .../java/org/apache/seatunnel/engine/client/job/JobStatusRunner.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/seatunnel-engine/seatunnel-engine-client/src/main/java/org/apache/seatunnel/engine/client/job/JobStatusRunner.java
 
b/seatunnel-engine/seatunnel-engine-client/src/main/java/org/apache/seatunnel/engine/client/job/JobStatusRunner.java
index 6c3ba6fcf4..bed11b5dd7 100644
--- 
a/seatunnel-engine/seatunnel-engine-client/src/main/java/org/apache/seatunnel/engine/client/job/JobStatusRunner.java
+++ 
b/seatunnel-engine/seatunnel-engine-client/src/main/java/org/apache/seatunnel/engine/client/job/JobStatusRunner.java
@@ -41,8 +41,9 @@ public class JobStatusRunner implements Runnable {
             while (isPrint(jobClient.getJobStatus(jobId))) {
                 Thread.sleep(5000);
             }
+        } catch (InterruptedException ignore) {
         } catch (Exception e) {
-            log.error("Failed to get job runner status. {}", 
ExceptionUtils.getMessage(e));
+            log.info("Failed to get job runner status. {}", 
ExceptionUtils.getMessage(e));
         }
     }
 

Reply via email to