GitHub user witgo opened a pull request:
https://github.com/apache/spark/pull/2376
[SPARK-3517]mapPartitions is not correct clearing up the closure
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/witgo/spark SPARK-3517
Github user SparkQA commented on the pull request:
https://github.com/apache/spark/pull/2376#issuecomment-55479429
[QA tests have
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/20248/consoleFull)
for PR 2376 at commit