Geoffrey Jacoby created PHOENIX-5455:
----------------------------------------
Summary: IndexedKeyValue creation fails after HBASE-22034
Key: PHOENIX-5455
URL: https://issues.apache.org/jira/browse/PHOENIX-5455
Project: Phoenix
Issue Type: Bug
Reporter: Geoffrey Jacoby
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
--
This message was sent by Atlassian Jira
(v8.3.2#803003)