[
https://issues.apache.org/jira/browse/FLINK-34398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyula Fora closed FLINK-34398.
------------------------------
Fix Version/s: kubernetes-operator-1.8.0
Resolution: Fixed
merged to main f5d9b1917aec875bf04c35d6d3debd93f620c76d
> 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
> Priority: Minor
> Labels: pull-request-available
> Fix For: kubernetes-operator-1.8.0
>
>
> 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)