GitHub user jerryshao opened a pull request: https://github.com/apache/spark/pull/1327
[SPARK-2402] Update the initial position when reuse DiskBlockObjectWriter Minor fix, `initialPosition` can not be updated after `close()` and re`open()`, which will lead to error when reusing this object. Details can be seen in [SPARK-2402](https://issues.apache.org/jira/browse/SPARK-2402). You can merge this pull request into a Git repository by running: $ git pull https://github.com/jerryshao/apache-spark SPARK-2402 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1327.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1327 ---- commit ba8098f5c284b6803a98e5a3b3b8115488bb34cc Author: jerryshao <saisai.s...@intel.com> Date: 2014-07-08T08:33:16Z Update the initial position when reuse DiskBlockObjectWriter to open the file ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---