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

Viraj Jasani commented on HBASE-23279:
--------------------------------------

 
{quote}You can try enabling other encoding instead of NONE and see even if it 
fails
{quote}
Tried with DIFF and FAST_DIFF, at least the error of "lexically larger than 
previous" is not coming but extracting row from meta row is failing here:

 
{code:java}
assertTrue(Bytes.compareTo(Bytes.toBytes((short)answer),
  extractRowFromMetaRow(r.getRow())) == 0);
{code}
{code:java}
java.lang.AssertionErrorjava.lang.AssertionError at 
org.apache.hadoop.hbase.regionserver.TestGetClosestAtOrBefore.findRow(TestGetClosestAtOrBefore.java:184)
 at 
org.apache.hadoop.hbase.regionserver.TestGetClosestAtOrBefore.testUsingMetaAndBinary(TestGetClosestAtOrBefore.java:128)
{code}
 

 

> Switch default block encoding to ROW_INDEX_V1
> ---------------------------------------------
>
>                 Key: HBASE-23279
>                 URL: https://issues.apache.org/jira/browse/HBASE-23279
>             Project: HBase
>          Issue Type: Wish
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Lars Hofhansl
>            Assignee: Viraj Jasani
>            Priority: Minor
>             Fix For: 3.0.0, 2.3.0
>
>         Attachments: HBASE-23279.master.000.patch, 
> HBASE-23279.master.001.patch, HBASE-23279.master.002.patch
>
>
> Currently we set both block encoding and compression to NONE.
> ROW_INDEX_V1 has many advantages and (almost) no disadvantages (the hfiles 
> are slightly larger about 3% or so). I think that would a better default than 
> NONE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to