Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-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 8EE6410C74 for ; Mon, 30 Sep 2013 09:22:56 +0000 (UTC) Received: (qmail 17247 invoked by uid 500); 30 Sep 2013 09:22:38 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 17188 invoked by uid 500); 30 Sep 2013 09:22:28 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 17159 invoked by uid 99); 30 Sep 2013 09:22:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 09:22:24 +0000 Date: Mon, 30 Sep 2013 09:22:23 +0000 (UTC) From: "Ilias Kapouranis (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HAMA-807) Make aggregators skip supersteps 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-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781698#comment-13781698 ] Ilias Kapouranis commented on HAMA-807: --------------------------------------- I don't think it would be much of an issue. - We have the List where we keep all the aggregators. - When executeAggregator(int aggrIndex) is called, we move the aggrIndex to a new List (say tempList) which keeps a pair (aggrIndex,aggrClass). - At the end of the superstep, if tempList is empty then all the aggregators will be executed, else only those which are in it. - When all aggregators have finished, we move the pairs from tempList to the main List and we put the aggregators to their previous indexes. Hope this helps. > Make aggregators skip supersteps > -------------------------------- > > Key: HAMA-807 > URL: https://issues.apache.org/jira/browse/HAMA-807 > Project: Hama > Issue Type: New Feature > Components: graph > Affects Versions: 0.6.2 > Reporter: Anastasis Andronidis > Assignee: Anastasis Andronidis > Priority: Minor > Labels: aggregator, features, graph > Fix For: 0.6.3 > > > Users should be able to control their aggregators better by making aggregators to skip calculations in specific supersteps. > This functionality can be accessed by the method: > skipSuperstepForAggrigator(int aggrIndex); -- This message was sent by Atlassian JIRA (v6.1#6144)