v1.5 cancel job rest API

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

v1.5 cancel job rest API

Jake Croft
This did not work, returns 404:
Cancel Job
<https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/rest_api.html#cancel-job>

DELETE request to /jobs/:jobid/cancel.

Apache Flink 1.5 Documentation: Monitoring REST API
<https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/rest_api.html#job-cancellation>


Apache Flink 1.5 Documentation: Monitoring REST API

<https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/rest_api.html#job-cancellation>

Do you guys not have a CI/CD test for these?
Reply | Threaded
Open this post in threaded view
|

Re: v1.5 cancel job rest API

dwysakowicz
Hi Jake,

Are you using legacy mode? Or do you use the new default mode? If you
use the new mode the API was restructured and you should use the new API
(cancel is PATCH to /jobs/:jobid).

By the way we have CI/CD for these.

Best,
Dawid

On 16/06/18 21:47, Jake Croft wrote:

> This did not work, returns 404:
> Cancel Job
> <https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/rest_api.html#cancel-job>
>
> DELETE request to /jobs/:jobid/cancel.
>
> Apache Flink 1.5 Documentation: Monitoring REST API
> <https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/rest_api.html#job-cancellation>
>
>
> Apache Flink 1.5 Documentation: Monitoring REST API
>
> <https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/rest_api.html#job-cancellation>
>
> Do you guys not have a CI/CD test for these?
>