hbase-dev mailing list archives

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

Mime
View raw message