Hi Does this chapter is outdated with Flink 1.11 ? https://ci.apache.org/projects/flink/flink-docs-release-1.12/ops/state/savepoints.html#can-i-move-the-savepoint-files-on-stable-storage Can I move the Savepoint files on stable storage? The quick answer to this question is currently “no” because the meta data file references the files on stable storage as absolute paths for technical reasons. The longer answer is: if you MUST move the files for some reason there are two potential approaches as workaround. First, simpler but potentially more dangerous, you can use an editor to find the old path in the meta data file and replace them with the new path. Second, you can use the class SavepointV2Serializer as starting point to programmatically read, manipulate, and rewrite the meta data file with the new paths. Thanks Farouk |
You are correct in thinking that the documentation wasn't updated. If you look at the master docs [1] you will see that they now say
If you want more detail than the quick answer, see [2]. Best, David On Tue, Mar 2, 2021 at 10:33 AM Farouk <[hidden email]> wrote:
|
Out of curiosity, does it mean that savepoint created by flink 1.11 cannot be recovered by a job running with flink 1.10 or older versions (so downgrade is impossible)? Le mar. 2 mars 2021 à 12:25, David Anderson <[hidden email]> a écrit :
|
> Out of curiosity, does it mean that savepoint created by flink 1.11 cannot be recovered by a job running with flink 1.10 or older versions (so downgrade is impossible)? On Tue, Mar 2, 2021 at 4:39 PM XU Qinghui <[hidden email]> wrote:
|
Thanks a million :) Le mer. 3 mars 2021 à 11:15, David Anderson <[hidden email]> a écrit :
|
Free forum by Nabble | Edit this page |