incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <>
Subject [jira] [Commented] (HAMA-444) All tasks should be finished at the last iteration
Date Mon, 26 Sep 2011 05:53:26 GMT


Edward J. Yoon commented on HAMA-444:

This is not related with ZK race condition issue.

Currently, Child process closes BSPPeer and GroomServer reports TaskStatus when task is done
without error.

            if (!tip.runner.isAlive()) {
              if (taskStatus.getRunState() != TaskStatus.State.FAILED) {

But, each BSP task can be finished differently. For example, 

bsp() {
  while(condition is ture) {
    ... local computation
    bsp.send(something, toOtherHost);

    if(condition is ture) {"This task is finished at " + getSuperstepCount());

In this case, current comparison logic of barrier can be problematic because finished tasks
won't create znode anymore.

> All tasks should be finished at the last iteration
> --------------------------------------------------
>                 Key: HAMA-444
>                 URL:
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>             Fix For: 0.4.0
> Each BSP task can be finished differently with their each conditions. In this case, all
tasks should be finished at the last iteration or comparison logic of barrier should be fixed
to avoid hang problem.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message