You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Abdullah bin Omar <ab...@gmail.com> on 2021/03/22 03:25:04 UTC

Read the metadata files (got from savepoints)

Hi,

(My work is to see the state. So, I have got the save points metadata file
where the state is saved)

*What is the way to read the metadata files that are saved from savepoints
in the local machine?* I guess the file is in binary.


Thank you

Regards,
Abdullah

Re: Read the metadata files (got from savepoints)

Posted by Matthias Pohl <ma...@ververica.com>.
Hi Abdullah,
you might also want to have a look at the State Processor API [1].

Best,
Matthias

[1]
https://ci.apache.org/projects/flink/flink-docs-stable/dev/libs/state_processor_api.html

On Mon, Mar 22, 2021 at 6:28 AM Congxian Qiu <qc...@gmail.com> wrote:

> Hi
>    Maybe you can reach to this test[1] for reference
>
> [1]
> https://github.com/apache/flink/blob/a33e6bd390a9935c3e25b6913bed0ff6b4a78818/flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointMetadataLoadingTest.java#L55
> Best,
> Congxian
>
>
> Abdullah bin Omar <ab...@gmail.com> 于2021年3月22日周一 上午11:25写道:
>
>> Hi,
>>
>> (My work is to see the state. So, I have got the save points
>> metadata file where the state is saved)
>>
>> *What is the way to read the metadata files that are saved from
>> savepoints in the local machine?* I guess the file is in binary.
>>
>>
>> Thank you
>>
>> Regards,
>> Abdullah
>>
>>

Re: Read the metadata files (got from savepoints)

Posted by Congxian Qiu <qc...@gmail.com>.
Hi
   Maybe you can reach to this test[1] for reference

[1]
https://github.com/apache/flink/blob/a33e6bd390a9935c3e25b6913bed0ff6b4a78818/flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointMetadataLoadingTest.java#L55
Best,
Congxian


Abdullah bin Omar <ab...@gmail.com> 于2021年3月22日周一 上午11:25写道:

> Hi,
>
> (My work is to see the state. So, I have got the save points metadata file
> where the state is saved)
>
> *What is the way to read the metadata files that are saved from savepoints
> in the local machine?* I guess the file is in binary.
>
>
> Thank you
>
> Regards,
> Abdullah
>
>