Hi

You can create a test class, add a test method in the test class, and add
your logic in the test method. you can ref to
CheckpointMetadataLoadingTest#testLoadAndValidateSavepoint.


Best,
Congxian


qq <471237...@qq.com> 于2019年11月8日周五 下午2:41写道:

> Hi all,
>
>    Thanks very much. I wants to debug checkpoint with code. Below is my
> code. Anyway I am sorry I doesn’t understand UT class.
>
>
>
> 在 2019年11月7日,12:03,Congxian Qiu <qcx978132...@gmail.com> 写道:
>
> Hi,
> If you just want to debug, maybe you can do this in UT class in module
> flink-runtime :) so that you do not need to handle the dependency problem,
> and access problem.
>
> Best,
> Congxian
>
>
> Jark Wu <imj...@gmail.com> 于2019年11月6日周三 下午3:39写道:
>
> Btw, user questions should be asked in user@f.a.o or user-zh@f.a.o. The
> dev
> ML is mainly used to discuss development.
>
> Best,
> Jark
>
> On Wed, 6 Nov 2019 at 15:36, Jark Wu <imj...@gmail.com> wrote:
>
> Hi,
>
> Savepoint.load(env, path) is in state processor API library, you should
> add the following dependency in your project.
>
> <dependency>
>  <groupId>org.apache.flink</groupId>
>  <artifactId>flink-state-processor-api_2.11</artifactId>
>  <version>1.9.1</version>
> </dependency>
>
>
> You can see the docuementation for more detailed instructions [1].
>
> Best,
> Jark
>
> [1]:
>
>
> https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/libs/state_processor_api.html
>
>
> On Wed, 6 Nov 2019 at 09:21, qq <471237...@qq.com> wrote:
>
> Hi all,
>   I want to load checkpoint or savepoint metadata on dev . in this case
> , I want to debug saved checkpoint metadata. And I knew flink provided a
> api which is Savepoint.load(env, path), but I can’t find it and can’t
>
> use
>
> it. Anyone who know about this ? Could you help me ? Thanks very much;
>
>
>
>
>
>

Reply via email to