hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin <kevin.macksa...@gmail.com>
Subject FilterList filterKeyValue logic
Date Wed, 30 Jan 2013 04:48:11 GMT

I am using CDH4.1.2 and experimenting with custom filters. Looking at
HBase's source code, I am confused as to why a FilterList with its operator
as MUST_PASS_ONE does not return ReturnCode.INCLUDE as soon as one of its
filters includes a KeyValue (
Shouldn't line 218 be "return ReturnCode.INCLUDE;"? Isn't that the meaning
of MUST_PASS_ONE: as soon as a value is allowed to pass one of the filters,
it is included in the overall result? Why does it continue to evaluate all
the filters?

Can anyone help clarify this?

Thank you,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message