Cancel with savepoint on yarn-cluster mode can't retrieve savepointDir.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cancel with savepoint on yarn-cluster mode can't retrieve savepointDir.

Shu Li Zheng
Hi community.

Cancel with savepoint on yarn-cluster mode can’t retrieve savepoint dir directly.
The reason is when I call /jobs/:jobid/savepoints with cancel option. The jobmanager will shutdown,
Then I can’t get savepoint dir through jobmanager(/jobs/:jobid/savepoints/:triggerid) anymore.
Seems like savepoint api should have a synchronous option.

BR.
Shu Li Zheng
Reply | Threaded
Open this post in threaded view
|

Re: Cancel with savepoint on yarn-cluster mode can't retrieve savepointDir.

Paul Lam
Hi,


Best,
Paul Lam

在 2018年10月19日,14:32,郑舒力 <[hidden email]> 写道:

Hi community.

Cancel with savepoint on yarn-cluster mode can’t retrieve savepoint dir directly.
The reason is when I call /jobs/:jobid/savepoints with cancel option. The jobmanager will shutdown,
Then I can’t get savepoint dir through jobmanager(/jobs/:jobid/savepoints/:triggerid) anymore.
Seems like savepoint api should have a synchronous option.

BR.
Shu Li Zheng

Reply | Threaded
Open this post in threaded view
|

Re: Cancel with savepoint on yarn-cluster mode can't retrieve savepointDir.

vino yang
Hi Shu Li,

Paul is right, the issue has been fixed. Please upgrade it to the fixed specific version.

Thanks, vino.

Paul Lam <[hidden email]> 于2018年10月19日周五 下午2:35写道:
Hi,


Best,
Paul Lam

在 2018年10月19日,14:32,郑舒力 <[hidden email]> 写道:

Hi community.

Cancel with savepoint on yarn-cluster mode can’t retrieve savepoint dir directly.
The reason is when I call /jobs/:jobid/savepoints with cancel option. The jobmanager will shutdown,
Then I can’t get savepoint dir through jobmanager(/jobs/:jobid/savepoints/:triggerid) anymore.
Seems like savepoint api should have a synchronous option.

BR.
Shu Li Zheng