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 B1AFD413C for ; Thu, 7 Jul 2011 21:33:51 +0000 (UTC) Received: (qmail 7742 invoked by uid 500); 7 Jul 2011 21:33:51 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 7686 invoked by uid 500); 7 Jul 2011 21:33:51 -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 7678 invoked by uid 99); 7 Jul 2011 21:33:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 21:33:50 +0000 X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thomas.jungblut@googlemail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vw0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 21:33:44 +0000 Received: by vws2 with SMTP id 2so1188169vws.6 for ; Thu, 07 Jul 2011 14:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vQeoWgSF/ihq1NZqhIUDhrjrtsTA58KHt8av1mUyGyE=; b=Qnff6bM/caqRfRTyYpk+G/9j0Abkgu3E7kMsfLTBZSzo5fk8U85QgO57SWSlnXKbCo +/yL/Kq36M0twP65oWl1Oj3oi7HiunRFPRYhLavLxst3TnrMI/AxwHBXnJ58PM1YVG1D GCkXjGMIQne9ewT14TYqL2Htac+nHvoAqvNkE= MIME-Version: 1.0 Received: by 10.52.178.98 with SMTP id cx2mr1753679vdc.91.1310074403663; Thu, 07 Jul 2011 14:33:23 -0700 (PDT) Received: by 10.52.113.202 with HTTP; Thu, 7 Jul 2011 14:33:23 -0700 (PDT) In-Reply-To: References: Date: Thu, 7 Jul 2011 23:33:23 +0200 Message-ID: Subject: Re: About HAMA-410 From: Thomas Jungblut To: hama-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf3071cd0c75af2604a7817761 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3071cd0c75af2604a7817761 Content-Type: text/plain; charset=ISO-8859-1 Yes, that is already implemented in the latest patch. That is quite okay, I would be +1 to let each task be a BSPPeer. Or actually, has a BSPPeer, maybe we are going to add some kind of JVM reuse, then we just have to set a new BSPPeer instead of swapping the whole task. Overall I thought of this cascading design: >BSPMaster ->Groom1 -->Task1 -->Task2 ->Groom2 -->Task3 So each task can directly communicate with other tasks using RPC. (Altough I'm not a great friend of this RPC stuff [1]) Grooms are only there to communicate with each task, for pinging tasks to be alive. And the BSPMaster is responsible to keep track of the availability of the grooms. We should take care of syncs and use them as sparse as possible, since they tend to be a large bottleneck. What about the barrier sync of zookeeper? Does he can deal with these multiple tasks? Would each task be a znode? [1]: https://issues.apache.org/jira/browse/HAMA-358?focusedCommentId=13059229&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13059229 2011/7/7 Edward J. Yoon : > Invoked (child) process will become a BSPPeer. > > On Thu, Jul 7, 2011 at 9:14 PM, Thomas Jungblut > wrote: >> Just for clarification: >> What is your plan now? >> To setup a BSPPeer for several tasks on a server (groom) or is the >> groom now the one and only BSPPeer? >> >> 2011/7/7 Edward J. Yoon : >>> Hi, >>> >>> To support multi-tasks, I'm thinking about merging BSPPeer and Task. >>> Then, communication will be occurred among Tasks directly. I think, >>> there's no need to manage BSPPeers inside GroomServer. >>> >>> Can we think about the latent side-effects from this decision, together? >>> >>> Thanks. >>> >>> -- >>> Best Regards, Edward J. Yoon >>> @eddieyoon >>> >> >> >> >> -- >> Thomas Jungblut >> Berlin >> >> mobile: 0170-3081070 >> >> business: thomas.jungblut@testberichte.de >> private: thomas.jungblut@gmail.com >> > > > > -- > Best Regards, Edward J. Yoon > @eddieyoon > -- Thomas Jungblut Berlin mobile: 0170-3081070 business: thomas.jungblut@testberichte.de private: thomas.jungblut@gmail.com --20cf3071cd0c75af2604a7817761--