[ https://issues.apache.org/jira/browse/SPARK-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967782#comment-13967782 ]
Shixiong Zhu commented on SPARK-1482: ------------------------------------- PR: https://github.com/apache/spark/pull/400 > Potential resource leaks in saveAsHadoopDataset and saveAsNewAPIHadoopDataset > ----------------------------------------------------------------------------- > > Key: SPARK-1482 > URL: https://issues.apache.org/jira/browse/SPARK-1482 > Project: Spark > Issue Type: Bug > Components: Spark Core > Reporter: Shixiong Zhu > Priority: Minor > Labels: easyfix > > "writer.close" should be put in the "finally" block to avoid potential > resource leaks. -- This message was sent by Atlassian JIRA (v6.2#6252)