GitHub user jkbradley opened a pull request:

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

    [SPARK-5461] [graphx] Add isCheckpointed, getCheckpointedFiles methods to 
Graph

    Added the 2 methods to Graph and GraphImpl.  Both make calls to the 
underlying vertex and edge RDDs.
    
    This is needed for another PR (for LDA): 
[https://github.com/apache/spark/pull/4047]
    
    Notes:
    * getCheckpointedFiles is plural and returns a Seq[String] instead of an 
Option[String].
    * I attempted to test to make sure the methods returned the correct values 
after checkpointing.  It did not work; I guess that checkpointing does not 
occur quickly enough?  I noticed that there are not checkpointing tests for 
RDDs; is it just hard to test well?
    
    CC: @rxin


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

    $ git pull https://github.com/jkbradley/spark graphx-checkpoint

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

    https://github.com/apache/spark/pull/4253.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 #4253
    
----
commit 235738c1a8bff39a09b681d627a1a8096a4f4128
Author: Joseph K. Bradley <[email protected]>
Date:   2015-01-28T20:39:20Z

    Added isCheckpointed and getCheckpointFiles to Graph, GraphImpl

----


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

Reply via email to