Thanks for reporting, Lucian.

Can you attach a patch in that JIRA ?

On Thu, Sep 20, 2012 at 7:53 AM, Lucian Iordache <
[email protected]> 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
>

Reply via email to