hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13491) Issue in FuzzyRowFilter#getNextForFuzzyRule
Date Fri, 17 Apr 2015 07:32:01 GMT
Anoop Sam John created HBASE-13491:

             Summary: Issue in FuzzyRowFilter#getNextForFuzzyRule
                 Key: HBASE-13491
                 URL: https://issues.apache.org/jira/browse/HBASE-13491
             Project: HBase
          Issue Type: Bug
          Components: Filters
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John

for (int i = 0; i < result.length; i++) {
      if (i >= fuzzyKeyMeta.length || fuzzyKeyMeta[i] == 1) {
        result[i] = row[offset + i];
        if (!order.isMax(row[i])) {
          // this is "non-fixed" position and is not at max value, hence we can increase it
          toInc = i;
See we take row bytes with out considering the row offset.  The test cases are passing as
we pass 0 offset row bytes. Change in the test will reveal the bug.

Came across this when I was working on HBASE-11425

This message was sent by Atlassian JIRA

View raw message