You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Xuzhengz (via GitHub)" <gi...@apache.org> on 2023/08/18 08:50:02 UTC

[GitHub] [seatunnel] Xuzhengz opened a new issue, #5333: [Bug] [checkpoint] checkpoint timeout value without effect

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

   ### 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
   
   原因:cdc读取100万的表报错,提示在seatunnel.yaml增加checkpoint超时时长,但是设置后不生效,集群已重启
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   {
     "env": {
       "execution.parallelism": "10",
       "job.mode": "STREAMING",
       "checkpoint.interval": "7000"
     },
     "source": [
       {
         "base-url": "jdbc:mysql://172.16.11.131:3306/test1mysql?remarks=true&useInformationSchema=true&useCursorFetch=true&defaultFetchSize=2048",
         "password": "******",
         "startup.mode": "INITIAL",
         "table-names": [
           "test1mysql.mysql_cdc_demo_source"
         ],
         "result_table_name": "mysql_cdc_demo_source",
         "database-names": [
           "test1mysql"
         ],
         "plugin_name": "MySQL-CDC",
         "connect.max-retries": 3,
         "connect.timeout.ms": 3000,
         "username": "mysql"
       }
     ],
     "transform": [],
     "sink": [
       {
         "password": "******",
         "database": "test1mysql",
         "batch_size": 5000,
         "primary_keys": [
           "pk"
         ],
         "driver": "com.mysql.cj.jdbc.Driver",
         "source_table_name": "mysql_cdc_demo_source",
         "plugin_name": "jdbc",
         "generate_sink_sql": true,
         "enable_upsert": true,
         "user": "mysql",
         "url": "jdbc:mysql://172.16.11.131:3306/test1mysql?remarks=true&useInformationSchema=true&useCursorFetch=true&defaultFetchSize=2048",
         "table": "mysql_cdc_demo_sink",
         "batch_interval_ms": 1000
       }
     ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/seatunnel.sh -c job.json
   ```
   
   
   ### Error Exception
   
   ```log
   Checkpoint expired before completing. Please increase checkpoint timeout in the seatunnel.yaml
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   ![f95eaa4601626dc518b087becd799b2](https://github.com/apache/seatunnel/assets/90698333/a795fcde-f16d-4ca2-9dfa-a80a61654c2c)
   
   
   ### Are you willing to submit PR?
   
   - [X] 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] [checkpoint] checkpoint timeout value without effect [seatunnel]

Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-1867280530

   Is this problem solved?


-- 
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] [checkpoint] checkpoint timeout value without effect [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-3071525887

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


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


[GitHub] [seatunnel] 1151674616 commented on issue #5333: [Bug] [checkpoint] checkpoint timeout value without effect

Posted by "1151674616 (via GitHub)" <gi...@apache.org>.
1151674616 commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-1717333435

   > 遇到相同的问题,目前把 checkpoint 配置去掉可临时解决。请问这个 bug 下个 release 会修复吗?
   
   请问你是咋去掉的,我2.3.3版本去掉依旧是报错: Please increase checkpoint timeout in the seatunnel.yaml


-- 
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] [checkpoint] checkpoint timeout value without effect [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-1763218613

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


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


[GitHub] [seatunnel] davidzollo commented on issue #5333: [Bug] [checkpoint] checkpoint timeout value without effect

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-1694958766

   looking forward to your PR


-- 
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] [checkpoint] checkpoint timeout value without effect [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-3105249083

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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] [checkpoint] checkpoint timeout value without effect [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #5333: [Bug] [checkpoint] checkpoint timeout value without effect
URL: https://github.com/apache/seatunnel/issues/5333


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


[GitHub] [seatunnel] pppeace commented on issue #5333: [Bug] [checkpoint] checkpoint timeout value without effect

Posted by "pppeace (via GitHub)" <gi...@apache.org>.
pppeace commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-1717292228

   遇到相同的问题,目前把 checkpoint 配置去掉可临时解决。请问这个 bug 下个 release 会修复吗?


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


[GitHub] [seatunnel] pppeace commented on issue #5333: [Bug] [checkpoint] checkpoint timeout value without effect

Posted by "pppeace (via GitHub)" <gi...@apache.org>.
pppeace commented on issue #5333:
URL: https://github.com/apache/seatunnel/issues/5333#issuecomment-1718812752

   > > 遇到相同的问题,目前把 checkpoint 配置去掉可临时解决。请问这个 bug 下个 release 会修复吗?
   > 
   > 请问你是咋去掉的,我2.3.3版本去掉依旧是报错: Please increase checkpoint timeout in the seatunnel.yaml
   
   config/seatunnel.yaml 供参考(直接删除了 checkpoint 相关配置):
   seatunnel:
     engine:
       history-job-expire-minutes: 1440
       backup-count: 1
       queue-type: blockingqueue
       print-execution-info-interval: 60
       print-job-metrics-info-interval: 60
       slot-service:
         dynamic-slot: true


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