Re: Flink savepoint(checkpoint) recovery dev debug

2019-11-08 Thread Congxian Qiu
Hi You can ref CheckpointMetadataLoadingTest#testLoadAndValidateSavepoint for more information. Even more, you can ref the line 136-line145 [1], and init a CompletedCheckpointStorageLocation to make it work. [1] https://github.com/apache/flink/blob/d788c6ff024fbe8a699e987d3df6a00160d22a06/flink-r

Re: Flink savepoint(checkpoint) recovery dev debug

2019-11-06 Thread Yun Tang
Hi The entrance of restoring savepoint is CheckpointCoordinator#restoreSavepoint [1], hope this could help you. [1] https://github.com/apache/flink/blob/9b43f13a50848382fbd634081b82509f464e62ca/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java#L1173 Be

Flink savepoint(checkpoint) recovery dev debug

2019-11-06 Thread qq
Hi all. I want to simulation the shell command which “flink -s savepoint” , this command only can run with shell command, I want to debug it on dev, local development environment, anyone could help me ? Thanks very much. I only can use Savepoint.load to read the savepoint metadata and data.