Array exception when using out-of-core graph

2013-07-03 Thread Han JU
Hi, I've been testing some algorithm using the out-of-core feature, and I have an strange ArrayIndexOutOfBoundsException. In my computation class, the vertex value is a custom writable class which contains a long[]. And during the computation, when the code access this array (say at index 0),

Re: Bi-directional and multigraphs

2013-07-03 Thread Avery Ching
You can easily add bi-directional edges. When you load the edge, simply also load the reciprocal edge. I.e. if you add a-b, also add b-a. On 7/2/13 1:11 AM, Pascal Jäger wrote: Hi everyone, I am currently getting my hands on giraph which is why I am trying to implement a maximum flow

Re: Failed to compile Giraph for Hadoop YARN

2013-07-03 Thread Avery Ching
Eli, any thoughts? On 7/3/13 9:27 AM, Chui-Hui Chiu wrote: Hello, I tried to compile the Giraph-1.1.0-SNAPSHOT for hadoop_2.0.3 or hadoop_yarn but all failed. The error message while the compile command is mvn -Phadoop_yarn compile is = [INFO]

Re: Running Giraph job inside Java code

2013-07-03 Thread Avery Ching
Take a look at PageRankBenchmark, it is a stand alone java program that runs Giraph jobs. On 7/2/13 4:08 AM, Ahmet Emre Aladağ wrote: By the way, I have set the corresponding classes in the giraph configuration. GiraphConfiguration giraphConf = new GiraphConfiguration(config);

Re: Array exception when using out-of-core graph

2013-07-03 Thread Avery Ching
Claudio, any thoughts? On 7/3/13 3:52 AM, Han JU wrote: Hi, I've been testing some algorithm using the out-of-core feature, and I have an strange ArrayIndexOutOfBoundsException. In my computation class, the vertex value is a custom writable class which contains a long[]. And during the