hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10485) PrefixFilter#filterKeyValue() should perform filtering on row key
Date Mon, 10 Feb 2014 17:44:21 GMT

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

Hudson commented on HBASE-10485:
--------------------------------

SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #133 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/133/])
HBASE-10485 Addendum (tedyu: rev 1566651)
* /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java


> PrefixFilter#filterKeyValue() should perform filtering on row key
> -----------------------------------------------------------------
>
>                 Key: HBASE-10485
>                 URL: https://issues.apache.org/jira/browse/HBASE-10485
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.1, 0.99.0
>
>         Attachments: 10485-0.94.txt, 10485-trunk.addendum, 10485-v1.txt
>
>
> Niels reported an issue under the thread 'Trouble writing custom filter for use in FilterList'
where his custom filter used in FilterList along with PrefixFilter produced an unexpected
results.
> His test can be found here:
> https://github.com/nielsbasjes/HBase-filter-problem
> This is due to PrefixFilter#filterKeyValue() using FilterBase#filterKeyValue() which
returns ReturnCode.INCLUDE
> When FilterList.Operator.MUST_PASS_ONE is specified, FilterList#filterKeyValue() would
return ReturnCode.INCLUDE even when row key prefix doesn't match meanwhile the other filter's
filterKeyValue() returns ReturnCode.NEXT_COL



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message