Re: Running Giraph job inside Java code

2013-07-12 Thread Ahmet Emre Aladağ
Thanks, just to note down: It seems like it was a dependency problem I had. I tried to provide my jars as dependencies but there was a mistake in the configuration. Moreover, I had too remove giraphJob.getInternalJob().setJarByClass(LinkRankComputation.class); part as well. On 07/04/2013 07

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); giraph

Re: Running Giraph job inside Java code

2013-07-02 Thread Ahmet Emre Aladağ
By the way, I have set the corresponding classes in the giraph configuration. GiraphConfiguration giraphConf = new GiraphConfiguration(config); giraphConf.setZooKeeperConfiguration( zooKeeperWatcher.getQuorum()); giraphConf.setComputationClass(LinkRankComputation.class);

Running Giraph job inside Java code

2013-07-02 Thread Ahmet Emre Aladağ
Hi, How can we run a Giraph job inside the java code? Using the scheme below didn't work. ... GiraphJob giraphJob = new GiraphJob(giraphConf, "LinkRank2"); giraphJob.getInternalJob().setJarByClass(LinkRankComputation.class); giraphJob.run(true); ... Error in Hadoop logs: java.lang.