Re: Running Giraph 1.0.0 for Hadoop 2.0.0

2014-04-01 Thread Agrta Rawat
Hi Lukas, I have installed CDH 4.5 and have built jar for hadoop-cdh4.1.2 profile as this is the only profile close to the CDH 4.5 version. But I am getting same error. For creating the jar, I used the command -> mvn clean install -P=hadoop-cdh4.1.2 inside giraph-core folder. Is this error becaus

Re: using partition class

2014-04-01 Thread Lukas Nalezenec
Hi, Partition is for storing vertexes, Partitioner is for distributing vertexes between Partitions. Try this: -Dgiraph.graphPartitionerFactoryClass=org.apache.giraph.partition.SimpleLongRangePartitionerFactory Its good idea to switch Partition to ByteArrayPartition (or better). Lukas On 1.4

using partition class

2014-04-01 Thread Liannet Reyes
Hi all, I´m trying to use the giraph partition class to improve my graph distribution, however I hardly found info on how to use it. I´m testing the SimpleShortestPathsComputation example with the tiny_graph.txt input file and the SimpleLongRangePartitionerFactory out-of-the-box in org.apache.gira

Re: why this messages?

2014-04-01 Thread nishant gandhi
Hi Liannet, I checked my input file and it is fine.. No extra space/newline at the end of file. I need to kill the job by "hadoop job -kill " command. I could not find something helpful in log files. On Tue, Apr 1, 2014 at 9:57 PM, Liannet Reyes wrote: > Hi Nishant, > > Have you look at the jo

Re: why this messages?

2014-04-01 Thread Liannet Reyes
Hi Nishant, Have you look at the jobtracker logs? (localhost:50030/jobtracker.jsp) It is likely you will find the cause of the failure in the jobtasks logs. Be sure you the tiny_graph file has no empty lines in the end by mistake, that may cause that error. Also, I've once run into the same "Lo

Re: Running Giraph 1.0.0 for Hadoop 2.0.0

2014-04-01 Thread Lukas Nalezenec
Its Hadoop cdh3 vs cdh4 problem. You are building jar for wrong Hadoop version. Choose correct profile. Regards, Lukas On 1.4.2014 14:49, Agrta Rawat wrote: Hi All, I built Giraph 1.0.0 jar for Hadoop 2.0.0. When I tried to run the giraph job, I got following errors- Exception in thread "ma

Running Giraph 1.0.0 for Hadoop 2.0.0

2014-04-01 Thread Agrta Rawat
Hi All, I built Giraph 1.0.0 jar for Hadoop 2.0.0. When I tried to run the giraph job, I got following errors- Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected at org.apache.giraph.bsp.BspOutputFo

Re: why this messages?

2014-04-01 Thread nishant gandhi
My code: import java.io.IOException; import java.util.Iterator; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.DoubleWritable; import org.apache.hadoop.io.FloatWritable; import org.apache.giraph.edge.Edge; import org.apache.giraph.graph.Vertex; import org.apache.giraph.graph

Re: why this messages?

2014-04-01 Thread ghufran malik
Hi, 14/03/31 15:48:01 INFO job.JobProgressTracker: Data from 1 workers - Loading dat a: 0 vertices loaded, 0 vertex input splits loaded; 0 edges loaded, 0 edge input splits loaded; min free memory on worker 1 - 50.18MB, average 50.18MB 14/03/31 15:48:06 INFO job.JobProgressTracker: Data from 1 wo

Re: Building Giraph Jar for Hadoop 2.0.0 Version

2014-04-01 Thread Agrta Rawat
Hi Lukas, Thank you so much. It worked. Regards, Agrta Rawat On Tue, Apr 1, 2014 at 1:24 PM, Lukas Nalezenec < lukas.naleze...@firma.seznam.cz> wrote: > Hi Agrta, > You made some typo in pom file. But anyway, you dont need to edit pom file > to activate profile. > Revert the changes in pom fi

Re: Building Giraph Jar for Hadoop 2.0.0 Version

2014-04-01 Thread Lukas Nalezenec
Hi Agrta, You made some typo in pom file. But anyway, you dont need to edit pom file to activate profile. Revert the changes in pom file and call mvn clean install -P= Lukas On 1.4.2014 08:20, Agrta Rawat wrote: Hi Lukas, Thank you so much for your reply. I have tried what you told. I hav