apache/spark — pull request #535 by zsxwing (2014-04-24 14:02:00+00:00)
Title: SPARK-1612: Fix potential resource leaks

JIRA: https://issues.apache.org/jira/browse/SPARK-1612

Move the "close" statements into a "finally" block.