[ 
https://issues.apache.org/jira/browse/SPARK-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074002#comment-14074002
 ] 

Mark Hamstra commented on SPARK-2529:
-------------------------------------

Actually, we were cleaning those closures, but that was removed in 
https://github.com/apache/spark/commit/6b288b75d4c05f42ad3612813dc77ff824bb6203 
-- not sure why.

> Clean the closure in foreach and foreachPartition
> -------------------------------------------------
>
>                 Key: SPARK-2529
>                 URL: https://issues.apache.org/jira/browse/SPARK-2529
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Reynold Xin
>
> Somehow we didn't clean the closure for foreach and foreachPartition. Should 
> do that.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to