Commit 057484e
committed
[Fix-17908][Flink] Remove -sae parameter for APPLICATION mode to prevent task termination
The -sae (--shutdownOnAttachedExit) parameter is only suitable for attached mode
where the CLI stays connected and waits for the job to complete. However,
YARN Application mode runs in detached mode where the CLI exits after
submission, causing the -sae parameter to trigger cluster shutdown and
terminate the job unexpectedly.
Changes:
- Only add -sae parameter for non-APPLICATION deploy modes
- Update test cases to reflect the new behavior1 parent 39168c8 commit 057484e
File tree
3 files changed
+8
-3
lines changed- dolphinscheduler-task-plugin
- dolphinscheduler-task-flink-stream/src/test/java/org/apache/dolphinscheduler/plugin/task/flink
- dolphinscheduler-task-flink/src
- main/java/org/apache/dolphinscheduler/plugin/task/flink
- test/java/org/apache/dolphinscheduler/plugin/task/flink
3 files changed
+8
-3
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
271 | 274 | | |
272 | 275 | | |
273 | 276 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments