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)