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.RuntimeException: java.lang.RuntimeException:
java.lang.ClassNotFoundException:
org.apache.giraph.examples.LinkRank.LinkRankComputation
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:881)
I'm setting $HADOOP_CLASSPATH to the folder with giraph, giraph-examples
jars. But it can't find the computation class.