hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10505) Import.filterKv does not call Filter.filterRowKey
Date Wed, 12 Feb 2014 02:42:20 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars Hofhansl updated HBASE-10505:
----------------------------------

    Attachment: 10505-0.94.txt

Here's a 0.94 patch.
Actually TestImportExport.testWithFilter only passes by pure accident, because PrefixFilter.filterKeyValue
never filtered anything.

> Import.filterKv does not call Filter.filterRowKey
> -------------------------------------------------
>
>                 Key: HBASE-10505
>                 URL: https://issues.apache.org/jira/browse/HBASE-10505
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.98.0, 0.96.2, 0.99.0, 0.94.17
>
>         Attachments: 10505-0.94.txt
>
>
> The general contract of a Filter is that filterRowKey is called before filterKeyValue.
> Import is using Filters for custom filtering but it does not called filterRowKey at all.
That throws off some Filters (such as RowFilter, and more recently PrefixFilter, and InclusiveStopFilter).
See HBASE-10493 and HBASE-10485.



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

Mime
View raw message