Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/9258#issuecomment-152154426
  
    @zsxwing I took a quick look and I have a high level question. Why not just 
do the checkpointing iterator? IIUC this approach involves reading the iterator 
back from disk to return the values. Wouldn't that be potentially expensive? 
Also, this doesn't fix it for local checkpointing.
    
    If we have a general checkpointing iterator, then RDD doesn't have to 
change much and we don't need to introduce another `CheckpointManager`, which I 
find a little clunky.


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