GitHub user jasoncl opened a pull request:
https://github.com/apache/spark/pull/10713
[Spark-12655] [GraphX] GraphX does not unpersist RDDs
Some VertexRDD and EdgeRDD are created during the intermediate step of
g.connectedComponents() but unnecessarily left cached after the method is done.
The fix is to unpersist these RDDs once they are no longer in use.
A test case is added to confirm the fix for the reported bug.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jasoncl/spark SPARK-12655
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10713.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10713
----
commit 976d4c74d75150b60cc0f97a5c03bd050faab6f0
Author: Jason Lee <[email protected]>
Date: 2016-01-11T23:57:06Z
Added unpersist graph RDD test case
commit 0f78c0e22e99727f461e9c1c4e62f2d1cdf31ddb
Author: Jason Lee <[email protected]>
Date: 2016-01-12T00:03:37Z
Added unpersist in ConnectedComponents.scala and Pregel.scala. Remove
println from test case
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]