Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: bsp core
    • Labels:

      Description

      We should extend the BSPJob to let the user set the checkpoint intervals.

      job.setCheckpointInterval(5);

      This method should put the parameter into the configuration of the job with a meaningful key, e.G. "bsp.checkpoint.interval".

      In the BSPPeerImpl we should check if this interval has been reached and make the checkpointing accordingly.
      Checkpointing gets called in BSPPeerImpl#sync(), there is already a condition which checks if checkpointing is enabled.

      Plus points:
      If you can provide an additional method in BSPJob that let's the user enable or disable checkpointing. Hint: Configuration key is: "bsp.checkpoint.enabled".

        Activity

        Edward J. Yoon created issue -
        Edward J. Yoon made changes -
        Field Original Value New Value
        Assignee Edward J. Yoon [ udanax ]
        Fix Version/s 0.4.0 [ 12316526 ]
        Affects Version/s 0.3.0 [ 12315100 ]
        Component/s bsp [ 12313030 ]
        Edward J. Yoon made changes -
        Labels newbie
        Edward J. Yoon made changes -
        Assignee Edward J. Yoon [ udanax ]
        Thomas Jungblut made changes -
        Description Currently it works? It would be nice if it is configurable for a user. We should extend the BSPJob to let the user set the checkpoint intervals.

        bq. job.setCheckpointInterval(5);

        This method should put the parameter into the configuration of the job with a meaningful key, e.G. "bsp.checkpoint.interval".

        In the BSPPeerImpl we should check if this interval has been reached and make the checkpointing accordingly.
        Checkpointing gets called in BSPPeerImpl#sync(), there is already a condition which checks if checkpointing is enabled.

        Plus points:
        If you can provide an additional method in BSPJob that let's the user enable or disable checkpointing. Hint: Configuration key is: "bsp.checkpoint.enabled".
        Edward J. Yoon made changes -
        Fix Version/s 0.5.0 [ 12316942 ]
        Fix Version/s 0.4.0 [ 12316526 ]
        Affects Version/s 0.4.0 [ 12316526 ]
        Affects Version/s 0.3.0 [ 12315100 ]
        Thomas Jungblut made changes -
        Parent HAMA-505 [ 12541191 ]
        Issue Type Improvement [ 4 ] Sub-task [ 7 ]
        Suraj Menon made changes -
        Assignee Suraj Menon [ surajsmenon ]
        Suraj Menon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Suraj Menon made changes -
        Attachment HAMA-498-445.patch [ 12517030 ]
        Edward J. Yoon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Suraj Menon
            Reporter:
            Edward J. Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development