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

ImmutableBytesWritable ignores offset in several cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20.4, 0.90.0
    • 0.20.5, 0.90.0
    • None
    • None
    • Reviewed

    Description

      HBASE-2378 improved ImmutableBytesWritable's comparator, but there's still a bug! We assume offset = 0, which makes the comparator function incorrectly when the ImmutableBytesWritable is a slice into a larger byte array.

      Attachments

        1. hbase-2635.txt
          6 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: