gyfora commented on code in PR #249:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/249#discussion_r886324137
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/validation/DefaultValidator.java:
##########
@@ -197,6 +197,12 @@ private Optional<String> validateJobSpec(JobSpec job,
Map<String, String> confMa
String.format(
"Savepoint could not be manually triggered for
the running job while config key[%s] is not set",
CheckpointingOptions.SAVEPOINT_DIRECTORY.key()));
+ } else if (configuration.contains(
+
KubernetesOperatorConfigOptions.PERIODIC_SAVEPOINT_INTERVAL)) {
+ return Optional.of(
Review Comment:
They are not that bad :) at least it gives a clear error
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]