You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "329109444 (via GitHub)" <gi...@apache.org> on 2026/04/15 02:43:42 UTC
[I] [Bug] [Zeta] the ClientJobProxy.waitForJobCompleteV2()method returns immediately with a non-final job status instead of waiting for the job to complete [seatunnel]
329109444 opened a new issue, #10765:
URL: https://github.com/apache/seatunnel/issues/10765
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
When submitting a job in BATCH mode, the ClientJobProxy.waitForJobCompleteV2()method intermittently returns immediately with a non-final job status (SCHEDULED or RUNNING) instead of waiting for the job to complete. This is a sporadic issue that occurs unpredictably, preventing clients from properly synchronizing with job completion. In most cases, the method works correctly and returns FINISHED status, but occasionally it returns early.
### SeaTunnel Version
SeaTunnel version: 2.3.12 (Zeta engine)
### SeaTunnel Config
```conf
{
"env" : {
"parallelism" : 1,
"job.mode" : "BATCH"
},
"source" : [
{
"plugin_name" : "Jdbc",
"url" : "jdbc:oracle:thin:@0.0.0.0:1521/XXX",
"driver" : "oracle.jdbc.OracleDriver",
"username" : "******",
"password" : "******",
"query" : "select MSGID,ALARM_OCC_TIME,CREATE_TIME,ALARM_SYSTEM,ALARM_SUBSYSTEM,ALARM_LEVEL,ALARM_TITLE,ALARM_DESCRIPTION,ALARM_CONTENT,TOUSER,SEND_FLAG,SEND_TIME,SEND_LOG,SENDINGCOUNTS,EVENTNAME,TOGROUP from ITMUSER.ALARM4WX union all select MSGID,ALARM_OCC_TIME,CREATE_TIME,ALARM_SYSTEM,ALARM_SUBSYSTEM,ALARM_LEVEL,ALARM_TITLE,ALARM_DESCRIPTION,ALARM_CONTENT,TOUSER,SEND_FLAG,SEND_TIME,SEND_LOG,SENDINGCOUNTS,EVENTNAME,TOGROUP from ITMUSER.ALARM4WXHISTORY where CREATE_TIME > to_date('2026-04-15 09:26:00','yyyy-mm-dd hh24:mi:ss')"
}
],
"transform" : [],
"sink" : [
{
"plugin_name" : "Jdbc",
"url" : "jdbc:mysql://0.0.0.0:3306/XXX?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true",
"driver" : "com.mysql.cj.jdbc.Driver",
"username" : "******",
"password" : "******",
"database" : "mon",
"table" : "ODS_ALARM4WXHISTORY",
"primary_keys" : [
"MSGID"
],
"generate_sink_sql" : true
}
]
}
```
### Running Command
```shell
I integrated SeaTunnel in my SpringBoot4 project
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>seatunnel-common</artifactId>
<version>${seatunnel.version}</version>
</dependency>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>seatunnel-starter</artifactId>
<version>${seatunnel.version}</version>
</dependency>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>seatunnel-transforms-v2</artifactId>
<version>${seatunnel.version}</version>
</dependency>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>connector-jdbc</artifactId>
<version>${seatunnel.version}</version>
</dependency>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>connector-doris</artifactId>
<version>${seatunnel.version}</version>
</dependency>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>connector-redis</artifactId>
<version>${seatunnel.version}</version>
</dependency>
ClientJobExecutionEnvironment jobExecutionEnv = this.seaTunnelClient.createExecutionContext(file.getAbsolutePath(), variables, jobConfig, seaTunnelConfig, jobId);
ClientJobProxy proxy = jobExecutionEnv.execute();
JobResult jobResult = proxy.waitForJobCompleteV2();
```
### Error Exception
```log
2026-04-15 09:32:00.027 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.seatunnel.core.starter.utils.ConfigBuilder - Loading config file from path: /tmp/temp_file_dir_8896491904892826021/SeaTunnelJob.json
2026-04-15 09:32:00.029 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.seatunnel.core.starter.utils.ConfigBuilder - Parsed config file:
{
"env" : {
"parallelism" : 1,
"job.mode" : "BATCH"
},
"source" : [
{
"plugin_name" : "Jdbc",
"url" : "jdbc:oracle:thin:@0.0.0.0:1521/XXX",
"driver" : "oracle.jdbc.OracleDriver",
"username" : "******",
"password" : "******",
"query" : "select MSGID,ALARM_OCC_TIME,CREATE_TIME,ALARM_SYSTEM,ALARM_SUBSYSTEM,ALARM_LEVEL,ALARM_TITLE,ALARM_DESCRIPTION,ALARM_CONTENT,TOUSER,SEND_FLAG,SEND_TIME,SEND_LOG,SENDINGCOUNTS,EVENTNAME,TOGROUP from ITMUSER.ALARM4WX union all select MSGID,ALARM_OCC_TIME,CREATE_TIME,ALARM_SYSTEM,ALARM_SUBSYSTEM,ALARM_LEVEL,ALARM_TITLE,ALARM_DESCRIPTION,ALARM_CONTENT,TOUSER,SEND_FLAG,SEND_TIME,SEND_LOG,SENDINGCOUNTS,EVENTNAME,TOGROUP from ITMUSER.ALARM4WXHISTORY where CREATE_TIME > to_date('2026-04-15 09:26:00','yyyy-mm-dd hh24:mi:ss')"
}
],
"transform" : [],
"sink" : [
{
"plugin_name" : "Jdbc",
"url" : "jdbc:mysql://0.0.0.0:3306/XXX?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true",
"driver" : "com.mysql.cj.jdbc.Driver",
"username" : "******",
"password" : "******",
"database" : "mon",
"table" : "ODS_ALARM4WXHISTORY",
"primary_keys" : [
"MSGID"
],
"generate_sink_sql" : true
}
]
}
2026-04-15 09:32:00.029 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.e.core.parse.MultipleTableJobConfigParser - add common jar in plugins :[]
2026-04-15 09:32:00.029 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /opt/local/etl/nested:/opt/local/etl/etl.jar/!BOOT-INF/classes/connectors
2026-04-15 09:32:00.030 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: []
2026-04-15 09:32:00.030 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /opt/local/etl/nested:/opt/local/etl/etl.jar/!BOOT-INF/classes/connectors
2026-04-15 09:32:00.030 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /opt/local/etl/nested:/opt/local/etl/etl.jar/!BOOT-INF/classes/connectors
2026-04-15 09:32:00.030 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='sink', pluginName='Jdbc'}: []
2026-04-15 09:32:00.030 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.e.core.parse.MultipleTableJobConfigParser - start generating all sources.
2026-04-15 09:32:00.037 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.c.seatunnel.jdbc.utils.JdbcCatalogUtils - Loading catalog tables for catalog : class org.apache.seatunnel.connectors.seatunnel.jdbc.catalog.oracle.OracleCatalog
2026-04-15 09:32:00.095 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.c.seatunnel.jdbc.catalog.AbstractJdbcCatalog - Catalog Oracle established connection to jdbc:oracle:thin:@10.50.10.101:1521/ITMDW
2026-04-15 09:32:00.104 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.c.seatunnel.jdbc.utils.JdbcCatalogUtils - Loaded 1 catalog tables for catalog : class org.apache.seatunnel.connectors.seatunnel.jdbc.catalog.oracle.OracleCatalog
2026-04-15 09:32:00.106 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.c.seatunnel.jdbc.catalog.AbstractJdbcCatalog - Catalog Oracle closing
2026-04-15 09:32:00.107 INFO 90301 --- [scheduler-VirtualThread-7201] o.apache.seatunnel.api.table.factory.FactoryUtil - get the CatalogTable from source Jdbc: jdbc_catalog.default.default.default
2026-04-15 09:32:00.107 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSource Plugin from /opt/local/etl/nested:/opt/local/etl/etl.jar/!BOOT-INF/classes/connectors
2026-04-15 09:32:00.107 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: []
2026-04-15 09:32:00.107 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.e.core.parse.MultipleTableJobConfigParser - start generating all transforms.
2026-04-15 09:32:00.107 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.e.core.parse.MultipleTableJobConfigParser - start generating all sinks.
2026-04-15 09:32:00.107 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - Load SeaTunnelSink Plugin from /opt/local/etl/nested:/opt/local/etl/etl.jar/!BOOT-INF/classes/connectors
2026-04-15 09:32:00.107 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.s.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='sink', pluginName='Jdbc'}: []
2026-04-15 09:32:00.113 INFO 90301 --- [scheduler-VirtualThread-7201] o.apache.seatunnel.api.table.factory.FactoryUtil - Create sink 'Jdbc' with upstream input catalog-table[database: default, schema: default, table: default]
2026-04-15 09:32:00.115 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.seatunnel.engine.client.job.ClientJobProxy - Start submit job, job id: 6719, with plugin jar []
2026-04-15 09:32:00.117 INFO 90301 --- [seatunnel-coordinator-service-3] o.apache.seatunnel.engine.server.master.JobMaster - in batch mode, the 'checkpoint.interval' configuration of env is missing, so checkpoint will be disabled
2026-04-15 09:32:00.117 INFO 90301 --- [seatunnel-coordinator-service-3] o.apache.seatunnel.engine.server.master.JobMaster - Init JobMaster for Job 系统监控告警同步 (6719)
2026-04-15 09:32:00.117 INFO 90301 --- [seatunnel-coordinator-service-3] o.apache.seatunnel.engine.server.master.JobMaster - Job 系统监控告警同步 (6719) needed jar urls []
2026-04-15 09:32:00.130 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.c.seatunnel.jdbc.catalog.AbstractJdbcCatalog - Catalog MySQL established connection to jdbc:mysql://10.50.10.163:3306/etl?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
2026-04-15 09:32:00.130 INFO 90301 --- [seatunnel-coordinator-service-3] o.apache.seatunnel.api.sink.SaveModeExecuteWrapper - Executing save mode for table: mon.ODS_ALARM4WXHISTORY, with SchemaSaveMode: CREATE_SCHEMA_WHEN_NOT_EXIST, DataSaveMode: APPEND_DATA using Catalog: MySQL
2026-04-15 09:32:00.144 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.c.seatunnel.jdbc.catalog.AbstractJdbcCatalog - Catalog MySQL closing
2026-04-15 09:32:00.147 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.e.server.checkpoint.CheckpointCoordinator - Create CheckpointCoordinator for job(1@6719) with plan(CheckpointPlan(pipelineId=1, pipelineSubtasks=[TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}, taskID=1000200000000, index=0}, TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}, taskID=1000200010000, index=0}, TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}, taskID=1000100000000, index=0}], startingSubtasks=[TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}, taskID=1000100000000, index=0}], pipelineActions={ActionStateKey(name=ActionStateKey - pipeline-1 [Source[0]-Jdbc])=1, ActionStateKey(name=ActionStateKey - pipeline-1 [Sink[0]-Jdbc-MultiTableSink])=1}, subtaskActions={TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=
1, taskGroupId=2}, taskID=1000200000000, index=0}=[(ActionStateKey(name=ActionStateKey - pipeline-1 [Source[0]-Jdbc]), 0)], TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}, taskID=1000200010000, index=0}=[(ActionStateKey(name=ActionStateKey - pipeline-1 [Sink[0]-Jdbc-MultiTableSink]), 0)], TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}, taskID=1000100000000, index=0}=[(ActionStateKey(name=ActionStateKey - pipeline-1 [Source[0]-Jdbc]), -1)]}))
2026-04-15 09:32:00.147 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - The task Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] is in state CREATED when init state future
2026-04-15 09:32:00.147 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - The task Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] is in state CREATED when init state future
2026-04-15 09:32:00.148 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.seatunnel.engine.client.job.ClientJobProxy - Submit job finished, job id: 6719, job name: 系统监控告警同步
2026-04-15 09:32:00.148 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719) turned from state CREATED to PENDING.
2026-04-15 09:32:00.148 WARN 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719) state process is stopped
2026-04-15 09:32:00.148 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.CoordinatorService - [172.18.0.1]:5801 [seatunnel] [5.1] The submit job enter the pending queue , jobId: 6719 , jobName: 系统监控告警同步
2026-04-15 09:32:00.148 INFO 90301 --- [pending-job-schedule-runner] o.a.seatunnel.engine.server.CoordinatorService - [172.18.0.1]:5801 [seatunnel] [5.1] Resources enough, start running: 6719
2026-04-15 09:32:00.148 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.CoordinatorService - [172.18.0.1]:5801 [seatunnel] [5.1] The SUBMIT Job 系统监控告警同步 (6719) is in PENDING state, restore pipeline and take over this job running
2026-04-15 09:32:00.148 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719) state process is start
2026-04-15 09:32:00.148 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719) turned from state PENDING to SCHEDULED.
2026-04-15 09:32:00.149 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] state process is start
2026-04-15 09:32:00.149 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] turned from state CREATED to SCHEDULED.
2026-04-15 09:32:00.149 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.dag.physical.SubPlan - Resource allocation for pipeline Job 系统监控告警同步 (6719), Pipeline: [(1/1)] completed. Task execution locations:
2026-04-15 09:32:00.149 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.dag.physical.SubPlan - Task [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] will be executed on worker [[172.18.0.1]:5801], slotID [2058], resourceProfile [ResourceProfile{cpu=CPU{core=0}, heapMemory=Memory{bytes=0}}], sequence [060e9baf-8593-4735-9656-480711b6166f], assigned [6719]
2026-04-15 09:32:00.149 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.dag.physical.SubPlan - Task [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] will be executed on worker [[172.18.0.1]:5801], slotID [2057], resourceProfile [ResourceProfile{cpu=CPU{core=0}, heapMemory=Memory{bytes=0}}], sequence [060e9baf-8593-4735-9656-480711b6166f], assigned [6719]
2026-04-15 09:32:00.150 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] turned from state SCHEDULED to DEPLOYING.
2026-04-15 09:32:00.150 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] state process is start
2026-04-15 09:32:00.150 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] turned from state CREATED to DEPLOYING.
2026-04-15 09:32:00.150 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] received deploying task executionId [1096607580581134337]
2026-04-15 09:32:00.151 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] deploying task TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}, executionId [1096607580581134337]
2026-04-15 09:32:00.151 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] deploying TaskGroup TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1} init success
2026-04-15 09:32:00.151 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] deploying TaskGroup TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1} success
2026-04-15 09:32:00.152 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.engine.server.task.SourceSplitEnumeratorTask - starting seatunnel source split enumerator task, source name: pipeline-1 [Source[0]-Jdbc]
2026-04-15 09:32:00.152 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] turned from state DEPLOYING to RUNNING.
2026-04-15 09:32:00.152 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] current state equals target state: RUNNING, skip
2026-04-15 09:32:00.152 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] state process is start
2026-04-15 09:32:00.152 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] turned from state CREATED to DEPLOYING.
2026-04-15 09:32:00.152 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.s.c.seatunnel.jdbc.source.ChunkSplitter - Switch to dynamic chunk splitter
2026-04-15 09:32:00.153 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] received deploying task executionId [1096607580581199873]
2026-04-15 09:32:00.154 INFO 90301 --- [hz.main.generic-operation.thread-54] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received event EnumeratorOpenEvent(createdTime=1776216720153, jobId=6719, eventType=LIFECYCLE_ENUMERATOR_OPEN)
2026-04-15 09:32:00.154 INFO 90301 --- [hz.main.generic-operation.thread-54] o.apache.seatunnel.api.event.LoggingEventHandler - log event: EnumeratorOpenEvent(createdTime=1776216720153, jobId=6719, eventType=LIFECYCLE_ENUMERATOR_OPEN)
2026-04-15 09:32:00.155 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] deploying task TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}, executionId [1096607580581199873]
2026-04-15 09:32:00.155 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] deploying TaskGroup TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2} init success
2026-04-15 09:32:00.155 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] deploying TaskGroup TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2} success
2026-04-15 09:32:00.155 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.s.engine.server.task.TransformSeaTunnelTask - starting seatunnel transform task, index 0
2026-04-15 09:32:00.155 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] turned from state DEPLOYING to RUNNING.
2026-04-15 09:32:00.156 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] current state equals target state: RUNNING, skip
2026-04-15 09:32:00.156 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] turned from state DEPLOYING to RUNNING.
2026-04-15 09:32:00.156 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.s.c.seatunnel.jdbc.source.ChunkSplitter - Switch to dynamic chunk splitter
2026-04-15 09:32:00.156 INFO 90301 --- [seatunnel-coordinator-service-3] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719) turned from state SCHEDULED to RUNNING.
2026-04-15 09:32:00.157 INFO 90301 --- [scheduler-VirtualThread-7201] o.a.seatunnel.engine.client.job.ClientJobProxy - Job (6719) end with state SCHEDULED
2026-04-15 09:32:00.157 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.s.engine.server.task.SourceSeaTunnelTask - starting seatunnel source task, index 0
2026-04-15 09:32:00.174 INFO 90301 --- [hz.main.seaTunnel.task.thread-18] o.a.s.c.seatunnel.jdbc.catalog.AbstractJdbcCatalog - Catalog MySQL established connection to jdbc:mysql://10.50.10.163:3306/etl?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
2026-04-15 09:32:00.197 INFO 90301 --- [hz.main.seaTunnel.task.thread-18] o.a.s.c.seatunnel.jdbc.catalog.AbstractJdbcCatalog - Catalog MySQL closing
2026-04-15 09:32:00.197 INFO 90301 --- [hz.main.seaTunnel.task.thread-18] o.a.s.api.sink.multitablesink.MultiTableSinkWriter - init multi table sink writer, queue size: 1
2026-04-15 09:32:00.258 INFO 90301 --- [hz.main.generic-operation.thread-56] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received event ReaderOpenEvent(createdTime=1776216720258, jobId=6719, eventType=LIFECYCLE_READER_OPEN)
2026-04-15 09:32:00.258 INFO 90301 --- [hz.main.seaTunnel.task.thread-18] o.a.s.engine.server.task.SourceSplitEnumeratorTask - received reader register, readerID: TaskLocation{taskGroupLocation=TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}, taskID=1000200000000, index=0}
2026-04-15 09:32:00.258 INFO 90301 --- [hz.main.generic-operation.thread-56] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received reader open event ReaderOpenEvent(createdTime=1776216720258, jobId=6719, eventType=LIFECYCLE_READER_OPEN)
2026-04-15 09:32:00.258 INFO 90301 --- [hz.main.seaTunnel.task.thread-18] o.a.s.c.s.jdbc.source.JdbcSourceSplitEnumerator - Register reader 0 to JdbcSourceSplitEnumerator.
2026-04-15 09:32:00.258 INFO 90301 --- [hz.main.generic-operation.thread-56] o.apache.seatunnel.api.event.LoggingEventHandler - log event: ReaderOpenEvent(createdTime=1776216720258, jobId=6719, eventType=LIFECYCLE_READER_OPEN)
2026-04-15 09:32:00.353 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.s.e.server.checkpoint.CheckpointCoordinator - checkpoint is disabled, because in batch mode and 'checkpoint.interval' of env is missing.
2026-04-15 09:32:00.452 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.engine.server.task.SourceSplitEnumeratorTask - received enough reader, starting enumerator...
2026-04-15 09:32:00.452 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.c.s.jdbc.source.JdbcSourceSplitEnumerator - Starting split enumerator.
2026-04-15 09:32:00.452 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.c.s.jdbc.source.JdbcSourceSplitEnumerator - Splitting table default.default.default.
2026-04-15 09:32:00.452 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.c.seatunnel.jdbc.source.ChunkSplitter - Start splitting table default.default.default into chunks...
2026-04-15 09:32:00.452 WARN 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.c.seatunnel.jdbc.source.ChunkSplitter - No split key found for table default.default.default
2026-04-15 09:32:00.452 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.c.seatunnel.jdbc.source.ChunkSplitter - Split table default.default.default into 1 chunks, time cost: 0ms.
2026-04-15 09:32:00.452 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.c.s.jdbc.source.JdbcSourceSplitEnumerator - Split table default.default.default into 1 splits.
2026-04-15 09:32:00.453 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.s.c.s.jdbc.source.JdbcSourceSplitEnumerator - No more splits to assign. Sending NoMoreSplitsEvent to reader [0].
2026-04-15 09:32:01.691 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.s.c.seatunnel.jdbc.source.JdbcSourceReader - Closed the bounded jdbc source
2026-04-15 09:32:01.755 INFO 90301 --- [hz.main.generic-operation.thread-72] o.a.s.e.server.checkpoint.CheckpointCoordinator - skip schedule trigger checkpoint because checkpoint type is COMPLETED_POINT_TYPE
2026-04-15 09:32:01.755 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.s.e.server.checkpoint.CheckpointCoordinator - wait checkpoint completed: 9223372036854775807
2026-04-15 09:32:01.757 WARN 90301 --- [st-multi-table-sink-writer-1] o.a.seatunnel.shade.com.zaxxer.hikari.HikariConfig - HikariPool-1029 - idleTimeout has been set but has no effect because the pool is operating as a fixed size pool.
2026-04-15 09:32:01.757 INFO 90301 --- [st-multi-table-sink-writer-1] o.a.s.shade.com.zaxxer.hikari.HikariDataSource - HikariPool-1029 - Starting...
2026-04-15 09:32:01.773 INFO 90301 --- [st-multi-table-sink-writer-1] o.a.s.shade.com.zaxxer.hikari.HikariDataSource - HikariPool-1029 - Start completed.
2026-04-15 09:32:01.773 INFO 90301 --- [st-multi-table-sink-writer-1] o.a.s.c.s.j.i.executor.FieldNamedPreparedStatement - PrepareStatement sql is:
INSERT INTO `mon`.`ODS_ALARM4WXHISTORY` (`MSGID`, `ALARM_OCC_TIME`, `CREATE_TIME`, `ALARM_SYSTEM`, `ALARM_SUBSYSTEM`, `ALARM_LEVEL`, `ALARM_TITLE`, `ALARM_DESCRIPTION`, `ALARM_CONTENT`, `TOUSER`, `SEND_FLAG`, `SEND_TIME`, `SEND_LOG`, `SENDINGCOUNTS`, `EVENTNAME`, `TOGROUP`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE `MSGID`=VALUES(`MSGID`), `ALARM_OCC_TIME`=VALUES(`ALARM_OCC_TIME`), `CREATE_TIME`=VALUES(`CREATE_TIME`), `ALARM_SYSTEM`=VALUES(`ALARM_SYSTEM`), `ALARM_SUBSYSTEM`=VALUES(`ALARM_SUBSYSTEM`), `ALARM_LEVEL`=VALUES(`ALARM_LEVEL`), `ALARM_TITLE`=VALUES(`ALARM_TITLE`), `ALARM_DESCRIPTION`=VALUES(`ALARM_DESCRIPTION`), `ALARM_CONTENT`=VALUES(`ALARM_CONTENT`), `TOUSER`=VALUES(`TOUSER`), `SEND_FLAG`=VALUES(`SEND_FLAG`), `SEND_TIME`=VALUES(`SEND_TIME`), `SEND_LOG`=VALUES(`SEND_LOG`), `SENDINGCOUNTS`=VALUES(`SENDINGCOUNTS`), `EVENTNAME`=VALUES(`EVENTNAME`), `TOGROUP`=VALUES(`TOGROUP`)
2026-04-15 09:32:01.773 INFO 90301 --- [st-multi-table-sink-writer-1] o.a.s.c.s.j.i.executor.FieldNamedPreparedStatement - PrepareStatement sql is:
DELETE FROM `mon`.`ODS_ALARM4WXHISTORY` WHERE `MSGID` = ?
2026-04-15 09:32:01.774 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.s.e.server.checkpoint.CheckpointCoordinator - pending checkpoint(9223372036854775807/1@6719) notify finished!
2026-04-15 09:32:01.774 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.s.e.server.checkpoint.CheckpointCoordinator - start notify checkpoint completed, job id: 6719, pipeline id: 1, checkpoint id:9223372036854775807
2026-04-15 09:32:01.775 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.s.e.server.checkpoint.CheckpointCoordinator - start clean pending checkpoint cause CheckpointCoordinator completed.
2026-04-15 09:32:01.775 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.s.e.server.checkpoint.CheckpointCoordinator - Turn checkpoint_state_6719_1 state from null to FINISHED
2026-04-15 09:32:01.792 INFO 90301 --- [hz.main.generic-operation.thread-74] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received event ReaderCloseEvent(createdTime=1776216721792, jobId=6719, eventType=LIFECYCLE_READER_CLOSE)
2026-04-15 09:32:01.792 INFO 90301 --- [hz.main.generic-operation.thread-74] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received reader close event ReaderCloseEvent(createdTime=1776216721792, jobId=6719, eventType=LIFECYCLE_READER_CLOSE)
2026-04-15 09:32:01.792 INFO 90301 --- [hz.main.generic-operation.thread-74] o.apache.seatunnel.api.event.LoggingEventHandler - log event: ReaderCloseEvent(createdTime=1776216721792, jobId=6719, eventType=LIFECYCLE_READER_CLOSE)
2026-04-15 09:32:01.798 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] taskDone, taskId = 1000200000000, taskGroup = TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}
2026-04-15 09:32:01.855 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] taskDone, taskId = 1000100000000, taskGroup = TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}
2026-04-15 09:32:01.855 INFO 90301 --- [hz.main.generic-operation.thread-83] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received event EnumeratorCloseEvent(createdTime=1776216721855, jobId=6719, eventType=LIFECYCLE_ENUMERATOR_CLOSE)
2026-04-15 09:32:01.855 INFO 90301 --- [hz.main.generic-operation.thread-83] o.apache.seatunnel.api.event.LoggingEventHandler - log event: EnumeratorCloseEvent(createdTime=1776216721855, jobId=6719, eventType=LIFECYCLE_ENUMERATOR_CLOSE)
2026-04-15 09:32:01.855 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] taskGroup TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1} complete with FINISHED
2026-04-15 09:32:01.855 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] Task TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1} complete with state FINISHED
2026-04-15 09:32:01.855 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.seatunnel.engine.server.CoordinatorService - [172.18.0.1]:5801 [seatunnel] [5.1] Received task end from execution TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}, state FINISHED
2026-04-15 09:32:01.856 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] turned from state RUNNING to FINISHED.
2026-04-15 09:32:01.856 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] state process is stopped
2026-04-15 09:32:01.856 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SplitEnumerator (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=1}] future complete with state FINISHED
2026-04-15 09:32:01.874 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.s.c.s.jdbc.sink.JdbcMultiTableResourceManager - start close connection poolHikariPool-1029
2026-04-15 09:32:01.874 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.s.shade.com.zaxxer.hikari.HikariDataSource - HikariPool-1029 - Shutdown initiated...
2026-04-15 09:32:01.875 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.s.shade.com.zaxxer.hikari.HikariDataSource - HikariPool-1029 - Shutdown completed.
2026-04-15 09:32:01.875 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] taskDone, taskId = 1000200010000, taskGroup = TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}
2026-04-15 09:32:01.875 INFO 90301 --- [hz.main.generic-operation.thread-88] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received event WriterCloseEvent(createdTime=1776216721875, jobId=6719, eventType=LIFECYCLE_WRITER_CLOSE)
2026-04-15 09:32:01.875 INFO 90301 --- [hz.main.generic-operation.thread-88] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received writer close event WriterCloseEvent(createdTime=1776216721875, jobId=6719, eventType=LIFECYCLE_WRITER_CLOSE)
2026-04-15 09:32:01.875 INFO 90301 --- [hz.main.generic-operation.thread-88] o.apache.seatunnel.api.event.LoggingEventHandler - log event: WriterCloseEvent(createdTime=1776216721875, jobId=6719, eventType=LIFECYCLE_WRITER_CLOSE)
2026-04-15 09:32:01.877 INFO 90301 --- [BlockingWorker-TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] taskGroup TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2} complete with FINISHED
2026-04-15 09:32:01.877 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.seatunnel.engine.server.TaskExecutionService - [172.18.0.1]:5801 [seatunnel] [5.1] Task TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2} complete with state FINISHED
2026-04-15 09:32:01.877 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.seatunnel.engine.server.CoordinatorService - [172.18.0.1]:5801 [seatunnel] [5.1] Received task end from execution TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}, state FINISHED
2026-04-15 09:32:01.877 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] turned from state RUNNING to FINISHED.
2026-04-15 09:32:01.877 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.a.s.engine.server.dag.physical.PhysicalVertex - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] state process is stopped
2026-04-15 09:32:01.877 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job (6719), Pipeline: [(1/1)], task: [pipeline-1 [Source[0]-Jdbc]-SourceTask (1/1)], taskGroupLocation: [TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}] future complete with state FINISHED
2026-04-15 09:32:01.877 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] will end with state FINISHED
2026-04-15 09:32:01.877 INFO 90301 --- [hz.main.seaTunnel.task.thread-20] o.apache.seatunnel.engine.server.master.JobMaster - release the task group resource TaskGroupLocation{jobId=6719, pipelineId=1, taskGroupId=2}
2026-04-15 09:32:01.878 INFO 90301 --- [hz.main.generic-operation.thread-89] o.a.s.e.server.service.slot.DefaultSlotService - received slot release request, jobID: 6719, slot: SlotProfile{worker=[172.18.0.1]:5801, slotID=2058, ownerJobID=6719, assigned=true, resourceProfile=ResourceProfile{cpu=CPU{core=0}, heapMemory=Memory{bytes=0}}, sequence='060e9baf-8593-4735-9656-480711b6166f'}
2026-04-15 09:32:01.878 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] turned from state RUNNING to FINISHED.
2026-04-15 09:32:01.896 INFO 90301 --- [seatunnel-coordinator-service-8] o.apache.seatunnel.engine.server.master.JobMaster - release the pipeline Job 系统监控告警同步 (6719), Pipeline: [(1/1)] resource
2026-04-15 09:32:01.897 INFO 90301 --- [hz.main.generic-operation.thread-92] o.a.s.e.server.service.slot.DefaultSlotService - received slot release request, jobID: 6719, slot: SlotProfile{worker=[172.18.0.1]:5801, slotID=2057, ownerJobID=6719, assigned=true, resourceProfile=ResourceProfile{cpu=CPU{core=0}, heapMemory=Memory{bytes=0}}, sequence='060e9baf-8593-4735-9656-480711b6166f'}
2026-04-15 09:32:01.897 INFO 90301 --- [seatunnel-coordinator-service-8] o.a.seatunnel.engine.server.dag.physical.SubPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] state process is stop
2026-04-15 09:32:01.897 INFO 90301 --- [seatunnel-coordinator-service-9] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719), Pipeline: [(1/1)] future complete with state FINISHED
2026-04-15 09:32:01.898 INFO 90301 --- [seatunnel-coordinator-service-9] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719) turned from state RUNNING to FINISHED.
2026-04-15 09:32:01.898 INFO 90301 --- [seatunnel-coordinator-service-9] o.a.s.engine.server.dag.physical.PhysicalPlan - Job 系统监控告警同步 (6719) state process is stop
2026-04-15 09:32:01.900 INFO 90301 --- [seatunnel-coordinator-service-9] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received event JobStateEvent(jobId=6719, jobName=系统监控告警同步, jobStatus=FINISHED, createdTime=1776216721900)
2026-04-15 09:32:01.900 INFO 90301 --- [seatunnel-coordinator-service-9] c.cecchot.etl.core.seatunnel.SeaTunnelEventHandler - Received job state event JobStateEvent(jobId=6719, jobName=系统监控告警同步, jobStatus=FINISHED, createdTime=1776216721900)
2026-04-15 09:32:01.900 INFO 90301 --- [seatunnel-coordinator-service-9] o.apache.seatunnel.api.event.LoggingEventHandler - log event: JobStateEvent(jobId=6719, jobName=系统监控告警同步, jobStatus=FINISHED, createdTime=1776216721900)
```
### Zeta or Flink or Spark Version
Zeta 2.3.12
### Java or Scala Version
JDK 25.0.2
### Screenshots
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Zeta] the ClientJobProxy.waitForJobCompleteV2()method returns immediately with a non-final job status instead of waiting for the job to complete [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10765:
URL: https://github.com/apache/seatunnel/issues/10765#issuecomment-4252929986
Thanks for the pointer.
I rechecked this against merged PR #9749 and the current `dev` code. You are right that this issue is aligned with that fix path: `CoordinatorService` now keeps pending jobs in `PendingJobInfo`, exposes them through `getJobMaster(jobId)`, and puts the `JobMaster` into `runningJobMasterMap` before removing it from the pending queue. That closes the earlier gap where `waitForJobComplete(jobId)` could fall back to history too early and return a non-final state immediately.
So for current `dev` / `2.3.13+`, this should be treated as fixed rather than still open. If anyone still reproduces the same symptom on `2.3.13` or newer, please reopen with the exact version / build and a minimal reproduction.
--
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
Re: [I] [Bug] [Zeta] the ClientJobProxy.waitForJobCompleteV2()method returns immediately with a non-final job status instead of waiting for the job to complete [seatunnel]
Posted by "dybyte (via GitHub)" <gi...@apache.org>.
dybyte commented on issue #10765:
URL: https://github.com/apache/seatunnel/issues/10765#issuecomment-4251397951
It seems to have been resolved by #9749 in 2.3.13.
--
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
Re: [I] [Bug] [Zeta] the ClientJobProxy.waitForJobCompleteV2()method returns immediately with a non-final job status instead of waiting for the job to complete [seatunnel]
Posted by "dybyte (via GitHub)" <gi...@apache.org>.
dybyte closed issue #10765: [Bug] [Zeta] the ClientJobProxy.waitForJobCompleteV2()method returns immediately with a non-final job status instead of waiting for the job to complete
URL: https://github.com/apache/seatunnel/issues/10765
--
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
Re: [I] [Bug] [Zeta] the ClientJobProxy.waitForJobCompleteV2()method returns immediately with a non-final job status instead of waiting for the job to complete [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10765:
URL: https://github.com/apache/seatunnel/issues/10765#issuecomment-4248891854
Thanks for the detailed report. I checked the current server path on `dev`, and this looks like a real bug rather than a JDBC-specific issue.
The problematic path is around `CoordinatorService.waitForJobComplete(jobId)`. `waitForJobCompleteV2()` is supposed to block on `JobMaster.getJobMasterCompleteFuture()`, but the current scheduling path can remove the running `JobMaster` from `runningJobMasterMap` too early. In `pendingJobSchedule()`, the cleanup guard for submit jobs only checks `!jobMaster.getJobMasterCompleteFuture().isCancelled()` before removing the entry. That condition is still true while the job is actively running, so a later `waitForJobComplete(jobId)` call can fall back to the history-state branch and return the current non-final state such as `SCHEDULED` or `RUNNING` immediately.
That also matches your log: the client prints `Job (6719) end with state SCHEDULED` while the server continues advancing the same job to `RUNNING` and then `FINISHED`.
As a temporary workaround, please poll `proxy.getJobStatus()` until it reaches an end state (`FINISHED` / `FAILED` / `CANCELED`) instead of relying on `waitForJobCompleteV2()` in this path.
This issue is worth keeping open for follow-up. I do not see this path fixed in the current `dev` branch yet.
--
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