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

Matt Corgan commented on HBASE-8436:
------------------------------------

I deleted that method and did import static org.junit.Assert.assertArrayEquals;

Now the last assertion fails, but I'm wondering if the Test is expecting the 
wrong row key.  Chunhui, the last generated row key is batch0_row49, but 
because they are sorted before encoding, the last key in the block should be 
batch0_row9.  Do you agree?
                
> SeekBefore returns wrong result with PREFIX_TREE Encoding
> ---------------------------------------------------------
>
>                 Key: HBASE-8436
>                 URL: https://issues.apache.org/jira/browse/HBASE-8436
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.0
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>            Priority: Critical
>         Attachments: hbase-8436-0.95-v2.patch, hbase-8436-trunkV1.patch
>
>
> In SeekBefore case, if we seek the key which is bigger than the last keyvalue
> PrefixTreeSeeker#seekToKeyInBlock will not seek correctly.
> Make the test case TestPrefixTreeEncoding#testSeekBeforeWithFixedData in the 
> patch to show this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to