You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2022/09/08 19:29:00 UTC

[jira] [Commented] (HBASE-27362) Fix some tests hung by CompactSplit.requestCompactionInternal ignoring compactionsEnabled check

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

Hudson commented on HBASE-27362:
--------------------------------

Results for branch master
	[build #677 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/677/]: (/) *{color:green}+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/master/677/General_20Nightly_20Build_20Report/]




(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/677/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/master/677/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Fix some tests hung by CompactSplit.requestCompactionInternal ignoring compactionsEnabled check
> -----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-27362
>                 URL: https://issues.apache.org/jira/browse/HBASE-27362
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: chenglei
>            Assignee: chenglei
>            Priority: Major
>
> When compaction is disabled, {{CompactSplit.compactionsEnabled}} is set to false and {{CompactSplit.longCompactions}} and {{CompactSplit.shortCompactions}} is shutdown.
> But for  {{CompactSplit.requestCompactionInternal}} , it only check {{CompactSplit.compactionsEnabled}} in {{CompactSplit.selectCompaction}}, when {{selectNow}} is false,  {{CompactSplit.selectCompaction}}  is not invoked and would submit the  compaction task to {{CompactSplit.shortCompactions}},after HBASE-27332, because {{CompactSplit.shortCompactions}} is shut down, {{RejectedExecutionException}} would throw.
> For test such as {{TestRegionSplit.testSplitTableRegion}}, because compaction is disabled, this problem would make the new region after split could not open, so it make the test hang.



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