aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorRyan Blue <blue@apache.org>2016-06-23 13:54:37 -0500
committerTom Graves <tgraves@yahoo-inc.com>2016-06-23 13:54:37 -0500
commita410814c87b120cb5cfbf095b1bd94b1de862844 (patch)
tree4266071a84a7f04273d3b2f28b07d27f5b7166ff /docs/configuration.md
parent10396d9505c752cc18b6424f415d4ff0f460ad65 (diff)
downloadspark-a410814c87b120cb5cfbf095b1bd94b1de862844.tar.gz
spark-a410814c87b120cb5cfbf095b1bd94b1de862844.tar.bz2
spark-a410814c87b120cb5cfbf095b1bd94b1de862844.zip
[SPARK-15725][YARN] Ensure ApplicationMaster sleeps for the min interval.
## What changes were proposed in this pull request? Update `ApplicationMaster` to sleep for at least the minimum allocation interval before calling `allocateResources`. This prevents overloading the `YarnAllocator` that is happening because the thread is triggered when an executor is killed and its connections die. In YARN, this prevents the app from overloading the allocator and becoming unstable. ## How was this patch tested? Tested that this allows the an app to recover instead of hanging. It is still possible for the YarnAllocator to be overwhelmed by requests, but this prevents the issue for the most common cause. Author: Ryan Blue <blue@apache.org> Closes #13482 from rdblue/SPARK-15725-am-sleep-work-around.
Diffstat (limited to 'docs/configuration.md')
0 files changed, 0 insertions, 0 deletions