osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flink REST api for cancel with savepoint on yarn


Hello,

I have a question about flink 1.5/1.6 REST endpoints. I was trying to see how the rest endpoints have changed wrt to cancelling with savepoint; it seems like now to cancel with savepoint one need to use POST api /jobs/:jobid/savepoints

While trying to run these queries on yarn, it seems like yarn currently dosent support these POST calls: https://issues.apache.org/jira/browse/YARN-2031

On digging further and looking at this email, it seems like there is a /jobs/:jobid/yarn-cancel api which does something similar, but that dosent support cancel-with-savepoin currentlyt. Are there any plans to add this functionality to this API for future? Is there any workaround for this for now?

Thanks,
Vipul