hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10893) Bug in Fast Diff Delta Block Encoding
Date Sat, 05 Apr 2014 17:54:17 GMT

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

Andrew Purtell commented on HBASE-10893:
----------------------------------------

Let's forward port the test. 

> Bug in Fast Diff Delta Block Encoding
> -------------------------------------
>
>                 Key: HBASE-10893
>                 URL: https://issues.apache.org/jira/browse/HBASE-10893
>             Project: HBase
>          Issue Type: Bug
>          Components: Scanners
>    Affects Versions: 0.89-fb
>            Reporter: Manukranth Kolloju
>            Assignee: Manukranth Kolloju
>             Fix For: 0.89-fb
>
>         Attachments: HBASE-10893.patch
>
>
> The following 2 key values if encoded and decoded, produce wrong results:
> byte[] row = Bytes.toBytes("abcd");
> byte[] family = new byte[] { 'f' };
> byte[] qualifier0 = new byte[] { 'b' };
> byte[] qualifier1 = new byte[] { 'c' };
> byte[] value0 = new byte[] { 0x01 };
> byte[] value1 = new byte[] { 0x00 };
> kvList.add(new KeyValue(row, family, qualifier0, 0, Type.Put, value0));
> kvList.add(new KeyValue(row, family, qualifier1, 0, Type.Put, value1));
> while using Fast Diff Delta Block encoding.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message