Oh, please try after set "hama.check.missing.vertex" to false in job configuration.
On Wed, Feb 26, 2014 at 5:14 PM, developer wang <[email protected]> wrote: > Thank you very much. > > Since I think the framework should not decide whether the graph should > self-reference, so I disable this config. (Actually when I used 0.6.0, I > also disabled this config) > > Since I use my PC to test whether my application works, I use a small graph. > (It does have a lot of dangling node) > > The dataset and the PageRank is attached. > > Thank you very much. > > > 2014-02-26 16:04 GMT+08:00 Edward J. Yoon <[email protected]>: > >> Hi Wang, >> >> Can you send me your input data so that I can debug? >> >> On Wed, Feb 26, 2014 at 4:55 PM, developer wang <[email protected]> >> wrote: >> > Firstly, thank you very much for reply. >> > >> > But in the log, I found "14/02/25 16:45:00 INFO graph.GraphJobRunner: >> > 2918 >> > vertices are loaded into localhost:60340 " >> > So it had finished the loading phase. is this true? >> > >> > Another problem is that: >> > I found during the loading, peers would not exchange vertices with each >> > other as hama 0.6.0 did. >> > So how does hama 0.6.3 solve the problem below: a peer load a vertex >> > which >> > is belong to another peer? (for example, suppose 3 peers for this task >> > and >> > the partitoner is Hash, peer #1 loads vertex 2, in 0.6.3, peer #2 did >> > not >> > send vertex 2 to peer #2) >> > >> > >> > 2014-02-26 15:46 GMT+08:00 Edward J. Yoon <[email protected]>: >> > >> >> > I tried PageRank with a small input of my own. >> >> >> >> Hi Wang, >> >> >> >> This error often occurs when there is a record conversion error. So, >> >> you should check whether the vertex reader works correctly. >> >> >> >> And, I highly recommend you to use latest TRUNK version[1] as possible. >> >> >> >> 1. >> >> >> >> http://wiki.apache.org/hama/GettingStarted#Build_latest_version_from_source >> >> >> >> Thank you. >> >> >> >> On Wed, Feb 26, 2014 at 1:44 PM, developer wang >> >> <[email protected]> >> >> wrote: >> >> > 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 <[email protected]> >> >> > 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@1462366 >> >> > 13f79535-47bb-0310-9956-ffa450edef68 >> >> > >> >> > But the tag: 0.6.3-RC3 >> >> > commit c9526b1272c83d641332667ce5d81d7ccc94be06 >> >> > Author: Edward J. Yoon <[email protected]> >> >> > 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@1529594 >> >> > 13f79535-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? >> >> > >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Edward J. Yoon (@eddieyoon) >> >> Chief Executive Officer >> >> DataSayer, Inc. >> > >> > >> >> >> >> -- >> Edward J. Yoon (@eddieyoon) >> Chief Executive Officer >> DataSayer, Inc. > > -- Edward J. Yoon (@eddieyoon) Chief Executive Officer DataSayer, Inc.
