Hi, all.
I am Peng Wang, a student trying to use and learn Hama.
I cloned the develop git repository of Hama.
I firstly tried the newest version in the tag, the tag: *0.7.0-SNAPSHOT.*
commit bef419747695d15de8a1087f44028ee40571b5f9
Author: Edward J. Yoon <edwardyoon@apache.org>
Date: *Fri Mar 29 00:44:59 2013* +0000
[maven-release-plugin] copy for tag 0.7.0-SNAPSHOT
git-svn-id:
https://svn.apache.org/repos/asf/hama/tags/0.7.0-SNAPSHOT@146236613f79535-47bb-0310-9956-ffa450edef68
But the tag: *0.6.3-RC3*
commit c9526b1272c83d641332667ce5d81d7ccc94be06
Author: Edward J. Yoon <edwardyoon@apache.org>
Date: * Sun Oct 6 08:27:00 2013* +0000
[maven-release-plugin] copy for tag 0.6.3-RC3
git-svn-id:
https://svn.apache.org/repos/asf/hama/tags/0.6.3-RC3@152959413f79535-47bb-0310-9956-ffa450edef68
*From the commit log, 0.7.0-SNAPSHOT is earlier than 0.6.3-RC3, *
So I used 0.6.3-RC3 instead of 0.7.0-SNAPSHOT (but on the website of
hama, 0.7.0-SNAPSHOT is the newest version)
Then I deployed Hama with the Pseudo Distributed Mode on my desktop with
3 task runners.
I tried PageRank with a small input of my own.
But it failes. And its log is:
java.lang.IllegalArgumentException: Messages must never be behind the
vertex in ID! Current Message ID: 100128 vs. 1004
at
org.apache.hama.graph.GraphJobRunner.iterate(GraphJobRunner.java:306)
at
org.apache.hama.graph.GraphJobRunner.doSuperstep(GraphJobRunner.java:254)
at org.apache.hama.graph.GraphJobRunner.bsp(GraphJobRunner.java:145)
at org.apache.hama.bsp.BSPTask.runBSP(BSPTask.java:177)
at org.apache.hama.bsp.BSPTask.run(BSPTask.java:146)
at
org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:1246)
Could you tell me what is the problem in my situation?
I check whether hama had finished the loading phase, and I found
"14/02/25 16:45:00 INFO graph.GraphJobRunner: 2918 vertices are loaded into
localhost:60340 "in the log.
So it had finished the loading phase.
After this, I read the source code, and I found during the loading,
peers would not exchange vertices with each other as hama 0.5.0 did.
So how does hama 0.6.3 solve the problem below: a peer load a vertex
which is belong to another peer?
Could you tell which branch or tag is a stable version?
And does it support fault tolerance for graph algorithms? and how can I
get it?
|