[ 
https://issues.apache.org/jira/browse/HADOOP-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551459
 ] 

Andrzej Bialecki  commented on HADOOP-2414:
-------------------------------------------

After changing HashFunction.java:113 to this:

initval = result[i] = Math.abs(JenkinsHash.hash(b, initval) % maxValue);

the problem went away.

> [hbase] ArrayIndexOutOfBoundsException in 
> org.onelab.filter.BloomFilter.membershipTest(BloomFilter.java:134)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2414
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2414
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>    Affects Versions: 0.16.0
>            Reporter: Jim Kellerman
>            Priority: Minor
>
> In HADOOP-2365 Andrzej Bialecki  reported:
> > There may be other bugs lurking in BloomFilter / HashFunction. This is very 
> > hard to reproduce, but once in a while
> > (once per hundred million keys tested) I'm getting something like this:
> {code}
> java.lang.ArrayIndexOutOfBoundsException: -1215998
> at org.onelab.filter.BloomFilter.membershipTest(BloomFilter.java:134)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to