[
https://issues.apache.org/jira/browse/HBASE-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888166#action_12888166
]
HBase Review Board commented on HBASE-2794:
-------------------------------------------
Message from: "Jonathan Gray" <[email protected]>
bq. On 2010-07-13 18:09:13, Nicolas wrote:
bq. >
/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFile.java, line
958
bq. > <http://review.hbase.org/r/296/diff/3/?file=2723#file2723line958>
bq. >
bq. > red = using tabs instead of spaces or trailing spaces. quick fix
might be nice (or is this auto-handled by svn, Stack?)
none of this is auto-handled by svn. need to setup eclipse or whatever you use
to use 2 spaces instead of tabs. and in eclipse, i have my code cleanup set to
remove whitespace and run that periodically.
- Jonathan
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.hbase.org/r/296/#review397
-----------------------------------------------------------
> ROWCOL bloom filter not used if multiple columns within same family are
> requested in a Get
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-2794
> URL: https://issues.apache.org/jira/browse/HBASE-2794
> Project: HBase
> Issue Type: Improvement
> Reporter: Kannan Muthukkaruppan
>
> Noticed the following snippet in StoreFile.java:Scanner:shouldSeek():
> {code}
> switch(bloomFilterType) {
> case ROW:
> key = row;
> break;
> case ROWCOL:
> if (columns.size() == 1) {
> byte[] col = columns.first();
> key = Bytes.add(row, col);
> break;
> }
> //$FALL-THROUGH$
> default:
> return true;
> }
> {code}
> If columns.size > 1, then we currently don't take advantage of the bloom
> filter. We should optimize this to check bloom for each of columns and if
> none of the columns are present in the bloom avoid opening the file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.