hesnay Schepler
Sent: Thursday, June 21, 2018 3:36 PM
To: user@flink.apache.org
Subject: Re: Questions regarding to Flink 1.5.0 REST API change
If you could open a JIRA this would be great.
On 21.06.2018 09:07, sihua zhou wrote:
Hi Yow,
I had a look at the related code, I think this seems like
ne 19, 2018 11:55 PM
*To:* user@flink.apache.org <mailto:user@flink.apache.org>
*Subject:* Re: Questions regarding to Flink 1.5.0 REST API change
1. PATCH to /jobs/:jobid, you can specify CANCEL/STOP with the
"mode" query parameter
2. POST to /jobs/:jobid/s
end.async: true
state.checkpoints.num-retained: 5
state.savepoints.dir: hdfs://192.168.56.150:8020/flink/savepoints
-Yow
From: Chesnay Schepler
Sent: Wednesday, June 20, 2018 3:15 PM
To:user@flink.apache.org
Subject: Re: Questions regarding to Flink 1.5.0 REST API change
I think you can
ate.backend.async: true
state.checkpoints.num-retained: 5
state.savepoints.dir: hdfs://192.168.56.150:8020/flink/savepoints
-Yow
From: Chesnay Schepler
Sent: Wednesday, June 20, 2018 3:15 PM
To:user@flink.apache.org
Subject: Re: Questions regarding to Flink 1.5.0 REST API change
I think you can set the t
vepoints
-Yow
*From:* Chesnay Schepler
*Sent:* Wednesday, June 20, 2018 3:15 PM
*To:* user@flink.apache.org
*Subject:* Re: Questions regarding to Flink 1.5.0 REST API change
I think you can set the target-directory to null. But I'
ts
-Yow
From: Chesnay Schepler
Sent: Wednesday, June 20, 2018 3:15 PM
To: user@flink.apache.org
Subject: Re: Questions regarding to Flink 1.5.0 REST API change
I think you can set the target-directory to null. But I'm not sure why this
particular reques
le to get it from env.getConfig(). Thank you.
*From:* Chesnay Schepler
*Sent:* Tuesday, June 19, 2018 11:55 PM
*To:* user@flink.apache.org
*Subject:* Re: Questions regarding to Flink 1.5.0 REST API change
1. PATCH to /jobs/:
point
directory from flink-config.yaml in flink application? I am not able to get it
from env.getConfig(). Thank you.
From: Chesnay Schepler
Sent: Tuesday, June 19, 2018 11:55 PM
To: user@flink.apache.org
Subject: Re: Questions regarding to Flink 1.5.0 REST API
Thank you @Chesnay Schepler<mailto:ches...@apache.org> and @Esteban
Serrano<mailto:st96d...@gmail.com>!
From: Chesnay Schepler
Sent: Tuesday, June 19, 2018 11:55 PM
To: user@flink.apache.org
Subject: Re: Questions regarding to Flink 1.5.0 REST A
1. PATCH to /jobs/:jobid, you can specify CANCEL/STOP with the "mode"
query parameter
2. POST to /jobs/:jobid/savepoints, with a json payload. Returns a
trigger id, used for 3).
{|
"target-directory" : { |
|"type" : "string" }, "cancel-job" : { "type" : "boolean" } } |
3. GET to /jobs/:jobid
For #1, you need to use a PATCH request to "*/jobs/:jobid*"
On Tue, Jun 19, 2018 at 11:35 AM Siew Wai Yow wrote:
> Hi,
>
>
> Regarding to Flink 1.5.0 REST API breaking change,
>
>- *The REST API to cancel a job was changed.*
>- *The REST API to cancel a job with savepoint was changed.*
>
Hi,
Regarding to Flink 1.5.0 REST API breaking change,
* The REST API to cancel a job was changed.
* The REST API to cancel a job with savepoint was changed.
I have few dump questions,
1. Any replacement for cancellation ONLY without save-point? Only found
"/jobs/:jobid/savepoints
12 matches
Mail list logo