Skip to content

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

Closed
Ngone51 wants to merge 1 commit into
apache:branch-3.2from
Ngone51:revert-35011-3.2
Closed

Revert "[SPARK-35011][CORE] Avoid Block Manager registrations when StopExecutor msg is in-flight"#33959
Ngone51 wants to merge 1 commit into
apache:branch-3.2from
Ngone51:revert-35011-3.2

Conversation

@Ngone51

Copy link
Copy Markdown
Member

This reverts commit b9e53f8.

What changes were proposed in this pull request?

Revert #32114

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.

…opExecutor msg is in-flight"
This reverts commit b9e53f8.
@SparkQA

Copy link
Copy Markdown

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

@SparkQA

Copy link
Copy Markdown

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

@SparkQA

Copy link
Copy Markdown

Test build #143147 has finished for PR 33959 at commit 20fce6b.

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

@dongjoon-hyundongjoon-hyun changed the title [3.2]Revert "[SPARK-35011][CORE] Avoid Block Manager registrations when StopExecutor msg is in-flightRevert "[SPARK-35011][CORE] Avoid Block Manager registrations when StopExecutor msg is in-flightSep 10, 2021

@dongjoon-hyundongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1, LGTM.

@dongjoon-hyundongjoon-hyun changed the title Revert "[SPARK-35011][CORE] Avoid Block Manager registrations when StopExecutor msg is in-flightRevert "[SPARK-35011][CORE] 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
…opExecutor msg is in-flight"
This reverts commit b9e53f8.
### What changes were proposed in this pull request?
Revert #32114
### 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#33959 from Ngone51/revert-35011-3.2.
Authored-by: yi.wu <yi.wu@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
Member

Jenkins passed. Merged to branch-3.2.
cc @gengliangwang

@mridulm

Copy link
Copy Markdown
Contributor

Late +1, thanks for fixing this @Ngone51 !

Sign up for freeto 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.

4 participants

@Ngone51@SparkQA@dongjoon-hyun@mridulm