Re: How to resume a job from checkpoint with the SQL gateway.

2023-07-18 Thread Xiaolong Wang
Thank you for the information. That solution works for me ! On Tue, Jul 18, 2023 at 3:00 PM Shammon FY wrote: > Hi Xiaolong, > > For new versions such as flink-1.17, flink sql-gateway supports job > management and user can stop/start jobs with savepoint. You can start a job > with a given savep

Re: How to resume a job from checkpoint with the SQL gateway.

2023-07-18 Thread Shammon FY
Hi Xiaolong, For new versions such as flink-1.17, flink sql-gateway supports job management and user can stop/start jobs with savepoint. You can start a job with a given savepoint path as [1] and stop a job with or without savepoint as [2]. [1] https://nightlies.apache.org/flink/flink-docs-master

Re: How to resume a job from checkpoint with the SQL gateway.

2023-07-16 Thread Shammon FY
Hi Xiaolong, When a streaming job is submitted via Sql-Gateway, its lifecycle is no longer related to Sql Gateway. Returning to the issue of job recovery, I think if your job cluster is configured with HA, jobmanager will recover running streaming jobs from their checkpoints after a failover occu

How to resume a job from checkpoint with the SQL gateway.

2023-07-12 Thread Xiaolong Wang
Hi, I'm currently working on providing a SQL gateway to submit both streaming and batch queries. My question is, if a streaming SQL is submitted and then the jobmanager crashes, is it possible to resume the streaming SQL from the latest checkpoint with the SQL gateway ?