giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avery Ching (Created) (JIRA)" <>
Subject [jira] [Created] (GIRAPH-46) Race condition on superstep 1 with RPC servers not started by the time that requests are sent
Date Sat, 01 Oct 2011 18:14:33 GMT
Race condition on superstep 1 with RPC servers not started by the time that requests are sent

                 Key: GIRAPH-46
             Project: Giraph
          Issue Type: Bug
    Affects Versions: 0.70.0
            Reporter: Avery Ching
            Assignee: Avery Ching
            Priority: Minor
             Fix For: 0.70.0
         Attachments: diff.txt


occasionally (maybe one time in four), my giraph run fails because of the below RuntimeException.
According to code, it should never happen:

if (msgMap == null) { // should never happen after constructor throw new RuntimeException(
"sendMessage: msgMap did not exist for " + addr + " for vertex " + destVertex); }

This happens during superstep 1 (second superstep). My application actually *adds* edges on
superstep 1
(to make every out-edge also an in-edge of the destination), but since I am running only on
3 workers,
I am surprised if every worker would not had been registered in the RPC layer initially.

One hypothesis is that Hadoop does something funny, because one of my server was under heavy
load. Maybe Hadoop launched another worker to replace a slow worker? Can it happen?

java.lang.RuntimeException: sendMessage: msgMap did not exist for [hostname]
for vertex 875713
        at org.apache.giraph.comm.BasicRPCCommunications.sendMessageReq(
        at org.apache.giraph.graph.BasicVertex.sendMsg(
        at edu.cmu.selectlab.BP.BinaryBPVertex.compute(
        at org.apache.hadoop.mapred.MapTask.runNewMapper(
        at org.apache.hadoop.mapred.Child$
        at Method)
        at org.apache.hadoop.mapred.Child.main(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message