Class RewriteInjectSparkLoopCheckpointing


  • public class RewriteInjectSparkLoopCheckpointing
    extends StatementBlockRewriteRule
    Rule: Insert checkpointing operations for caching purposes. Currently, we follow a heuristic of checkpointing (1) all variables used read-only in loops, and (2) intermediates used by multiple consumers. TODO (2) implement injection for multiple consumers (local and global).
    • Constructor Detail

      • RewriteInjectSparkLoopCheckpointing

        public RewriteInjectSparkLoopCheckpointing​(boolean checkParForContext)