Actually I'm guessing that I'm just not setting the input path correctly - does this work:
GiraphConfiguration conf = job.getConfiguration(); ... GiraphFileInputFormat.addVertexInputPath(conf, new Path(args[0])); conf.setVertexInputFormatClass(SequenceFileVertexInputFormat.class); (in 1.1.0 snapshot) Thanks, David _____ From: david [mailto:[email protected]] Sent: Tuesday, July 16, 2013 5:06 PM To: [email protected] Subject: SequenceFileVertexInputFormatClass Does anyone have a simple example of how to use it? Do I need to extend it for my classes or can I just use it like I would SequenceFileInputFormat in hadoop. I'm getting the following error; java.lang.IllegalStateException: generateVertexInputSplits: Got IOException at org.apache.giraph.master.BspServiceMaster.generateInputSplits(BspServiceMast er.java:316) at org.apache.giraph.master.BspServiceMaster.createInputSplits(BspServiceMaster .java:626) at org.apache.giraph.master.BspServiceMaster.createVertexInputSplits(BspService Master.java:693) at org.apache.giraph.master.MasterThread.run(MasterThread.java:99) Caused by: java.io.IOException: No input paths specified in job at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFo rmat.java:189) at org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat.listStatus(Seq uenceFileInputFormat.java:55) at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFor mat.java:248) at org.apache.giraph.io.formats.SequenceFileVertexInputFormat.getSplits(Sequenc eFileVertexInputFormat.java:52) at org.apache.giraph.io.internal.WrappedVertexInputFormat.getSplits(WrappedVert exInputFormat.java:66) at org.apache.giraph.master.BspServiceMaster.generateInputSplits(BspServiceMast er.java:314) But I think the input path is correctly set. Thanks, I appreciate it, David
