You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by anaray <an...@gmail.com> on 2019/01/13 17:47:55 UTC
Get the savepointPath of a particular savepoint
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/
Re: Get the savepointPath of a particular savepoint
Posted by anaray <an...@gmail.com>.
Dawid , Gary,
Got it . Thanks
--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Re: Get the savepointPath of a particular savepoint
Posted by Gary Yao <ga...@da-platform.com>.
Hi,
The API still returns the location of a completed savepoint. See the example
in the Javadoc [1].
Best,
Gary
[1]
https://github.com/apache/flink/blob/1325599153b162fc85679589cab0c2691bf398f1/flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/job/savepoints/SavepointHandlers.java#L90
On Mon, Jan 14, 2019 at 2:46 PM Dawid Wysakowicz <dw...@apache.org>
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/
>
>
Re: Get the savepointPath of a particular savepoint
Posted by Dawid Wysakowicz <dw...@apache.org>.
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/