From 1e3ff41928675b3c7f55831727ffb848aeb01e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E5=8F=8C=E6=B3=A2?= <786183073@qq.com> Date: Mon, 12 Jul 2021 18:04:17 +0800 Subject: [PATCH] fix (#5803) Co-authored-by: shuangbofu --- .../server/worker/processor/TaskCallbackService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java index f4ebe755ae..7e7ecd47ed 100644 --- a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java +++ b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java @@ -134,7 +134,7 @@ public class TaskCallbackService { ThreadUtils.sleep(pause(ntries++)); } - throw new IllegalStateException(String.format("all available master nodes : %s are not reachable for task: {}", masterNodes, taskInstanceId)); + throw new IllegalStateException(String.format("all available master nodes : %s are not reachable for task: %s", masterNodes, taskInstanceId)); } public int pause(int ntries) {