apache/spark — pull request #3600 by viirya (2014-12-04 08:39:42+00:00)
Title: [SPARK-4741] Do not destroy FileInputStream and recreate it every time

The `FileInputStream` in `DiskMapIterator` is destroyed and recreate after each batch reading. However, since we can change the reading position on that stream, it is no need and inefficient to destroy and recreate it every time.