Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0502DC346 for ; Wed, 17 Jul 2013 09:48:51 +0000 (UTC) Received: (qmail 38393 invoked by uid 500); 17 Jul 2013 09:48:49 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 38093 invoked by uid 500); 17 Jul 2013 09:48:49 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 38081 invoked by uid 99); 17 Jul 2013 09:48:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 09:48:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Lukas.Nalezenec@firma.seznam.cz designates 77.75.74.246 as permitted sender) Received: from [77.75.74.246] (HELO posta.szn.cz) (77.75.74.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 09:48:42 +0000 Received: from EXCHDB01.kancelar.seznam.cz ([fe80::2ca4:8ce4:9798:6ff2]) by exch01.kancelar.seznam.cz ([fe80::14b:acb2:6b3e:8550%11]) with mapi id 14.03.0123.003; Wed, 17 Jul 2013 11:48:21 +0200 From: "Nalezenec, Lukas" To: "user@giraph.apache.org" Subject: RE: SequenceFileVertexInputFormatClass Thread-Topic: SequenceFileVertexInputFormatClass Thread-Index: Ac6CaDtG55jkxefySe6jd/nF53T47QAAJG0gABp8eQM= Date: Wed, 17 Jul 2013 09:48:20 +0000 Message-ID: <43DCFDE5E9E9AE4E92A4D8457E367E3A6CAA0865@exchdb01.kancelar.seznam.cz> References: , In-Reply-To: Accept-Language: cs-CZ, en-US Content-Language: cs-CZ X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [178.255.168.4] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using FileInputFormat.addInputPath(job.getInternalJob(), new Path(args[0])); its not best solution but it works. Lukas ________________________________________ Od: david [dgainer@bbn.com] Odesl=E1no: 16. =E8ervence 2013 23:11 Komu: user@giraph.apache.org P=F8edm=ECt: RE: SequenceFileVertexInputFormatClass Actually I'm guessing that I'm just not setting the input path correctly - = does this work: GiraphConfiguration conf =3D job.getConfiguration(); ... GiraphFileInputFormat.addVertexInputPath(conf, new Path(args[0])); conf.setVertexInputFormatClass(SequenceFileVertexInputFormat.class); (in 1.1.0 snapshot) Thanks, David ________________________________ From: david [mailto:dgainer@bbn.com] Sent: Tuesday, July 16, 2013 5:06 PM To: user@giraph.apache.org 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(Bs= pServiceMaster.java:316) at org.apache.giraph.master.BspServiceMaster.createInputSplits(BspS= erviceMaster.java:626) at org.apache.giraph.master.BspServiceMaster.createVertexInputSplit= s(BspServiceMaster.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= (FileInputFormat.java:189) at org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat.li= stStatus(SequenceFileInputFormat.java:55) at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(= FileInputFormat.java:248) at org.apache.giraph.io.formats.SequenceFileVertexInputFormat.getSp= lits(SequenceFileVertexInputFormat.java:52) at org.apache.giraph.io.internal.WrappedVertexInputFormat.getSplits= (WrappedVertexInputFormat.java:66) at org.apache.giraph.master.BspServiceMaster.generateInputSplits(Bs= pServiceMaster.java:314) But I think the input path is correctly set. Thanks, I appreciate it, David