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

Modify cell tag handling code to treat the length as unsigned

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.0
    • 0.99.0, 0.98.4
    • None
    • None
    • Reviewed

    Description

      We store each tag's length and total tags length with 2 bytes in KeyValue buffer, HFiles etc and we treat these lengths as short through out the code. So the max length can be Short.MAX_VALUE. We can treat these lengths as unsigned and +ve always. So we can actually treat these lengths as int and store with 2 bytes so that the max length can reach 65535.

      Attachments

        1. HBASE-11437.patch
          83 kB
          Anoop Sam John
        2. HBASE-11437.patch
          83 kB
          Anoop Sam John
        3. HBASE-11437.patch
          83 kB
          Anoop Sam John
        4. HBASE-11437_trunk.patch
          57 kB
          Anoop Sam John
        5. HBASE-11437_addendum.patch
          2 kB
          Anoop Sam John
        6. HBASE-11437_0.98.patch
          75 kB
          Anoop Sam John
        7. HBASE-11437_0.98_V2.patch
          75 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: