HBASE-27170 ByteBuffAllocator leak when decompressing blocks near minSizeForReservoir... master
authorBryan Beaudreault <bbeaudreault@hubspot.com>
Mon, 4 Jul 2022 20:18:45 +0000 (16:18 -0400)
committerGitHub <noreply@github.com>
Mon, 4 Jul 2022 20:18:45 +0000 (16:18 -0400)
commitf3f292fad414526e981d299c66ba057765543179
treeb791dfa404b22166d0301db251d1f5bb07c6033e
parent724bf7837aa50ae56a3fbc2e2f7c9e16ec2557e8
HBASE-27170 ByteBuffAllocator leak when decompressing blocks near minSizeForReservoirUse (#4592)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java
hbase-common/src/main/java/org/apache/hadoop/hbase/nio/ByteBuff.java
hbase-common/src/main/java/org/apache/hadoop/hbase/nio/RefCnt.java
hbase-common/src/test/java/org/apache/hadoop/hbase/io/TestByteBuffAllocator.java
hbase-common/src/test/java/org/apache/hadoop/hbase/io/TestByteBuffAllocatorLeakDetection.java [new file with mode: 0644]
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlockUnpack.java [new file with mode: 0644]