flink1.9.1 rest_api cancel作业问题

classic Classic list List threaded Threaded
1 message Options
hb
Reply | Threaded
Open this post in threaded view
|

flink1.9.1 rest_api cancel作业问题

hb
根据文档
|
/jobs/:jobid
|
| Verb: PATCH | Response code: 202 Accepted |
| Terminates a job. |
但是发起patch请求后, 返回:
HTTP/1.1 501 Method PATCH is not defined in RFC 2068 and is not supported by the Servlet API


任务是 yarn-session 模式