Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Description
In KeyValueDecoder & ByteBuffKeyValueDecoder, we pass a byte buffer to initialize the Cell without a sanity check (check each field's offset&len exceed the byte buffer or not), so ArrayIndexOutOfBoundsException may happen when read the cell's fields, such as HBASE-21379, it's hard to debug this kind of bug.
An earlier check will help to find such kind of bugs.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-16213 A new HFileBlock structure for fast random get
- Resolved
-
HBASE-22034 Backport HBASE-21401 and HBASE-22032 to branch-1
- Resolved
- links to