hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "步青云" <mailliup...@qq.com>
Subject 回复: Hama:Messages must never be behind the vertex in ID
Date Thu, 09 Jan 2014 07:26:02 GMT
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";<edwardyoon@apache.org>;
发送时间: 2014年1月8日(星期三) 晚上7:01
收件人: "user@hama.apache.org"<user@hama.apache.org>; 

主题: 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, 步青云 <mailliuping@qq.com> 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
.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message