[ 
https://issues.apache.org/jira/browse/SPARK-5461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297326#comment-14297326
 ] 

Joseph K. Bradley commented on SPARK-5461:
------------------------------------------

[~ankurdave]  Do you have thoughts about this issue?  It's a bit tricky (for 
me).  I want to call isCheckpionted for a Graph.

For that, I overrode isCheckpointed for VertexRDDImpl and EdgeRDDImpl, where 
they call partitionsRDD.isCheckpointed.  However, partitionsRDD is transient, 
so it fails when isCheckpointed is called on workers.  Do you have suggestions 
for a solution?  E.g., make partitionsRDD non-transient, implement 
Vertex/EdgeRDDImpl.isCheckpointed by checking something other than 
partitionsRDD, etc.  Thanks very much!


> Graph should have isCheckpointed, getCheckpointFiles methods
> ------------------------------------------------------------
>
>                 Key: SPARK-5461
>                 URL: https://issues.apache.org/jira/browse/SPARK-5461
>             Project: Spark
>          Issue Type: Improvement
>          Components: GraphX
>    Affects Versions: 1.3.0
>            Reporter: Joseph K. Bradley
>            Assignee: Joseph K. Bradley
>            Priority: Minor
>
> Graph has a checkpoint method but does not have other helper functionality 
> which RDD has.  Proposal:
> {code}
>   /**
>    * Return whether this Graph has been checkpointed or not
>    */
>   def isCheckpointed: Boolean
>   /**
>    * Gets the name of the files to which this Graph was checkpointed
>    */
>   def getCheckpointFiles: Seq[String]
> {code}
> I need this for [SPARK-1405].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to