[ 
https://issues.apache.org/jira/browse/HAMA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462445#comment-13462445
 ] 

Edward J. Yoon commented on HAMA-648:
-------------------------------------

I think, you can verify whether superstep counter is working correctly as 
following:

{code}
bsp() {

  for (int i = 0; i < 10; i++) {
    assertEquals(i, peer.getSuperstepCount());
    peer.sync();
  }

}
{code}
                
> Fix supercount in BSPPeer
> -------------------------
>
>                 Key: HAMA-648
>                 URL: https://issues.apache.org/jira/browse/HAMA-648
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Yuesheng Hu
>            Assignee: Yuesheng Hu
>             Fix For: 0.6.0
>
>         Attachments: HAMA-648.patch
>
>
> Because super-step start with 0, so the superstep cout should be current 
> Superstep - 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to