JsChen2Casiku opened a new issue, #9456:
URL: https://github.com/apache/seatunnel/issues/9456

   ### 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
   
   In Seatunnel's batch mode, the `checkpoint.interval` has been enabled. 
However, attempting to pause the job by executing the command 
`./bin/seatunnel.sh -s <jobId>` was unsuccessful. Upon inspection, there were 
no corresponding files in the checkpoint directory. The streaming mode operates 
normally.
   
   ### SeaTunnel Version
   
   2.3.10
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env": {
           "job.mode": "BATCH",
           "job.name": "测试资源005-500w-批量同步-250618-1109",
           "parallelism": 5,
           "checkpoint.interval": 300000,
           "checkpoint.timeout": 3600000,
           "job.retry.times": 3,
           "job.retry.interval.seconds": 3
       },
       "source": [
           {
               "plugin_name": "Jdbc",
               "plugin_input": "测试资源005-500w-批量同步-250618-1109",
               "url": "jdbc:postgresql://172.16.200.131:25432/xxx",
               "driver": "org.postgresql.Driver",
               "user": "postgres",
               "password": "xxxxx",
               "partition_column": "id",
               "fetch_size": 10000,
               "query": "select * from xxx.daos.user_data"
           }
       ],
       "sink": [
           {
               "db_type": "oceanbase",
               "plugin_name": "jdbc",
               "plugin_input": "测试资源005-500w-批量同步-250618-1109",
               "url": "jdbc:oceanbase://172.16.200.131:2881/sync",
               "driver": "com.oceanbase.jdbc.Driver",
               "user": "root@xxx",
               "password": "xxx",
               "database": "sync",
               "table": "user_data",
               "primary_keys": [
                   "id"
               ],
               "compatible_mode": "mysql",
               "batch_size": 10000,
               "generate_sink_sql": true
           }
       ]
   }
   ```
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh -s <jobId>
   ```
   
   ### Error Exception
   
   ```log
   job status is change,but data synchronization remains ongoing
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   17
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to