You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Manukranth Kolloju (JIRA)" <ji...@apache.org> on 2014/06/09 19:39:04 UTC

[jira] [Resolved] (HBASE-10893) Bug in Fast Diff Delta Block Encoding

     [ https://issues.apache.org/jira/browse/HBASE-10893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manukranth Kolloju resolved HBASE-10893.
----------------------------------------

    Resolution: Fixed

> 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)