Uh oh!
There was an error while loading. Please reload this page.
[SPARK-18959] the new leader will lost the statistics of the driver's resource on the worker When the leader master has changed. - #16525
Closed
hustfxj wants to merge 1 commit into
Closed
[SPARK-18959] the new leader will lost the statistics of the driver's resource on the worker When the leader master has changed.#16525hustfxj wants to merge 1 commit into
hustfxj wants to merge 1 commit into
Conversation
…the worker When the leader master has changed.
AmplabJenkins
commented
Jan 10, 2017
Can one of the admins verify this patch? |
hustfxj
commented
Jan 17, 2017
ContributorAuthor
@srowen can you help review it ? I think it is a bug. Thank you very much. |
hustfxj
commented
Mar 9, 2017
ContributorAuthor
@srowen@andrewor14 can you review it again? Thank you |
jiangxb1987
commented
Jun 20, 2017
Contributor
@hustfxj Unluckily we don't support multi-master nodes in standalone mode, so could you please close this PR? Thank you! |
zifeif2 pushed a commit
to zifeif2/spark
that referenced
this pull request
Nov 22, 2025
## What changes were proposed in this pull request? This PR proposes to close stale PRs, mostly the same instances with apache#18017 I believe the author in apache#14807 removed his account. Closesapache#7075Closesapache#8927Closesapache#9202Closesapache#9366Closesapache#10861Closesapache#11420Closesapache#12356Closesapache#13028Closesapache#13506Closesapache#14191Closesapache#14198Closesapache#14330Closesapache#14807Closesapache#15839Closesapache#16225Closesapache#16685Closesapache#16692Closesapache#16995Closesapache#17181Closesapache#17211Closesapache#17235Closesapache#17237Closesapache#17248Closesapache#17341Closesapache#17708Closesapache#17716Closesapache#17721Closesapache#17937 Added: Closesapache#14739Closesapache#17139Closesapache#17445Closesapache#18042Closesapache#18359 Added: Closesapache#16450Closesapache#16525Closesapache#17738 Added: Closesapache#16458Closesapache#16508Closesapache#17714 Added: Closesapache#17830Closesapache#14742 ## How was this patch tested? N/A Author: hyukjinkwon <gurwls223@gmail.com> Closesapache#18417 from HyukjinKwon/close-stale-pr.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I deploy the standalone cluster with two masters. and utilize zooKeeper to provide leader election. Firstly, I submit the application with cluster mode. Then I kill the leader master, and the standby master will be the leader. But the new leader will lost the statistics of the driver's resource. Then I stop the application, we will see the negative used resource at the worker from masterPage. Like that:
Because the new leader forget calculate the driver‘ resource when the master receive the "WorkerLatestState" message. At the same time we can set RUNNING state for the app after the master receive the message, otherwise the app' state will still be WAITTING.