Skip to content
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

Revert "[SPARK-35011][CORE][3.1] Avoid Block Manager registrations when StopExecutor msg is in-flight" #33960

Closed
wants to merge 1 commit into from

Conversation

Ngone51
Copy link
Member

@Ngone51 Ngone51 commented Sep 10, 2021

This reverts commit 79ea014.

What changes were proposed in this pull request?

Revert #33771

Why are the changes needed?

It breaks the expected BlockManager re-registration (e.g., heartbeat loss of an active executor) due to deferred removal of BlockManager, see the check:

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass existing tests.

…en StopExecutor msg is in-flight"

This reverts commit 79ea014.
@github-actions github-actions bot added the CORE label Sep 10, 2021
@Ngone51 Ngone51 changed the title [3.1]Revert "[SPARK-35011][CORE][3.1] Avoid Block Manager registrations when StopExecutor msg is in-flight Revert "[SPARK-35011][CORE][3.1] Avoid Block Manager registrations when StopExecutor msg is in-flight Sep 10, 2021
@SparkQA
Copy link

SparkQA commented Sep 10, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47653/

@SparkQA
Copy link

SparkQA commented Sep 10, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47653/

@SparkQA
Copy link

SparkQA commented Sep 10, 2021

Test build #143149 has finished for PR 33960 at commit 26e2af3.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143149/

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM.
Merged to branch-3.1.

@dongjoon-hyun dongjoon-hyun changed the title Revert "[SPARK-35011][CORE][3.1] Avoid Block Manager registrations when StopExecutor msg is in-flight Revert "[SPARK-35011][CORE][3.1] Avoid Block Manager registrations when StopExecutor msg is in-flight" Sep 10, 2021
dongjoon-hyun pushed a commit that referenced this pull request Sep 10, 2021
…en StopExecutor msg is in-flight"

This reverts commit 79ea014.

### What changes were proposed in this pull request?

Revert #33771

### Why are the changes needed?

It breaks the expected `BlockManager` re-registration (e.g., heartbeat loss of an active executor) due to deferred removal of `BlockManager`, see the check:
https://github.com/apache/spark/blob/9cefde8db373a3433b7e3ce328e4a2ce83b1aca2/core/src/main/scala/org/apache/spark/storage/BlockManagerMasterEndpoint.scala#L551

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Pass existing tests.

Closes #33960 from Ngone51/revert-35011-3.1.

Authored-by: yi.wu <yi.wu@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@mridulm
Copy link
Contributor

mridulm commented Sep 10, 2021

Late +1, thanks for working on this @Ngone51 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants