incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Commented] (GIRAPH-34) Failure of Vertex reflection for putVertexList from GIRAPH-27
Date Fri, 16 Sep 2011 18:45:18 GMT

] commented on GIRAPH-34:

This is an automatically generated e-mail. To reply, visit:

Review request for giraph.


The problem shows up when messages are sent locally, and therefore not
reflected.  Hence, after the message has been delivered to the other
local vertex, in the next superstep, if the vertex who sent the
message modifies the object, it will modify the message before the
receiving vertex has a chance to access it.  Also, combiners maybe
operate on the (shared) message simultaneously with the compute()
method, therefore potential issues could also occur with messages
eventually sent to remote workers.  The solution I am proposing is
that all messages should be copied to prevent this error from occuring
as it is pretty tough to debug.  An alternative would just be to tell
users to create copies themselves, but it's less convenient and not
intuitive in my opinion.

This addresses bug GIRAPH-34. /browse/GIRAPH-34




I passed local unittests (mvn package) and unittests on my local
machine's Hadop instance (mvn package



> Failure of Vertex reflection for putVertexList from GIRAPH-27 
> --------------------------------------------------------------
>                 Key: GIRAPH-34
>                 URL:
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Christian Kunz
>            Assignee: Avery Ching
>         Attachments: GIRAPH-34.patch
> Christian actually found this bug.  I am filing the JIRA on his behalf.  Here's my error
when running TestVertexRangeBalancer.  
> java.lang.RuntimeException: Call to returnwhose-lm/
failed on local exception:
> 	at org.apache.giraph.comm.BasicRPCCommunications.sendVertexListReq(
> 	at org.apache.giraph.graph.BspServiceWorker.exchangeVertexRanges(
> 	at
> 	at
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(
> 	at
> 	at org.apache.hadoop.mapred.Child$
> 	at Method)
> 	at
> 	at
> 	at org.apache.hadoop.mapred.Child.main(
> Caused by: Call to returnwhose-lm/ failed on
local exception:
> 	at org.apache.hadoop.ipc.Client.wrapException(
> 	at
> 	at org.apache.hadoop.ipc.RPC$Invoker.invoke(
> 	at $Proxy3.putVertexList(Unknown Source)
> 	at org.apache.giraph.comm.BasicRPCCommunications.sendVertexListReq(
> 	... 10 more
> Caused by:
> 	at
> 	at org.apache.hadoop.ipc.Client$Connection.receiveResponse(
> 	at org.apache.hadoop.ipc.Client$
> I identified and fixed the issue by making BasicVertex implement Configurable and making
the graph state set in BasicRPCCommunications.  There is one more error though that I'll try
and solve before putting up a reviewboard.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message