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

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

Was able to produce one issue 
Have one table with a region [r1-r5). Now split this region with splitkey as r3
The two regions will be [r1-r3) and [r3-r5)
Now call HTable.getRowOrBefore() with passing row as r3 (splitkey)
Mean while there is no data with rowkey as r3 in the table

The above call will create a seekBefore on the top half file with key as r3 and 
currently it will seek into the bottom file and gets the last KV in that file.

After getting the KV in the HRegion.getClosestRowBefore(), there is a Get call 
to fetch the KV. This Get will fail in 1st step itself as the rowkey it is 
trying to fetch is not in range of [r3,r5)..  So in my scenario the call is 
throwing Exception
WrongRegionException("Requested row out of range for......")
                
> Fix concerns raised in HBASE-5922 related to HalfStoreFileReader
> ----------------------------------------------------------------
>
>                 Key: HBASE-5997
>                 URL: https://issues.apache.org/jira/browse/HBASE-5997
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Anoop Sam John
>
> Pls refer to the comment
> https://issues.apache.org/jira/browse/HBASE-5922?focusedCommentId=13269346&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13269346.
> Raised this issue to solve that comment. Just incase we don't forget it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to