Skip to content

[SPARK-47958][TESTS] Change LocalSchedulerBackend to notify scheduler of executor on start#46187

Closed
davintjong-db wants to merge 1 commit intoapache:masterfrom
davintjong-db:local-executor-fix
Closed

[SPARK-47958][TESTS] Change LocalSchedulerBackend to notify scheduler of executor on start#46187
davintjong-db wants to merge 1 commit intoapache:masterfrom
davintjong-db:local-executor-fix

Conversation

@davintjong-db
Copy link
Contributor

What changes were proposed in this pull request?

Changing to call reviveOffers on start (after the local executor is set up) so that the task scheduler knows about it. This matches behavior in CoarseGrainedSchedulerBackend, which will call an equivalent method on executor registration.

Why are the changes needed?

When using LocalSchedulerBackend, the task scheduler will not know about the executor until a task is run, which can lead to unexpected behavior in tests.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Running existing tests.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the CORE label Apr 23, 2024
@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 09ed09c Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants