-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-40596][CORE] Populate ExecutorDecommission with messages in ExecutorDecommissionInfo #38030
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
|
How/where are we using the message ? |
|
Ok, so this is mainly to propagate in +CC @dongjoon-hyun |
|
Thank you, @mridulm . |
dongjoon-hyun
left a comment
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.
Please revert the change on MapStatus.
core/src/main/scala/org/apache/spark/scheduler/ExecutorLossReason.scala
Outdated
Show resolved
Hide resolved
core/src/test/scala/org/apache/spark/storage/BlockManagerDecommissionIntegrationSuite.scala
Outdated
Show resolved
Hide resolved
core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala
Outdated
Show resolved
Hide resolved
|
Could you address the review comments, @bozhang2820 ? |
Sorry for the late response. I was on vacation last week. Addressed the review comments. |
|
Build passed with a retry: https://github.com/bozhang2820/spark/actions/runs/3209525689/jobs/5251496034 |
dongjoon-hyun
left a comment
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.
Thank you for update, @bozhang2820 . It looks good to me.
What do you think about the Today's patch, @mridulm , @Ngone51 , @xuanyuanking?
Ngone51
left a comment
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.
LGTM
xuanyuanking
left a comment
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.
LGTM
|
Thanks, merged to master! |
|
Thank you all! :) |
What changes were proposed in this pull request?
This change populates
ExecutorDecommissionwith messages inExecutorDecommissionInfo.Why are the changes needed?
Currently the message in
ExecutorDecommissionis a fixed value ("Executor decommission."), so it is the same for all cases, e.g. spot instance interruptions and auto-scaling down. With this change we can better differentiate those cases.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Added a unit test.