-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Hotfix][Zeta] Fix taskgroup failed log lost #7241
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -214,7 +214,7 @@ public PassiveCompletableFuture<TaskExecutionState> initStateFuture() { | |||
} | ||||
} else if (ExecutionState.DEPLOYING.equals(currExecutionState)) { | ||||
if (!checkTaskGroupIsExecuting(taskGroupLocation)) { | ||||
updateTaskState(ExecutionState.RUNNING); | ||||
updateTaskState(ExecutionState.FAILING); | ||||
} | ||||
} | ||||
return new PassiveCompletableFuture<>(this.taskFuture); | ||||
|
@@ -485,6 +485,8 @@ private void resetExecutionState() { | |||
() -> { | ||||
updateStateTimestamps(ExecutionState.CREATED); | ||||
runningJobStateIMap.set(taskGroupLocation, ExecutionState.CREATED); | ||||
// reset the errorByPhysicalVertex | ||||
errorByPhysicalVertex = new AtomicReference<>(); | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line 80 in 4b3af9b
InMemorySinkWriter is a good choice because it can construct different error messages each time, so you can check the error messages to see if the changes are effective.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use static variables to record the current number of retries There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I will try it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||
return null; | ||||
}, | ||||
new RetryUtils.RetryMaterial( | ||||
|
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.
cc @Hisoka-X