Re: Retrieving name of last external checkpoint directory

2018-02-25 Thread Dawid Wysakowicz
Thx for your suggestions. In the end I’ve integrated altering flink-conf.yaml into job submission, which we do always via some custom ansible scripts. This way each job has its own directory for external checkpoints. Best, Dawid > On 20 Feb 2018, at 17:21, Chesnay Schepler wrote: > > There is

Re: Retrieving name of last external checkpoint directory

2018-02-20 Thread Chesnay Schepler
There is the "lastCheckpointExternalPath" metric that is scoped by job. You could access this via JMX. On 20.02.2018 17:17, Aljoscha Krettek wrote: Hi, I think there is currently no easy way of doin

Re: Retrieving name of last external checkpoint directory

2018-02-20 Thread Aljoscha Krettek
Hi, I think there is currently no easy way of doing this. Things that come to mind are: - looking at the JM log - polling the JM REST interface for completed externalised checkpoints The good news is that Flink 1.5 will rework how externalised checkpoints work a bit: basically, all checkpoint

Retrieving name of last external checkpoint directory

2018-02-15 Thread Dawid Wysakowicz
Hi, We are running few jobs on yarn and in case of some failure (that the job could not recover from on its own) we want to use last successful external checkpoint to restore the job from manually. The problem is that the ${state.checkpoints.dir} contains checkpoint directories for all jobs that