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

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

Manukranth Kolloju created HBASE-10893:
------------------------------------------

             Summary: 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


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)