Thank you !I have sovled this problem,though I still don't know what' 
happened.I just copy some code of that program into PageRank example to modify 
the PageRank example.And then the problem get resolved.
Maybe there are some mistakes in the program I had write the first time.
Thank you again.


------------------ ???????? ------------------
??????: "Edward J. Yoon";<[email protected]>;
????????: 2014??1??8??(??????) ????7:01
??????: "[email protected]"<[email protected]>; 

????: Re: Hama:Messages must never be behind the vertex in ID



Please use the TRUNK.

And, you should provide more information. Please check whether
vertices are loaded correctly.

On Wed, Jan 8, 2014 at 6:04 PM, ?????? <[email protected]> wrote:
> Hello,
>         I run my own program in Hama.I use the function 
> sendMessageToNeighbors() to send messages to neighbors of each vertex.But I 
> get the following errors.
>
>
>        14/01/08 14:49:46 ERROR bsp.LocalBSPRunner: Exception during BSP 
> execution!
> java.lang.IllegalArgumentException: Messages must never be behind the vertex 
> in ID! Current Message ID: 2 vs. 5
>         at 
> org.apache.hama.graph.GraphJobRunner.iterate(GraphJobRunner.java:284)
>         at 
> org.apache.hama.graph.GraphJobRunner.doSuperstep(GraphJobRunner.java:229)
>         at org.apache.hama.graph.GraphJobRunner.bsp(GraphJobRunner.java:133)
>         at 
> org.apache.hama.bsp.LocalBSPRunner$BSPRunner.run(LocalBSPRunner.java:256)
>         at 
> org.apache.hama.bsp.LocalBSPRunner$BSPRunner.call(LocalBSPRunner.java:286)
>         at 
> org.apache.hama.bsp.LocalBSPRunner$BSPRunner.call(LocalBSPRunner.java:1)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:724)
>
>         I'm sure that all edges point to existing vertices.So I'm all adrift 
> about this error.Could you help me to solve this problem?Thank you a lot.
>         Best wishes.
>     Ping Liu
>            2014-1-8



-- 
Best Regards, Edward J. Yoon
@eddieyoon
.

Reply via email to