Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5455

IndexedKeyValue creation fails after HBASE-22034

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.15.0, 4.14.3
    • 4.15.0, 5.1.0
    • None
    • None

    Description

      HBASE-22034 backported to branch-1 HBASE-21401 (adding several validation checks to KeyValue creation) and HBASE-22032 (adding a null check for the row key to KeyValue creation). It will first be released in HBase 1.5.

      In Phoenix 4.14.2 we included PHOENIX-5188, which adds logic to initialize IndexedKeyValues with the appropriate row key and offsets, so that it can pass the new check in HBASE-22032. However, it did not correctly handle all the checks in HBASE-21401.

      When testing 4.14.3 of Phoenix with an HBase version containing HBASE-22034, we see lots of errors like the following:

      java.lang.IllegalArgumentException: Overflow when reading key length at position=0, KeyValueBytesHex=foo, offset=0, length=3

      This will affect the future 4.15-HBase-1.5, and as well as any future release of a 4.14.3 based on HBase-1.5

      Attachments

        1. PHOENIX-5455-4.x-HBase-1.5.patch
          16 kB
          Geoffrey Jacoby
        2. PHOENIX-5455-4.14-HBase-1.5.patch
          16 kB
          Geoffrey Jacoby
        3. PHOENIX-5455.patch
          16 kB
          Geoffrey Jacoby
        4. PHOENIX-5455.4.x-HBase-1.5.v1.patch
          16 kB
          Swaroopa Kadam

        Activity

          People

            gjacoby Geoffrey Jacoby
            gjacoby Geoffrey Jacoby
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h