Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: (qmail 74761 invoked from network); 11 Oct 2010 06:42:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Oct 2010 06:42:59 -0000 Received: (qmail 36629 invoked by uid 500); 11 Oct 2010 06:42:59 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 36517 invoked by uid 500); 11 Oct 2010 06:42:57 -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 36472 invoked by uid 99); 11 Oct 2010 06:42:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 06:42:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 06:42:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9B6gWuI024083 for ; Mon, 11 Oct 2010 06:42:32 GMT Message-ID: <12065412.71641286779352801.JavaMail.jira@thor> Date: Mon, 11 Oct 2010 02:42:32 -0400 (EDT) From: "Edward J. Yoon (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Commented: (HAMA-304) Allow BSP peers to get a list of all other peers executing tasks of the same job In-Reply-To: <402010.69001286752410818.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919734#action_12919734 ] Edward J. Yoon commented on HAMA-304: ------------------------------------- And, it would be nice if we can get also the IDs of the bspPeer and task with hostname:port, via getPeerAddresses() in BSP function. > Allow BSP peers to get a list of all other peers executing tasks of the same job > -------------------------------------------------------------------------------- > > Key: HAMA-304 > URL: https://issues.apache.org/jira/browse/HAMA-304 > Project: Hama > Issue Type: New Feature > Reporter: Filipe Manana > Assignee: Filipe Manana > Attachments: hama-304.patch > > > Hi, > Currently (as in the PiEstimator example), when a peer wants to send a message to other peer, it has to know in advance its hostname and port. This is likely fine for very small clusters, but not convenient for reasonably sized clusters. > The following patch allows a peer to get a list of all other peers (collection of InetSocketAddress) so that it doesn't force a BSP job to know in advance the hostname and ports of the peers. > The implementation might not be very efficient for very large clusters, as a list of groom server addresses is sent in each HeartBeat response. This is something I think it should be improved sometime later. > Feedback welcome. > cheers -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.