Dominik Dębowczyk created FLINK-34398:
-----------------------------------------

             Summary: Validation Error in FlinkSessionJob Savepoint UpgradeMode 
Configuration
                 Key: FLINK-34398
                 URL: https://issues.apache.org/jira/browse/FLINK-34398
             Project: Flink
          Issue Type: Bug
          Components: Kubernetes Operator
    Affects Versions: kubernetes-operator-1.7.0
            Reporter: Dominik Dębowczyk


When configuring a {{FlinkSessionJob}} to utilize the {{savepoint}} 
{{upgradeMode}}, the {{flink-kubernetes-webhook}} throws an exception 
indicating that the checkpoint/savepoint directory must be defined. This occurs 
despite having set the options {{state.checkpoints.dir}} and 
{{state.savepoints.dir}} in the {{flinkConfiguration}} of {{FlinkSessionJob}}. 
Interestingly, the validation passes only when these options are set in the 
{{flinkConfiguration}} of {{FlinkDeployment}}. However, I believe this behavior 
is flawed. The {{flinkConfiguration}} overrides from the {{FlinkSessionJob}} 
spec should also be considered during session job spec validation



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to