[
https://issues.apache.org/jira/browse/HAMA-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213635#comment-13213635
]
ChiaHung Lin edited comment on HAMA-503 at 2/22/12 2:26 PM:
------------------------------------------------------------
That looks good! The code is a bit verbose, but it seems unavoidable.
One more issue, how if users want to reuse some supersteps?
{code}
step1
spte2
for(...){
step3
...
step4
}
{code}
step5
My original thought was to use e.g. command pattern. So when users want to
reuse steps, object such as For can be applied to contain condition and several
steps for reuse. Some other conditions may also need to take into account, so
the procedure may be more flexible.
was (Author: chl501):
That looks good! The code is a bit verbose, but it seems unavoidable.
One more issue, how if users want to reuse some supersteps?
step1
spte2
for(...){
step3
...
step4
}
step5
My original thought was to use e.g. command pattern. So when users want to
reuse steps, object such as For can be applied to contain condition and several
steps for reuse. Some other conditions may also need to take into account, so
the procedure may be more flexible.
> Chainable computations for tault tolerance
> ------------------------------------------
>
> Key: HAMA-503
> URL: https://issues.apache.org/jira/browse/HAMA-503
> Project: Hama
> Issue Type: Sub-task
> Components: bsp
> Affects Versions: 0.4.0
> Reporter: Thomas Jungblut
> Assignee: Thomas Jungblut
> Fix For: 0.5.0
>
> Attachments: HAMA-510.patch
>
>
> refactor bsp() in allowing checkpointed messages to be recovered.
> ChiaHung Lin had a fancy idea in chaining superstep class to make the whole
> recovering more convenient and less error prone, or at least possible.
> A user does not define a BSP anymore, instead he defines a single superstep
> inside of a computation class. A user is able to chain these in a specific
> ordering. After each of this computation the framework calls sync() and
> exchanges the messages.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira