在yarn-session模式下怎么用rest api 触发savepoint并停止任务

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

在yarn-session模式下怎么用rest api 触发savepoint并停止任务

junbaozhang
Hi,all:
本人当前用的flink版本1.10,通过yarn-session发布job,通过jobs/job/stop api 停止任务会报Unable to load requested file,问一下在yarn-session模式下没有这个api吗?

Best,
Junbao Zhang
junbaozhang
Reply | Threaded
Open this post in threaded view
|

Re: 在yarn-session模式下怎么用rest api 触发savepoint并停止任务

Weihua Hu
HI, Junbao

 可以参考 API 文档检查一下 HTTP method 是否正确
https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/rest_api.html#jobs-jobid-stop <https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/rest_api.html#jobs-jobid-stop>


Best
Weihua Hu

> 2020年6月1日 16:21,[hidden email] 写道:
>
> Hi,all:
> 本人当前用的flink版本1.10,通过yarn-session发布job,通过jobs/job/stop api 停止任务会报Unable to load requested file,问一下在yarn-session模式下没有这个api吗?
>
> Best,
> Junbao Zhang