You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2022/03/28 07:42:00 UTC

[jira] [Created] (FLINK-26881) Stop with savepoint should pick up the targetDirectory from Flink configuration

Yang Wang created FLINK-26881:
---------------------------------

             Summary: 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
             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)