Github user dding3 commented on a diff in the pull request: https://github.com/apache/spark/pull/15125#discussion_r113021061 --- Diff: docs/graphx-programming-guide.md --- @@ -709,7 +709,8 @@ messages remaining. The following is the type signature of the [Pregel operator][GraphOps.pregel] as well as a *sketch* of its implementation (note: to avoid stackOverflowError due to long lineage chains, pregel support periodcally -checkpoint graph and messages by setting "spark.graphx.pregel.checkpointInterval"): +checkpoint graph and messages by setting "spark.graphx.pregel.checkpointInterval" to a positive number, +say 10. And set checkpoint directory as well using SparkContext.setCheckpointDir(directory: String)): --- End diff -- I reference the value in LDA and other ml algorithms in spark, by default their checkpointInterval is set to 10.
--- 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