Skip to content

Commit

Permalink
Correct behavior when writing unopened file
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondav committed Jul 31, 2014
1 parent 701d045 commit 53b3f6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ private[spark] class DiskBlockObjectWriter(
objOut.flush()
bs.flush()
close()
finalPosition = file.length()
}
finalPosition = file.length()
}

// Discard current writes. We do this by flushing the outstanding writes and then
Expand Down

0 comments on commit 53b3f6d

Please sign in to comment.