incubator-giraph-dev mailing list archives

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


Avery Ching commented on GIRAPH-34:

I think the analogy in Hadoop land would be closer to context.write(Writable key, Writable
value).  And after digging in the Hadoop code, I don't see them doing any copying, but the
slight difference is that the destination is always remote, so it's not an issue for them.
 Hmmm.  Okay, I guess I'll submit another patch that simply augments the Javadoc of sendMsg()
to emphasize that a message value must be not be modified by the user after it is used in
sendMsg().  I do agree that the object instantiation can be expensive, so perhaps the safety
isn't as valuable as the performance.

> 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