incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <>
Subject [jira] [Updated] (HAMA-376) Refactor BSPMaster and GroomServer to allow rpc methods reuse
Date Wed, 27 Apr 2011 13:26:03 GMT


Edward J. Yoon updated HAMA-376:

    Attachment: testjob.jar

Have you tried to build w/ maven? The patch still not work.

As I mentioned above, we won't use ant build anymore. 

Here's my new patch.

-rw-r--r-- 1 edward sudo 2881 2011-04-27 21:27
-rw-r--r-- 1 edward sudo 2918 2011-04-27 21:35 testjob.jar

Since testjob.jar is not particularly big, we can put this file to SVN repository. 

Maven build (and also eclipse test) is succeed.

Tests run: 22, Failures: 0, Errors: 0, Skipped: 0

[INFO] --- maven-jar-plugin:2.3:jar (default-jar) @ hama-core ---
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:50.971s
[INFO] Finished at: Wed Apr 27 22:11:43 KST 2011
[INFO] Final Memory: 17M/239M
[INFO] ------------------------------------------------------------------------
edward@slave:~/workspace/hama-trunk$ ls -al src/test/testjar/

> Refactor BSPMaster and GroomServer to allow rpc methods reuse
> -------------------------------------------------------------
>                 Key: HAMA-376
>                 URL:
>             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, HAMA-376.patch, HAMA-376.patch,
HAMA-376.patch, HAMA-376.patch, HAMA-376_for_maven.patch, testjob.jar
> 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:

View raw message