Github user dding3 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15125#discussion_r101938997
  
    --- Diff: graphx/src/main/scala/org/apache/spark/graphx/Pregel.scala ---
    @@ -122,27 +125,39 @@ object Pregel extends Logging {
         require(maxIterations > 0, s"Maximum number of iterations must be 
greater than 0," +
           s" but got ${maxIterations}")
     
    -    var g = graph.mapVertices((vid, vdata) => vprog(vid, vdata, 
initialMsg)).cache()
    +    val checkpointInterval = graph.vertices.sparkContext.getConf
    +      .getInt("spark.graphx.pregel.checkpointInterval", 10)
    --- End diff --
    
    I think so. Currently I add the document in graphx-programming-guide.md. 
But I am not sure if it's the right place, please let me know if there is a 
better place to add the document.


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