[
https://issues.apache.org/jira/browse/HAMA-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward J. Yoon updated HAMA-459:
--------------------------------
Attachment: HAMA-459.patch
This patch fixes this problem and my test passed.
{code}
2011-10-21 12:54:13,738 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 2
2011-10-21 12:54:17,740 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 2
2011-10-21 12:54:21,742 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 2
2011-10-21 12:54:25,744 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 2
2011-10-21 12:54:29,746 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 2
2011-10-21 12:54:32,760 INFO org.apache.hama.bsp.TaskRunner: Finishes executing
BSPPeer child process.
2011-10-21 12:54:32,769 INFO org.apache.hama.bsp.TaskRunner: Finishes executing
BSPPeer child process.
2011-10-21 12:54:33,748 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 2
2011-10-21 12:54:36,750 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 1
2011-10-21 12:54:38,752 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 0
2011-10-21 12:54:40,753 INFO org.apache.hama.bsp.GroomServer: xxxxxxxx 0
{code}
> GroomServerStatus.countTask() always returns 1
> ----------------------------------------------
>
> Key: HAMA-459
> URL: https://issues.apache.org/jira/browse/HAMA-459
> Project: Hama
> Issue Type: Bug
> Components: bsp
> Affects Versions: 0.3.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.4.0
>
> Attachments: HAMA-459.patch
>
>
> The reason is that groom reports each task status in a loop.
> {code}
> public void doReport(TaskStatus taskStatus) {
> GroomServerStatus groomStatus = new GroomServerStatus(groomServerName,
> updateTaskStatus(taskStatus), failures, maxCurrentTasks, rpcServer,
> {code}
--
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