[
https://issues.apache.org/jira/browse/FLINK-18054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321378#comment-17321378
]
Flink Jira Bot commented on FLINK-18054:
----------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> Environment should provide API to resume from savepoint
> -------------------------------------------------------
>
> Key: FLINK-18054
> URL: https://issues.apache.org/jira/browse/FLINK-18054
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream, Test Infrastructure
> Affects Versions: 1.10.1
> Reporter: Sergii Mikhtoniuk
> Priority: Minor
> Labels: stale-minor
>
> Flink's savepoint API lacks symmetry.
> While you can stop the job with savepoint as:
> {code}
> job.stopWithSavepoint(advanceToEndOfTime, checkpointDir)
> {code}
> ... there is no API to resume from one.
> This make it very hard to test stop-resume functionality as it forces you to
> run a proper cluster and use CLI.
> Workaround:
> To use savepoints in my "unit" tests I'm resorting to subclassing local
> environment and calling {{streamGraphGenerator.setSavepointRestoreSettings}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)