You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/config/TaskDispatchPolicy.java
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -22,21 +22,27 @@
22
22
importlombok.Data;
23
23
24
24
/**
25
-
* Configuration for the master's task dispatch timeout checker.
26
-
* If enabled, tasks that remain in the dispatch queue longer than {@link #maxTaskDispatchDuration} will be marked as failed to prevent indefinite queuing.
25
+
* Configuration for the master's task dispatch policy.
26
+
* <p>
27
+
* When enabled, tasks that remain in the dispatch queue longer than
28
+
* {@link #maxTaskDispatchDuration} will be marked as failed to prevent indefinite queuing.
27
29
*/
28
30
@Data
29
-
publicclassMasterDispatchTimeoutCheckerConfig {
31
+
publicclassTaskDispatchPolicy {
30
32
31
33
/**
32
-
* Whether to enable the dispatch timeout checking mechanism.
34
+
* Indicates whether the dispatch timeout checking mechanism is enabled.
35
+
* <p>
36
+
* If {@code true}, tasks exceeding the configured dispatch duration will be failed automatically.
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/dispatcher/WorkerGroupDispatcher.java
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/dispatcher/WorkerGroupDispatcherCoordinator.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ public void close() throws Exception {
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/lifecycle/TaskLifecycleEventType.java
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,6 @@ public enum TaskLifecycleEventType implements ILifecycleEventType {
29
29
* Dispatch the task instance to target.
30
30
*/
31
31
DISPATCH,
32
-
/**
33
-
* Task instance encounters catastrophic failure(such as initialization failure), it will enter a failed state.
34
-
*/
35
-
FATAL,
36
32
/**
37
33
* The task instance is dispatched to the target executor server.
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/lifecycle/event/TaskFatalLifecycleEvent.java
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/lifecycle/handler/TaskFatalLifecycleEventHandler.java
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/statemachine/AbstractTaskStateAction.java
Copy file name to clipboardExpand all lines: dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/statemachine/ITaskStateAction.java
0 commit comments