[
https://issues.apache.org/jira/browse/HAMA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018799#comment-13018799
]
Edward J. Yoon edited comment on HAMA-376 at 4/12/11 11:56 AM:
---------------------------------------------------------------
Besides class not found error, ...
Basically, your miniBSPCluster doesn't work with eclipse JUnit test and maven
build as below:
{code}
11/04/12 20:49:49 INFO bsp.BSPMaster: Cleaning up the system directory
11/04/12 20:49:49 INFO bsp.BSPMaster: file:/tmp/hadoop/bsp/system
11/04/12 20:49:49 INFO bsp.BSPMaster: java.lang.NullPointerException
11/04/12 20:49:49 INFO ipc.Server: IPC Server Responder: starting
11/04/12 20:49:49 INFO ipc.Server: IPC Server listener on 40000: starting
11/04/12 20:49:49 INFO ipc.Server: IPC Server handler 0 on 40000: starting
11/04/12 20:49:49 INFO bsp.BSPMaster: Starting RUNNING
11/04/12 20:49:50 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:50 INFO bsp.GroomServer: groom start
11/04/12 20:49:51 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:52 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:53 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:54 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:55 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:56 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
^CDestroying 1 processes
Destroying process..
Destroyed 1 processes
{code}
Can you find out the reason why?
was (Author: udanax):
Besides class not found error, ...
Basically, your miniBSPCluster doesn't work with eclipse JUnit test and maven
build as below:
{code}
11/04/12 20:49:49 INFO bsp.BSPMaster: Cleaning up the system directory
11/04/12 20:49:49 INFO bsp.BSPMaster: file:/tmp/hadoop/bsp/system
11/04/12 20:49:49 INFO bsp.BSPMaster: java.lang.NullPointerException
11/04/12 20:49:49 INFO ipc.Server: IPC Server Responder: starting
11/04/12 20:49:49 INFO ipc.Server: IPC Server listener on 40000: starting
11/04/12 20:49:49 INFO ipc.Server: IPC Server handler 0 on 40000: starting
11/04/12 20:49:49 INFO bsp.BSPMaster: Starting RUNNING
11/04/12 20:49:50 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:50 INFO bsp.GroomServer: groom start
11/04/12 20:49:51 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:52 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:53 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:54 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:55 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
11/04/12 20:49:56 INFO hama.MiniBSPCluster: Waitin for GroomServer up.
^CDestroying 1 processes
Destroying process..
Destroyed 1 processes
{code}
Can you find out this problem?
> Refactor BSPMaster and GroomServer to allow rpc methods reuse
> -------------------------------------------------------------
>
> Key: HAMA-376
> URL: https://issues.apache.org/jira/browse/HAMA-376
> Project: Hama
> Issue Type: Improvement
> Components: bsp
> Affects Versions: 0.3.0
> Environment: Debian squeeze/sid, java 1.6.0_22, Hama revision 1090950
> Reporter: ChiaHung Lin
> Assignee: ChiaHung Lin
> Labels: patch
> Fix For: 0.3.0
>
> Attachments: HAMA-376.patch, HAMA-376.patch
>
>
> The current Hama BSPMaster and GroomServer make use of dispatch() and
> report() function for communication. But the directives passed in is
> composite, which is a bit difficult to customize new directives for future
> use. The refactored version allows to pass customized directives by extending
> Directive class; and the customized directive will be processed with
> corresponded handler. Also, directives are put into queue, so the rpc method
> e.g. dispatch() do not need to go through the whole method until the
> execution is finished.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira