Browse Source

If the task processor is not found need to throw error rather than exception (#11461) (#12012)

(cherry picked from commit 4362fb8448)
3.0.1-release
Wenjun Ruan 2 years ago committed by GitHub
parent
commit
84876b9f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java

4
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java

@ -81,8 +81,8 @@ public class TaskStateEventHandler implements StateEventHandler {
}
return true;
}
throw new StateEventHandleException(
"Task state event handle error, due to the task is not in activeTaskProcessorMaps");
throw new StateEventHandleError(
"Task state event handle error, due to the task is not in activeTaskProcessorMaps");
}
@Override

Loading…
Cancel
Save