-
- Downloads
SPARK-1145: Memory mapping with many small blocks can cause JVM allocation failures
This includes some minor code clean-up as well. The main change is that small files are not memory mapped. There is a nicer way to write that code block using Scala's `Try` but to make it easy to back port and as simple as possible, I opted for the more explicit but less pretty format. Author: Patrick Wendell <pwendell@gmail.com> Closes #43 from pwendell/block-iter-logging and squashes the following commits: 1cff512 [Patrick Wendell] Small issue from merge. 49f6c269 [Patrick Wendell] Merge remote-tracking branch 'apache/master' into block-iter-logging 4943351 [Patrick Wendell] Added a test and feedback on mateis review a637a18 [Patrick Wendell] Review feedback and adding rewind() when reading byte buffers. b76b95f [Patrick Wendell] Review feedback 4e1514e [Patrick Wendell] Don't memory map for small files d238b88 [Patrick Wendell] Some logging and clean-up
Showing
- core/src/main/scala/org/apache/spark/storage/BlockFetcherIterator.scala 12 additions, 10 deletions...scala/org/apache/spark/storage/BlockFetcherIterator.scala
- core/src/main/scala/org/apache/spark/storage/BlockManager.scala 2 additions, 1 deletion...rc/main/scala/org/apache/spark/storage/BlockManager.scala
- core/src/main/scala/org/apache/spark/storage/DiskStore.scala 13 additions, 3 deletionscore/src/main/scala/org/apache/spark/storage/DiskStore.scala
- core/src/main/scala/org/apache/spark/util/Utils.scala 1 addition, 2 deletionscore/src/main/scala/org/apache/spark/util/Utils.scala
- core/src/test/scala/org/apache/spark/storage/BlockManagerSuite.scala 54 additions, 4 deletions...st/scala/org/apache/spark/storage/BlockManagerSuite.scala
- docs/configuration.md 9 additions, 0 deletionsdocs/configuration.md
Please register or sign in to comment