Return-Path: X-Original-To: apmail-incubator-giraph-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-giraph-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 D98C1974F for ; Thu, 29 Sep 2011 19:50:09 +0000 (UTC) Received: (qmail 60476 invoked by uid 500); 29 Sep 2011 19:50:09 -0000 Delivered-To: apmail-incubator-giraph-dev-archive@incubator.apache.org Received: (qmail 60449 invoked by uid 500); 29 Sep 2011 19:50:09 -0000 Mailing-List: contact giraph-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: giraph-dev@incubator.apache.org Delivered-To: mailing list giraph-dev@incubator.apache.org Received: (qmail 60441 invoked by uid 99); 29 Sep 2011 19:50:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 19:50:09 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 19:50:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 96EB22A1F24 for ; Thu, 29 Sep 2011 19:49:45 +0000 (UTC) Date: Thu, 29 Sep 2011 19:49:45 +0000 (UTC) From: "Avery Ching (Commented) (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <13351816.8824.1317325785620.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <185546435.2003.1314586657723.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GIRAPH-10) Aggregators are not exported 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/GIRAPH-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117569#comment-13117569 ] Avery Ching commented on GIRAPH-10: ----------------------------------- This is definitely an open question here. Here's a quick thought off the top of my head. How about something like: public interface AggregatorsWriter { void initialize(TaskAttemptContext context, int superstep) throws IOException; void writeAggregators(Collection> aggregators) throws IOException, InterruptedException; void close(TaskAttemptContext context) throws IOException, InterruptedException; } Then we could define a method that lets the user select the frequency of how frequently to write the aggregators maybe with an enum (ALL_SUPERSTEPS, LAST_SUPERSTEP...). We could easily implement a default AggregatorsWriter that simply dumps the name and aggregator values with the registered aggregator name (maybe class name too) and then the value.toString(). And users can implement something better if they like. Another alternative would be to support writing aggregators separately by the type, but might be a little excessive and could be done later....hopefully someone else also chimes in with some thoughts. > Aggregators are not exported > ---------------------------- > > Key: GIRAPH-10 > URL: https://issues.apache.org/jira/browse/GIRAPH-10 > Project: Giraph > Issue Type: New Feature > Reporter: Avery Ching > Priority: Minor > > Currently, aggregator values cannot be saved after a Giraph job. There should be a way to do this. -- 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