[ 
https://issues.apache.org/jira/browse/HBASE-30038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18076143#comment-18076143
 ] 

Hudson commented on HBASE-30038:
--------------------------------

Results for branch branch-2.6
        [build #455 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/455/]:
 (x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/455/General_20Nightly_20Build_20Report/]


(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/455/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/455/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/455/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/455/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


> RefCnt Leak error when caching
> ------------------------------
>
>                 Key: HBASE-30038
>                 URL: https://issues.apache.org/jira/browse/HBASE-30038
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0-beta-1, 2.6.5
>            Reporter: Dimas Shidqi Parikesit
>            Assignee: Dimas Shidqi Parikesit
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 3.0.0, 2.7.0, 2.6.6
>
>
> This bug is similar to 
> [HBASE-28890|https://issues.apache.org/jira/browse/HBASE-28890]
> HFileBlock.Writer.getBlockForCaching() creates a ref-counted HFileBlock, and 
> the caller must release its own reference after the cache has taken the 
> ownership it needs. 
> In HFileWriterImpl.java, the leak happened when shouldCacheBlock() returned 
> before cacheFormatBlock.release() ran.
> In HFileBlockIndex.java, the intermediate-index path cached blockForCaching 
> but never released the reference at all. 
> Because these blocks can be backed by pooled off-heap ByteBuffs, repeated 
> HFile writes could steadily drain allocator buffers and effectively leak 
> memory, even though the blocks were only meant to live long enough to be 
> considered for cache-on-write.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to