Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-15262] Synchronize block manager / scheduler executor state
## What changes were proposed in this pull request? If an executor is still alive even after the scheduler has removed its metadata, we may receive a heartbeat from that executor and tell its block manager to reregister itself. If that happens, the block manager master will know about the executor, but the scheduler will not. That is a dangerous situation, because when the executor does get disconnected later, the scheduler will not ask the block manager to also remove metadata for that executor. Later, when we try to clean up an RDD or a broadcast variable, we may try to send a message to that executor, triggering an exception. ## How was this patch tested? Jenkins. Author: Andrew Or <[email protected]> Closes #13055 from andrewor14/block-manager-remove.
- Loading branch information