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 5E51097B8 for ; Fri, 4 Nov 2011 10:53:24 +0000 (UTC) Received: (qmail 20090 invoked by uid 500); 4 Nov 2011 10:53:24 -0000 Delivered-To: apmail-incubator-giraph-dev-archive@incubator.apache.org Received: (qmail 20017 invoked by uid 500); 4 Nov 2011 10:53:23 -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 20009 invoked by uid 99); 4 Nov 2011 10:53:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 10:53:23 +0000 X-ASF-Spam-Status: No, hits=-2001.2 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; Fri, 04 Nov 2011 10:53:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4D2C23317A3 for ; Fri, 4 Nov 2011 10:53:00 +0000 (UTC) Date: Fri, 4 Nov 2011 10:53:00 +0000 (UTC) From: "Claudio Martella (Commented) (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <510303808.553.1320403980317.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <136675936.11015.1317806614084.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GIRAPH-47) Export Worker's Context/State to vertices through pre/post/Application/Superstep 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-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143907#comment-13143907 ] Claudio Martella commented on GIRAPH-47: ---------------------------------------- Ok, I'm syncing with trunk and removing the previous pre/post/Superstep/Application. Two questions: - do we still want WorkerContext.preApplication() to throw InstantiationException and IllegalAccessException - does it still make sense to keep the RepresentativeVertex to just pass the graphState at each superstep? > Export Worker's Context/State to vertices through pre/post/Application/Superstep > -------------------------------------------------------------------------------- > > Key: GIRAPH-47 > URL: https://issues.apache.org/jira/browse/GIRAPH-47 > Project: Giraph > Issue Type: Improvement > Components: graph > Affects Versions: 0.70.0 > Reporter: Claudio Martella > Assignee: Claudio Martella > Attachments: GIRAPH-47.diff > > > It would be quite useful for vertices to reach some worker-related information stored i.e. in the GraphState class. > This information could be exported as a parameter to pre/post/Application/Superstep like this: > public void preApplication(Configurable workerObject); > public void postApplication(Configurable workerObject); > public void preSuperstep(Configurable workerObject); > public void postSuperstep(Configurable workerObject); > public Configurable getWorkerObject(); > Another possibility is to add a Context inner class to BasicVertex to store this information. -- 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