Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10893

Bug in Fast Diff Delta Block Encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.89-fb
    • 0.89-fb
    • Scanners
    • None

    Description

      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.

      Attachments

        1. HBASE-10893.patch
          3 kB
          Manukranth Kolloju
        There are no Sub-Tasks for this issue.

        Activity

          People

            manukranthk Manukranth Kolloju
            manukranthk Manukranth Kolloju
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: