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

Scan will be broken while working with DBE and KeyValueCodecWithTags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      scan will always broken if we set LIMIT more than 1 with rs hbase.client.rpc.codec set to org.apache.hadoop.hbase.codec.KeyValueCodecWithTags.

      How to reproduce:
      1. 1 master + 1 rs, codec use KeyValueCodecWithTags.
      2. create a table table_1024B_30g,1 cf and with only 1 qualifier, then load some data with ycsb,. Use Diff DataBlockEncoding
      3. scan 'table_1024B_30g',

      {LIMIT => 2, STARTROW => 'user5499'}

      , STARTROW is set any valid start row.
      4. scan failed.

      this should be bug in KeyValueCodecWithTags, after some investigations, I found some the key not serialized correctly.

      Attachments

        1. HBASE-16704.patch
          10 kB
          Anoop Sam John

        Issue Links

          Activity

            People

              anoop.hbase Anoop Sam John
              haoran Yu Sun
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: