Hi,

you can submit jar files and start jobs via the REST interface [1].
When starting a job, you get the jobId. You can link jar files and
savepoints via the jobId.

Best, Fabian

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/rest_api.html#submitting-programs

2017-12-02 0:28 GMT+01:00 Hao Sun <ha...@zendesk.com>:

> Hi I am using Flink 1.3.2 on K8S, and need a deployment strategy for my
> app.
>
> I want to use savepoints to resume a job after each deployment.
> As you know I need jar file name and path to savepoints to resume a task.
>
> Currently `flink list` command only gives me job ids, not jar file names.
> And REST API does not have that information as well. If I have multiple
> jar files how can I map the savepoints back to jars, so I can resume my
> task?
>
> I thought about save the jar to jid map somewhere, but Flink can
> reschedule a task on failures, so the map will be stale.
>
> Any thoughts is appreciated. Many thanks.
>
>

Reply via email to