Skip to content

[SPARK-22760][CORE][YARN] Lost executor of RPC disassociated, and occurs exception: Could not find CoarseGrainedScheduler or it has been stopped#19945

Closed
KaiXinXiaoLei wants to merge 1 commit intoapache:masterfrom
KaiXinXiaoLei:pendingAdd2
Closed

Conversation

@KaiXinXiaoLei
Copy link

@KaiXinXiaoLei KaiXinXiaoLei commented Dec 11, 2017

What changes were proposed in this pull request?

When the number of executors is big, and YarnSchedulerBackend.stopped=False after YarnSchedulerBackend.stop() is running, some executor is stoped, and YarnSchedulerBackend.onDisconnected() will be called, then the problem is exists. So i change the code, when removing executor, add this executorId to executorsPendingToRemove, So the YarnSchedulerBackend.onDisconnected() will not send message to executor

Please review http://spark.apache.org/contributing.html before opening a pull request.

@vanzin
Copy link
Contributor

vanzin commented Dec 11, 2017

Please write a proper PR description.

@KaiXinXiaoLei KaiXinXiaoLei changed the title [SPARK-14228][CORE][YARN] Lost executor of RPC disassociated, and occurs exception: Could not find CoarseGrainedScheduler or it has been stopped [SPARK-22760][CORE][YARN] Lost executor of RPC disassociated, and occurs exception: Could not find CoarseGrainedScheduler or it has been stopped Dec 12, 2017
@SparkQA
Copy link

SparkQA commented Dec 12, 2017

Test build #84739 has finished for PR 19945 at commit 9a0b37e.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants