Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: (qmail 41928 invoked from network); 14 Apr 2011 09:00:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2011 09:00:45 -0000 Received: (qmail 89737 invoked by uid 500); 14 Apr 2011 09:00:45 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 89645 invoked by uid 500); 14 Apr 2011 09:00:45 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 89637 invoked by uid 99); 14 Apr 2011 09:00:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 09:00:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 09:00:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AAE49A195B for ; Thu, 14 Apr 2011 09:00:06 +0000 (UTC) Date: Thu, 14 Apr 2011 09:00:06 +0000 (UTC) From: "ChiaHung Lin (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <987769255.57229.1302771606696.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <630327588.48455.1302505025892.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HAMA-376) Refactor BSPMaster and GroomServer to allow rpc methods reuse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HAMA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaHung Lin updated HAMA-376: ------------------------------ Attachment: HAMA-376.patch The patch explicitly setJar so that BSPJob can find the resource. > 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, 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