hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manukranth Kolloju (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10893) Bug in Fast Diff Delta Block Encoding
Date Wed, 02 Apr 2014 00:55:19 GMT

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

Manukranth Kolloju updated HBASE-10893:
---------------------------------------

    Attachment:     (was: patch)

> 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