diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index 11dcbdb1cf6d..5f5ba4228809 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -1946,6 +1946,14 @@ possible configurations would overwhelm and obscure the important. responses with complete data. + + hbase.master.metafixer.max.merge.count + 64 + + Maximum regions to merge at a time when we fix overlaps noted in + CJ consistency report, but avoid merging 100 regions in one go! + + hbase.rpc.rows.size.threshold.reject false diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetaFixer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetaFixer.java index ed96b0168f75..40ea395ae55f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetaFixer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetaFixer.java @@ -63,7 +63,7 @@ class MetaFixer { MetaFixer(MasterServices masterServices) { this.masterServices = masterServices; this.maxMergeCount = this.masterServices.getConfiguration(). - getInt(MAX_MERGE_COUNT_KEY, MAX_MERGE_COUNT_DEFAULT); + getInt(MAX_MERGE_COUNT_KEY, MAX_MERGE_COUNT_DEFAULT); } void fix() throws IOException { diff --git a/src/main/asciidoc/_chapters/hbase-default.adoc b/src/main/asciidoc/_chapters/hbase-default.adoc index f1bfc6adc564..6da700423247 100644 --- a/src/main/asciidoc/_chapters/hbase-default.adoc +++ b/src/main/asciidoc/_chapters/hbase-default.adoc @@ -2246,6 +2246,20 @@ The percent of region server RPC threads failed to abort RS. `false` + +[[hbase.master.metafixer.max.merge.count]] +*`hbase.master.metafixer.max.merge.count`*:: ++ +.Description + + Maximum regions to merge at a time when we fix overlaps noted in + CJ consistency report, but avoid merging 100 regions in one go! + ++ +.Default +`64` + + [[hbase.rpc.rows.size.threshold.reject]] *`hbase.rpc.rows.size.threshold.reject`*:: + @@ -2264,3 +2278,4 @@ The percent of region server RPC threads failed to abort RS. + .Default `false` +