You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by ap...@apache.org on 2013/01/02 07:00:43 UTC
git commit: GIRAPH-463: Create VertexResolver only once (apresta)
Updated Branches:
refs/heads/trunk 11dce4335 -> 0503b2075
GIRAPH-463: Create VertexResolver only once (apresta)
Project: http://git-wip-us.apache.org/repos/asf/giraph/repo
Commit: http://git-wip-us.apache.org/repos/asf/giraph/commit/0503b207
Tree: http://git-wip-us.apache.org/repos/asf/giraph/tree/0503b207
Diff: http://git-wip-us.apache.org/repos/asf/giraph/diff/0503b207
Branch: refs/heads/trunk
Commit: 0503b207524342c3df613b88e4d2943ffe04fd17
Parents: 11dce43
Author: Alessandro Presta <al...@fb.com>
Authored: Fri Dec 28 14:33:55 2012 -0800
Committer: Alessandro Presta <al...@fb.com>
Committed: Tue Jan 1 22:00:04 2013 -0800
----------------------------------------------------------------------
CHANGELOG | 2 ++
.../giraph/comm/netty/NettyWorkerServer.java | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/giraph/blob/0503b207/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 6e6e777..6559d2c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,8 @@
Giraph Change Log
Release 0.2.0 - unreleased
+ GIRAPH-463: Create VertexResolver only once (apresta)
+
GIRAPH-457: update module names (nitay)
GIRAPH-455: Add meta information to built jars (nitay)
http://git-wip-us.apache.org/repos/asf/giraph/blob/0503b207/giraph-core/src/main/java/org/apache/giraph/comm/netty/NettyWorkerServer.java
----------------------------------------------------------------------
diff --git a/giraph-core/src/main/java/org/apache/giraph/comm/netty/NettyWorkerServer.java b/giraph-core/src/main/java/org/apache/giraph/comm/netty/NettyWorkerServer.java
index 8012397..2f95a89 100644
--- a/giraph-core/src/main/java/org/apache/giraph/comm/netty/NettyWorkerServer.java
+++ b/giraph-core/src/main/java/org/apache/giraph/comm/netty/NettyWorkerServer.java
@@ -178,9 +178,9 @@ public class NettyWorkerServer<I extends WritableComparable,
}
// Resolve all graph mutations
+ VertexResolver<I, V, E, M> vertexResolver =
+ conf.createVertexResolver(graphState);
for (I vertexIndex : resolveVertexIndexSet) {
- VertexResolver<I, V, E, M> vertexResolver =
- conf.createVertexResolver(graphState);
Vertex<I, V, E, M> originalVertex =
service.getVertex(vertexIndex);