Re: Get the savepointPath of a particular savepoint

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

Re: Get the savepointPath of a particular savepoint

Dawid Wysakowicz-2
Hi,

The path of a savepoint is a user specified parameter, therefore it is
not tracked by flink. It is up to the user to know where should the
savepoint end up.

As for API to check status of a savepoint you can use[1]

Best,

Dawid

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.7/monitoring/rest_api.html#jobs-jobid-savepoints-triggerid

On 13/01/2019 18:47, anaray wrote:

> As per the 1.7.0 documentation  here
> <https://ci.apache.org/projects/flink/flink-docs-release-1.7/monitoring/rest_api.html#jars-jarid-run>  
> To start a job from a savepoint, savepointPath is required. But it not clear
> from where to get this savepointPath? In earlier versions we could get it
> from
> /jobs/:jobid/cancel-with-savepoint/in-progress/:requestId. It gave response
> like
> {
>   "status": "success",
>   "request-id": 1,
>   "savepoint-path": "<savepointPath>"
> }
>
> Is there a way to get the savepointPath from an API on 1.7?
>
> Thanks,
>
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Get the savepointPath of a particular savepoint

Gary Yao-3

On Mon, Jan 14, 2019 at 2:46 PM Dawid Wysakowicz <[hidden email]> wrote:
Hi,

The path of a savepoint is a user specified parameter, therefore it is
not tracked by flink. It is up to the user to know where should the
savepoint end up.

As for API to check status of a savepoint you can use[1]

Best,

Dawid

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.7/monitoring/rest_api.html#jobs-jobid-savepoints-triggerid

On 13/01/2019 18:47, anaray wrote:
> As per the 1.7.0 documentation  here
> <https://ci.apache.org/projects/flink/flink-docs-release-1.7/monitoring/rest_api.html#jars-jarid-run
> To start a job from a savepoint, savepointPath is required. But it not clear
> from where to get this savepointPath? In earlier versions we could get it
> from
> /jobs/:jobid/cancel-with-savepoint/in-progress/:requestId. It gave response
> like
> {
>   "status": "success",
>   "request-id": 1,
>   "savepoint-path": "<savepointPath>"
> }
>
> Is there a way to get the savepointPath from an API on 1.7?
>
> Thanks,
>
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Get the savepointPath of a particular savepoint

anaray
 Dawid , Gary,
Got it . Thanks



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/