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 9C8E79BEC for ; Wed, 2 Nov 2011 12:10:19 +0000 (UTC) Received: (qmail 16621 invoked by uid 500); 2 Nov 2011 12:10:19 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 16598 invoked by uid 500); 2 Nov 2011 12:10:19 -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 16590 invoked by uid 99); 2 Nov 2011 12:10:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 12:10:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tommaso.teofili@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vx0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 12:10:09 +0000 Received: by vcbf1 with SMTP id f1so56555vcb.6 for ; Wed, 02 Nov 2011 05:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=trQL5gAvOJjW9izBq7KSPazTvTWwSPUNIcfHTC2Mu8A=; b=UCnpCJK33fn95IGjKkZw1SsajqbA377lW4JyYoKPhdeS2M3ywmIYR6qIEMfCjiDRnJ TfAp9C+EmIpsJ3tk0aaPjwZym6ZBAz9RHDc4anawiGdGksH5Ikzrz1QCD9UnwooVOOcF XH8RWm6UEZxZOgrMMLs75YWAUBm8bJROOPhP8= Received: by 10.236.116.9 with SMTP id f9mr6867651yhh.0.1320235788799; Wed, 02 Nov 2011 05:09:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.102.169 with HTTP; Wed, 2 Nov 2011 05:09:07 -0700 (PDT) In-Reply-To: References: From: Tommaso Teofili Date: Wed, 2 Nov 2011 13:09:07 +0100 Message-ID: Subject: Re: Please review new APIs. To: hama-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=485b397dccfb36102504b0bf5986 --485b397dccfb36102504b0bf5986 Content-Type: text/plain; charset=ISO-8859-1 2011/11/2 Edward J. Yoon > > I'm sure that not every job actually needs a cleanup or a setup. > > You're right. Almost BSP applications should override bsp() method > but, setup() and cleaner() methods are not as you said. Let's fix > them. > Agreed +1 > > > Generally I would suggest to integrate the OutputCollector and the > > RecordReader into the BSPPeerImpl. > > So our peer is like the context in Hadoop. > > Good idea. > +1 here too Tommaso > > On Wed, Nov 2, 2011 at 9:03 PM, Thomas Jungblut > wrote: > > Yes. When I reworked that API, I made a default implementation in our > > abstract BSP class. > > So the user has to override the methods for himself, if he needs to. > > I'm sure that not every job actually needs a cleanup or a setup. > > > > Generally I would suggest to integrate the OutputCollector and the > > RecordReader into the BSPPeerImpl. > > So our peer is like the context in Hadoop. > > But that is just a minor thing. It is a great improvement ;) > > > > 2011/11/2 Edward J. Yoon > > > >> There're bsp(), setup() and cleaner() methods. > >> > >> What is you suggestion? > >> > >> On Wed, Nov 2, 2011 at 8:47 PM, Thomas Jungblut > >> wrote: > >> > Have a look at the combiner class. I know that this is just a "test", > but > >> > it is really messy if the user does not use the methods, but is > forced to > >> > override them. > >> > > >> > 2011/11/2 Edward J. Yoon > >> > > >> >> Why? > >> >> > >> >> On Wed, Nov 2, 2011 at 8:21 PM, Thomas Jungblut > >> >> wrote: > >> >> > I totally dislike that BSP class now has abstract methods instead > of > >> >> > default implementations. > >> >> > > >> >> > 2011/11/2 Edward J. Yoon > >> >> > > >> >> >> Hi all, > >> >> >> > >> >> >> As you know, recently combiners and IO are added. > >> >> >> > >> >> >> Please review them from user viewpoint. > >> >> >> > >> >> >> > >> >> >> > >> >> > >> > http://svn.apache.org/repos/asf/incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/PiEstimator.java > >> >> >> > >> >> >> I'm testing multiple tasks and IO features on 100 nodes cluster > using > >> >> >> 10 tasks per node. If there's no issue, I'll close HAMA-258. > >> >> >> > >> >> >> Thanks. > >> >> >> > >> >> >> -- > >> >> >> Best Regards, Edward J. Yoon > >> >> >> @eddieyoon > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Thomas Jungblut > >> >> > Berlin > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Best Regards, Edward J. Yoon > >> >> @eddieyoon > >> >> > >> > > >> > > >> > > >> > -- > >> > Thomas Jungblut > >> > Berlin > >> > > >> > >> > >> > >> -- > >> Best Regards, Edward J. Yoon > >> @eddieyoon > >> > > > > > > > > -- > > Thomas Jungblut > > Berlin > > > > > > -- > Best Regards, Edward J. Yoon > @eddieyoon > --485b397dccfb36102504b0bf5986--