diff --git a/hudi-flink/src/main/java/org/apache/hudi/operator/InstantGenerateOperator.java b/hudi-flink/src/main/java/org/apache/hudi/operator/InstantGenerateOperator.java index 165eeb087b207..cac7010398214 100644 --- a/hudi-flink/src/main/java/org/apache/hudi/operator/InstantGenerateOperator.java +++ b/hudi-flink/src/main/java/org/apache/hudi/operator/InstantGenerateOperator.java @@ -196,7 +196,7 @@ private void doCheck() throws InterruptedException { return; } } - throw new InterruptedException("Last instant costs more than ten second, stop task now"); + throw new InterruptedException(String.format("Last instant costs more than %s second, stop task now", retryTimes * retryInterval)); }