hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doğacan Güney (JIRA) <j...@apache.org>
Subject [jira] Updated: (HBASE-1649) ValueFilter may not reset its internal state
Date Sun, 12 Jul 2009 22:37:14 GMT

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

Doğacan Güney updated HBASE-1649:
---------------------------------

    Attachment: HBASE-1649.patch

Simple patch that resets ValueFilter's internal state in reset().

> ValueFilter may not reset its internal state
> --------------------------------------------
>
>                 Key: HBASE-1649
>                 URL: https://issues.apache.org/jira/browse/HBASE-1649
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.20.0
>            Reporter: Doğacan Güney
>            Priority: Minor
>         Attachments: HBASE-1649.patch
>
>
> ValueFilter#reset is empty even though the class uses two internal variables. These values
are reset in filterRow, however there are instances where filterRow may not be called. For
example, if you chain two filters through FilterList (with PASS_ALL and the second filter
being a ValueFilter) then during FilterList#filterRow if the first filter#filterRow returns
true then ValueFilter#filterRow will not be called.

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


Mime
View raw message