HBASE-26856:BufferedDataBlockEncoder.OnheapDecodedCell value can get corrupted (...
authorMohammad Arshad <arshad@apache.org>
Tue, 17 May 2022 05:24:38 +0000 (10:54 +0530)
committerGitHub <noreply@github.com>
Tue, 17 May 2022 05:24:38 +0000 (10:54 +0530)
commitc198f23e5eb078abc47d4c3439477c6c2b4d5136
treefabeb0449c6f725fe2724706b99d22ba4de8501e
parented1665355a221f9f36ce7c8905d9ed063c6e9eac
HBASE-26856:BufferedDataBlockEncoder.OnheapDecodedCell value can get corrupted (#4394)

Created OnheapDecodedCell and OffheapDecodedExtendedCell objects with duplicate copy of ByteBuffer's underlying array instead of original ByteBuffer

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java