spark-instrumented-optimizer/common
jinxing 799e13161e [SPARK-21175] Reject OpenBlocks when memory shortage on shuffle service.
## What changes were proposed in this pull request?

A shuffle service can serves blocks from multiple apps/tasks. Thus the shuffle service can suffers high memory usage when lots of shuffle-reads happen at the same time. In my cluster, OOM always happens on shuffle service. Analyzing heap dump, memory cost by Netty(ChannelOutboundBufferEntry) can be up to 2~3G. It might make sense to reject "open blocks" request when memory usage is high on shuffle service.

93dd0c518d and 85c6ce6193 tried to alleviate the memory pressure on shuffle service but cannot solve the root cause. This pr proposes to control currency of shuffle read.

## How was this patch tested?
Added unit test.

Author: jinxing <jinxing6042@126.com>

Closes #18388 from jinxing64/SPARK-21175.
2017-07-25 20:52:07 +08:00
..
kvstore [MINOR][BUILD] Fix Java linter errors 2017-06-19 20:17:54 +01:00
network-common [SPARK-21175] Reject OpenBlocks when memory shortage on shuffle service. 2017-07-25 20:52:07 +08:00
network-shuffle [SPARK-21369][CORE] Don't use Scala Tuple2 in common/network-* 2017-07-11 11:26:17 +08:00
network-yarn [SPARK-21369][CORE] Don't use Scala Tuple2 in common/network-* 2017-07-11 11:26:17 +08:00
sketch [SPARK-20453] Bump master branch version to 2.3.0-SNAPSHOT 2017-04-24 21:48:04 -07:00
tags [SPARK-20453] Bump master branch version to 2.3.0-SNAPSHOT 2017-04-24 21:48:04 -07:00
unsafe [SPARK-21445] Make IntWrapper and LongWrapper in UTF8String Serializable 2017-07-18 12:09:07 +08:00