GitHub user dding3 opened a pull request:

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

    [SPARK-5484][GraphX] Periodically do checkpoint in Pregel 

    ## What changes were proposed in this pull request?
    Pregel-based iterative algorithms with more than ~50 iterations begin to 
slow down and eventually fail with a StackOverflowError due to Spark's lack of 
support for long lineage chains.
    
    This PR causes Pregel to checkpoint the graph periodically if the 
checkpoint directory is set.
    This PR moves PeriodicGraphCheckpointer.scala from mllib to graphx, moves 
PeriodicRDDCheckpointer.scala, PeriodicCheckpointer.scala from mllib to core
    
    
    ## How was this patch tested?
    unit tests, manual tests
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    
    
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dding3/spark cp2_pregel

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

    https://github.com/apache/spark/pull/15125.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 #15125
    
----
commit 3268ca2144519a1d84484c116e16e6064553a6c1
Author: ding <ding@localhost.localdomain>
Date:   2016-09-16T17:51:58Z

    test

commit ffeadbe96b7fdb491962e065f97ece09fd1a1282
Author: ding <ding@localhost.localdomain>
Date:   2016-09-16T18:13:22Z

    period do checkpoint in pregel

commit 720a741db037a94ab86750fb3c9d5a54732da5e1
Author: ding <ding@localhost.localdomain>
Date:   2016-09-16T18:37:50Z

    remove unused code

----


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