[ https://issues.apache.org/jira/browse/GIRAPH-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101950#comment-13101950 ]
Hudson commented on GIRAPH-27: ------------------------------ Integrated in Giraph-trunk-Commit #3 (See [https://builds.apache.org/job/Giraph-trunk-Commit/3/]) GIRAPH-27: Mutable static global state in Vertex.java should be refactored. jake.mannix via aching. aching : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1167420 Files : * /incubator/giraph/trunk/CHANGELOG * /incubator/giraph/trunk/src/main/java/org/apache/giraph/bsp/CentralizedService.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/comm/BasicRPCCommunications.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/BasicVertex.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/BspService.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/BspServiceWorker.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/BspUtils.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/GraphMapper.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/GraphState.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/MutableVertex.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/Vertex.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/VertexRange.java * /incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/VertexResolver.java * /incubator/giraph/trunk/src/test/java/org/apache/giraph/TestBspBasic.java > 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