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