hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucian Iordache <lucian.george.iorda...@gmail.com>
Subject Re: BitComparator bug in HBase 0.94.1 - ArrayIndexOutOfBoundsException
Date Thu, 20 Sep 2012 15:05:03 GMT
Yes, I will do that in the next days.

On Thu, Sep 20, 2012 at 5:56 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Thanks for reporting, Lucian.
>
> Can you attach a patch in that JIRA ?
>
> On Thu, Sep 20, 2012 at 7:53 AM, Lucian Iordache <
> lucian.george.iordache@gmail.com> wrote:
>
> > Hello,
> >
> > I found a bug in BitComparator implementation from HBase 0.94.1.
> > The problem is that in the compareTo method, the value from the
> > BitComparator is compared against the whole buffer of a KeyValue from
> hbase
> > and the loop that compares them uses the length of the KeyValue buffer
> > instead of using the length of the value from the BitComparator object.
> > Because the length of the KeyValue buffer is bigger than the length of
> the
> > value from the BitComparator object, an ArrayIndexOutOfBoundsException
> > appears.
> >
> > I've opened a bug for it:
> https://issues.apache.org/jira/browse/HBASE-6846
> >
> > Maybe it helps other people that will encounter the problem.
> >
> > --
> > Regards,
> > Lucian
> >
>



-- 
Numai bine,
Lucian

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message