GitHub user dding3 opened a pull request:

    https://github.com/apache/spark/pull/15124

    [SPARK-17559][MLLIB]persist edges if their storage level is non 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 spark-persisitEdge

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15124.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 #15124
    
----
commit bf94b4dbcc4e8e0602715dce92f5053608674b43
Author: ding <ding@localhost.localdomain>
Date:   2016-09-16T17:04:27Z

    persist edges if their storage level is non in PeriodicGraphCheckpointer

----


---
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

Reply via email to