You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/12/20 01:48:43 UTC
[jira] Updated: (HADOOP-2467) [hbase] scanner truncates resultset
when > 1 column families
[ https://issues.apache.org/jira/browse/HADOOP-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HADOOP-2467:
--------------------------
Attachment: scanner.patch
Problem was in filters. If multiple column families, the same filter instance would be used by all store scanners. For filters that have state, e.g. WhileMatchRowFilter, we don't want the state of one store scanner effecting the scanning over in another store. Fix was to make a filter instance per store involved in a particular scanning.
Below is commit message:
{code}
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestScanner2.java
(testScanningMultipleFamiliesOfDifferentVintage): Added.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/HBaseTestCase.java
Add javadoc.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreFile.java
Add change that was supposed to have been committed for HADOOP-2407.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStore.java
Spacing.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreKey.java
(COLUMN_FAMILY_DELIMITER): Added.
(getColonOffset): changed implementation to make it run faster.
(compareTo): Reformatted.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HTable.java
If no timestamp, use HConstants.LATEST_TIMESTAMP rather than
current time so we get the newest version that exists.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
Was missing a '{] in toString.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegion.java
(checkColumn): Remove double Text instantiation.
Creating scanners for a store, make new instance if > 1 family
so state set in one families scanning does not effect the
scanning of another.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/util/Writables.java
Add clone local until HADOOP-2469 gets applied.
{code}
> [hbase] scanner truncates resultset when > 1 column families
> ------------------------------------------------------------
>
> Key: HADOOP-2467
> URL: https://issues.apache.org/jira/browse/HADOOP-2467
> Project: Hadoop
> Issue Type: Bug
> Components: contrib/hbase
> Reporter: stack
> Attachments: scanner.patch
>
>
> Scanner will close when first of n families runs out of results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.