GitHub user dding3 opened a pull request:
https://github.com/apache/spark/pull/15116
[SPARK-17559][MLLIB]persist edges if their storage level is none in
PeriodicGraphCheckpointer
## What changes were proposed in this pull request?
When use PeriodicGraphCheckpointer to persist graph, sometimes the edges
isn't persisted. As currently only when vertices's storage level is none, graph
is persisted. However there is a chance vertices's storage level is not none
while edges's is none. Eg. graph created by a outerJoinVertices operation,
vertices is automatically cached while edges is not. In this way, edges will
not be persisted if we use PeriodicGraphCheckpointer do persist. We need
separately check edges's storage level and persisted it if it's none.
## How was this patch tested?
manual tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dding3/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15116.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 #15116
commit ad29af46b34d2d156078aba48b8e0427136fc6dd
Author: ding
Date: 2016-09-15T21:39:10Z
persist edges if their storage level is none
---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org