You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by le...@apache.org on 2022/08/13 14:01:51 UTC
[dolphinscheduler] branch dev updated: If the task processor is not found need to throw error rather than exception (#11461)
This is an automated email from the ASF dual-hosted git repository.
leonbao pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 4362fb8448 If the task processor is not found need to throw error rather than exception (#11461)
4362fb8448 is described below
commit 4362fb8448fecdd1073ced8e268b629de269a649
Author: Wenjun Ruan <we...@apache.org>
AuthorDate: Sat Aug 13 22:01:39 2022 +0800
If the task processor is not found need to throw error rather than exception (#11461)
---
.../dolphinscheduler/server/master/event/TaskStateEventHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java
index 07e6ab546c..aab5d2d6a2 100644
--- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java
+++ b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java
@@ -82,7 +82,7 @@ public class TaskStateEventHandler implements StateEventHandler {
}
return true;
}
- throw new StateEventHandleException(
+ throw new StateEventHandleError(
"Task state event handle error, due to the task is not in activeTaskProcessorMaps");
}