Re: IntIntNullTextInputFormat problem

2014-02-04 Thread Alexander Frolov
Sebastian, thank you very much for your help! On Tue, Feb 4, 2014 at 10:10 AM, Sebastian Schelter s...@apache.org wrote: Hi Alexander, the only inputformat that we have which is compatible with SimpleShortestPathsComputation is the

Re: IntIntNullTextInputFormat problem

2014-02-03 Thread Sebastian Schelter
Hi Alexander, what do you use as type for your vertex ids? It looks that you are trying to use longs, while IntIntNullTextInputFormat only provides ints, that could be the error. --sebastian On 02/03/2014 05:06 PM, Alexander Frolov wrote: Hello, I am trying to load data in from file in

Re: IntIntNullTextInputFormat problem

2014-02-03 Thread Alexander Frolov
On Mon, Feb 3, 2014 at 8:20 PM, Sebastian Schelter s...@apache.org wrote: Hi Alexander, what do you use as type for your vertex ids? It looks that you are trying to use longs, while IntIntNullTextInputFormat only provides ints, that could be the error. --sebastian I also thought so, but

IntIntNullTextInputFormat problem

2014-02-03 Thread Alexander Frolov
Hello, I am trying to load data in from file in IntIntNullTextInputFormat. But I get is the following message: [hduser@localhost ~]$ $HADOOP_HOME/bin/hadoop jar $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar

Re: IntIntNullTextInputFormat problem

2014-02-03 Thread Sebastian Schelter
What types does the vertex class that you use in your computation require? On 02/03/2014 05:28 PM, Alexander Frolov wrote: On Mon, Feb 3, 2014 at 8:20 PM, Sebastian Schelter s...@apache.org wrote: Hi Alexander, what do you use as type for your vertex ids? It looks that you are trying to use

Re: IntIntNullTextInputFormat problem

2014-02-03 Thread Alexander Frolov
I've tried .LongLongNullTextInputFormat and got this: [hduser@localhost ~]$ $HADOOP_HOME/bin/hadoop jar $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar org.apache.giraph.GiraphRunner

Re: IntIntNullTextInputFormat problem

2014-02-03 Thread Sebastian Schelter
If you just wanna play with Giraph, I suggest you start with the PageRank example: https://giraph.apache.org/pagerank.html --sebastian On 02/03/2014 05:49 PM, Alexander Frolov wrote: I've tried .LongLongNullTextInputFormat and got this: [hduser@localhost ~]$ $HADOOP_HOME/bin/hadoop jar

Re: IntIntNullTextInputFormat problem

2014-02-03 Thread Alexander Frolov
On Mon, Feb 3, 2014 at 9:06 PM, Sebastian Schelter s...@apache.org wrote: If you just wanna play with Giraph, I suggest you start with the PageRank example: https://giraph.apache.org/pagerank.html I have seen it. I think there is no much difference in SSSP and PageRank examples. By the

Re: IntIntNullTextInputFormat problem

2014-02-03 Thread Sebastian Schelter
Hi Alexander, the only inputformat that we have which is compatible with SimpleShortestPathsComputation is the org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat which is used in org.apache.giraph.examples.SimpleShortestPathsComputationTest#testToyData It's not as nice