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 4A49A735B for ; Fri, 9 Sep 2011 01:50:31 +0000 (UTC) Received: (qmail 29428 invoked by uid 500); 9 Sep 2011 01:50:31 -0000 Delivered-To: apmail-incubator-giraph-dev-archive@incubator.apache.org Received: (qmail 29392 invoked by uid 500); 9 Sep 2011 01:50:31 -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 29383 invoked by uid 99); 9 Sep 2011 01:50:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 01:50:30 +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; Fri, 09 Sep 2011 01:50:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 06C51898A8 for ; Fri, 9 Sep 2011 01:50:09 +0000 (UTC) Date: Fri, 9 Sep 2011 01:50:09 +0000 (UTC) From: "Dmitriy V. Ryaboy (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <310951727.5896.1315533009024.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1743211369.4258.1315507209065.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GIRAPH-27) Mutable static global state in Vertex.java should be refactored 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-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100852#comment-13100852 ] Dmitriy V. Ryaboy commented on GIRAPH-27: ----------------------------------------- Avery, looks like you forget to add GraphState to svn before generating the patch. > Mutable static global state in Vertex.java should be refactored > --------------------------------------------------------------- > > Key: GIRAPH-27 > URL: https://issues.apache.org/jira/browse/GIRAPH-27 > Project: Giraph > Issue Type: Improvement > Components: graph > Affects Versions: 0.70.0 > Reporter: Jake Mannix > Assignee: Jake Mannix > Attachments: GIRAPH-27.patch, GIRAPH-27.patch > > > Vertex.java has a bunch of static methods for getting/setting global graph state (total number of vertices, edges, a reference to the GraphMapper, etc). Refactoring this into a GraphState object, which every Vertex can hold onto a reference to (yes, a tiny bit more memory per Vertex, but in comparison to what's already in there...) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira