Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4775495A6 for ; Wed, 20 Jun 2012 17:22:44 +0000 (UTC) Received: (qmail 34639 invoked by uid 500); 20 Jun 2012 17:22:44 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 34585 invoked by uid 500); 20 Jun 2012 17:22:44 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 34463 invoked by uid 500); 20 Jun 2012 17:22:43 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 34401 invoked by uid 99); 20 Jun 2012 17:22:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 17:22:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id C7D12141F4C for ; Wed, 20 Jun 2012 17:22:43 +0000 (UTC) Date: Wed, 20 Jun 2012 17:22:43 +0000 (UTC) From: "Jan van der Lugt (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <1970061788.34732.1340212963820.JavaMail.jiratomcat@issues-vm> In-Reply-To: <385446513.5556.1337639981017.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (GIRAPH-192) Move aggregators to a seperate sub-package 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/GIRAPH-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397650#comment-13397650 ] Jan van der Lugt commented on GIRAPH-192: ----------------------------------------- Nope, it seems I made some mistakes :-) Only fixed the ones I saw on the console, didn't know there was an html file too. Should be better now, learning something every day. > Move aggregators to a seperate sub-package > ------------------------------------------ > > Key: GIRAPH-192 > URL: https://issues.apache.org/jira/browse/GIRAPH-192 > Project: Giraph > Issue Type: Improvement > Components: examples > Affects Versions: 0.2.0 > Reporter: Jan van der Lugt > Assignee: Jan van der Lugt > Priority: Minor > Fix For: 0.2.0 > > Attachments: GIRAPH-192.patch, GIRAPH-192.patch, GIRAPH-192.patch, GIRAPH-192.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > Since aggregators will be re-used throughout many projects and algorithms, it makes sense to implement the most common ones in a separate sub-package. This will reduce the time required for users when they implement their projects based on Giraph, because the required aggregators are already in place. I implemented the following ones: > for int/long/float/double: min, max, product, sum, overwrite > for boolean: and, or, overwrite > Most of them speak for themselves, except for the overwrite one. This aggregator simply overwrites the stored value when a new value is aggregated. This is useful when one node is in some way a master node (for example a source node in an routing algorithm), and this node wants to broadcast a value to all other nodes. > Attached is a patch against trunk implementing the aggregators and patching some existing files so they use the .aggregators package instead of the .examples one. -- 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