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

    https://github.com/apache/spark/pull/15125#discussion_r101818789
  
    --- Diff: graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala ---
    @@ -362,12 +362,14 @@ class GraphOps[VD: ClassTag, ED: ClassTag](graph: 
Graph[VD, ED]) extends Seriali
       def pregel[A: ClassTag](
           initialMsg: A,
           maxIterations: Int = Int.MaxValue,
    +      checkpointInterval: Int = 25,
    --- End diff --
    
    Good point in both cases. I'm wondering if the periodic pregel 
checkpointing operation should be controlled by a config value instead. 
Suppose, for example, we create a config key 
`spark.graphx.pregel.checkpointInterval`. If it's set to the default value (0, 
to retain existing functionality), checkpointing is disabled. If it's set to a 
positive integer, the checkpointing is performed with that many iterations. 
Other values are invalid.


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