You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2022/03/28 08:02:00 UTC
[jira] [Commented] (FLINK-26881) Stop with savepoint should pick up the targetDirectory from Flink configuration
[ https://issues.apache.org/jira/browse/FLINK-26881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513219#comment-17513219 ]
Gyula Fora commented on FLINK-26881:
------------------------------------
thanks [~wangyang0918] are you planning to work on this? would be great to include this in the first RC today
> Stop with savepoint should pick up the targetDirectory from Flink configuration
> -------------------------------------------------------------------------------
>
> Key: FLINK-26881
> URL: https://issues.apache.org/jira/browse/FLINK-26881
> Project: Flink
> Issue Type: Bug
> Components: Kubernetes Operator
> Reporter: Yang Wang
> Priority: Blocker
> Fix For: kubernetes-operator-0.1.0
>
>
> Upgrading stateless FlinkDeployment to savepoint still could not work. Because {{FlinkService#cancelJob}} does not pick up the target directory in the flink configuration.
>
> {code:java}
> case SAVEPOINT:
> String savepoint =
> clusterClient
> .stopWithSavepoint(jobID, false, null)
> .get(1, TimeUnit.MINUTES); {code}
> We should use configured savepoint directory instead of {{null}} in the above implementation.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)