hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13491) Issue in FuzzyRowFilter#getNextForFuzzyRule
Date Fri, 17 Apr 2015 18:08:59 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500336#comment-14500336
] 

Hadoop QA commented on HBASE-13491:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12726205/HBASE-13491-branch-1.1.patch
  against branch-1.1 branch at commit 0dfeba3d7854c66b80dfc4e0d465d63dce617bb9.
  ATTACHMENT ID: 12726205

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 3 new or modified
tests.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/13735//console

This message is automatically generated.

> Issue in FuzzyRowFilter#getNextForFuzzyRule
> -------------------------------------------
>
>                 Key: HBASE-13491
>                 URL: https://issues.apache.org/jira/browse/HBASE-13491
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 1.0.0
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 1.2.0
>
>         Attachments: HBASE-13491-branch-1.1.patch, HBASE-13491.patch
>
>
> {code}
> 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;
>         }
>       }
> {code}
> 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
(v6.3.4#6332)

Mime
View raw message