Github user mengxr commented on the pull request:
https://github.com/apache/spark/pull/929#issuecomment-45067410
I don't think checkpointing every 3 iterations is a good choice. Could you
try different values, e.g., 3 and 20, and check the running times? Also, it
doesn't solve the StackOverflow problem because you need to materialize the
RDDs explicitly to cut the lineage.
---
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.
---