-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Hotfix][Zeta] Fix zeta scheduler bug #6050
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4337977 to
13d03a0
Compare
...nel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical/SubPlan.java
Outdated
Show resolved
Hide resolved
...nector-seatunnel-e2e-base/src/test/java/org/apache/seatunnel/engine/e2e/SeaTunnelSlotIT.java
Outdated
Show resolved
Hide resolved
…e/src/test/java/org/apache/seatunnel/engine/e2e/SeaTunnelSlotIT.java Co-authored-by: hailin0 <[email protected]>
...nel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical/SubPlan.java
Show resolved
Hide resolved
284323c to
499f464
Compare
...nel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical/SubPlan.java
Show resolved
Hide resolved
| if (StringUtils.isNotEmpty(jobResult.getError()) | ||
| || jobResult.getStatus().equals(JobStatus.FAILED)) { | ||
| throw new SeaTunnelEngineException(jobResult.getError()); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If client never throw exception even job failed. The shell status code always return 0, does not meet shell standards. Also client side will not get job result error msg. We need test case to cover it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If client never throw exception even job failed. The shell status code always return 0, does not meet shell standards. Also client side will not get job result error msg. We need test case to cover it.
Done, I have added test cases.
…che/seatunnel/engine/server/dag/physical/SubPlan.java Co-authored-by: Jia Fan <[email protected]>
754f56f to
f246365
Compare
Purpose of this pull request
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Already add test case.
Check list
New License Guide
release-note.