Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 584029D82 for ; Thu, 9 Feb 2012 09:21:42 +0000 (UTC) Received: (qmail 2051 invoked by uid 500); 9 Feb 2012 09:21:40 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 1860 invoked by uid 500); 9 Feb 2012 09:21:28 -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 1813 invoked by uid 99); 9 Feb 2012 09:21:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 09:21:22 +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, 09 Feb 2012 09:21:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8649A1AC8F5 for ; Thu, 9 Feb 2012 09:20:59 +0000 (UTC) Date: Thu, 9 Feb 2012 09:20:59 +0000 (UTC) From: "Edward J. Yoon (Updated) (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <1988556014.18667.1328779259551.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <920517613.11485.1328364953331.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HAMA-502) Message API Improvement 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-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-502: -------------------------------- Attachment: generic.patch attach my rough test patch. > Message API Improvement > ----------------------- > > Key: HAMA-502 > URL: https://issues.apache.org/jira/browse/HAMA-502 > Project: Hama > Issue Type: Improvement > Components: bsp > Affects Versions: 0.4.0 > Reporter: Thomas Jungblut > Assignee: Edward J. Yoon > Labels: newbie > Fix For: 0.5.0 > > Attachments: generic.patch > > > Accordingly what we have discussed on the mailing list, we want to switch the API from the restricted BSPMessage type to . > So send is going to look like this: > bq. public final void send(String peerName, msg) > And receive: > bq. public final getCurrentMessage() > There should be no backward compatibility issues because BSPMessage is currently a "child" of Writable. > All the related class are: > Interface: BSPPeer, MessageManager > Class: BSPPeerImpl, HadoopMessageManagerImpl > Maybe other class like BSPMessageBundle must be widened to use . -- 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