hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13738) Scan with RAW type for increment data insertions is displaying only latest two KV's
Date Mon, 25 May 2015 11:21:18 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558126#comment-14558126
] 

Anoop Sam John commented on HBASE-13738:
----------------------------------------

Can not increment versionsVisible blindly.  Check whether this version is visible for the
oldest scanner.  That is the readPoint passed. When cur cell seqId > smallestReadPoint,
we can not increment the variable...
You can add a test with concurrent scan case also.  
Add increment
Open a scanner  but no next call
Add increment
Add increment
Add increment
Now next on scanner.
The later increments has to preserve the 1st cell for the old scanner.  
Close scanner
Now if u again add one more increment see how many cells.


> Scan with RAW type for increment data insertions is displaying only latest two KV's 
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-13738
>                 URL: https://issues.apache.org/jira/browse/HBASE-13738
>             Project: HBase
>          Issue Type: Bug
>          Components: Scanners
>         Environment: Suse 11 SP3
>            Reporter: neha
>            Assignee: Pankaj Kumar
>            Priority: Minor
>         Attachments: HBASE-13738.patch
>
>
> [Scenario for Reproducing ]:
> 1. Create an HBase table with single column family by keeping the versions=1 (DEFAULT)
> 2. Increment Insertion more than 2 times for the same row and for same qualifier.
> 3. scan the table with raw= true and versions= 10  
> {code}
> scan 'tbl', {RAW => TRUE, VERSIONS => 10}
> {code}
> Expected Result:
> ===============
> Raw scan should result in all the versions until the table flushed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message