I need to have a readable dummy entry in Hbase to start my computation, and the 
Gora object reader is not able to read it.

I try to add a dummy entry to HBase using this shell command :
 
"put 'graphGiraph', '0', 'vertices:vertexId', '0'"

And when I run my code, I get this error in the Logs :

2017-10-04 07:16:06,210 ERROR [load-0] gora.GoraVertexInputFormat 
(GoraVertexInputFormat.java:nextVertex(231)) - Error transforming vertices.
2017-10-04 07:16:06,210 ERROR [load-0] gora.GoraVertexInputFormat 
(GoraVertexInputFormat.java:nextVertex(232)) - offset (0) + length (8) exceed 
the capacity of the array: 1

----- Original Message -----
From: "lewismc" <lewi...@apache.org>
To: "Adhish Singla" <adhish.sin...@research.iiit.ac.in>, user@gora.apache.org
Sent: Wednesday, October 4, 2017 12:48:39 PM
Subject: Re: Need Urgent Help with Giraph-Gora

What exactly is thebissue you are having here?
>From what I can tell all of the code looks good... is a log being
generated? Are you seeing errors? If so can you provide them?
Always remember you need to make sure any changes in your Avro schema are
compiled with the GoraCompiler.
Thanks

On Tue, Oct 3, 2017 at 10:37 PM Adhish Singla <
adhish.sin...@research.iiit.ac.in> wrote:

> Hi,
>
> I have attached the screenshots to the Avro schema, gora-hbase-mapping.xml
> and the gora-object-reader. Kindly point out to my mistake which I probably
> think is in the gora-hbase-mapping.xml.
>
> Thanks and regards,
> Adhish
>
> ----- Original Message -----
> From: "lewis john mcgibbney" <lewi...@apache.org>
> To: "<user@gora.apache.org>" <user@gora.apache.org>
> Sent: Wednesday, October 4, 2017 2:56:28 AM
> Subject: Re: Need Urgent Help with Giraph-Gora
>
> Can you send a link to your current gora-hbase-mapping.xml and Avro schema?
> If not then merely paste them below.
> Lewis
>
> On Tue, Oct 3, 2017 at 8:28 AM, Adhish Singla <
> adhish.sin...@research.iiit.ac.in> wrote:
>
> > Hi,
> >
> > I was able to resolve the issue by adding the resources to the JAR
> itself.
> > Now, I am stuck at writing the gora-hbase-mapping.xml since my avro
> schema
> > uses a nested records i.e. one record stores another record. Kindly help
> me
> > with the same.
> >
> > I would like to contribute to update giraph to use the latest version of
> > gora once I am able to cover up with my coming deadline.
> >
> > Thanks for the help.
> > Regards,
> > Adhish
> >

-- 
http://home.apache.org/~lewismc/
@hectorMcSpector
http://www.linkedin.com/in/lmcgibbney

Reply via email to