From 4730a2b39743c08406b5bfd2a550eef22c4197cc Mon Sep 17 00:00:00 2001 From: Keith Turner Date: Tue, 18 Nov 2025 21:48:57 +0000 Subject: [PATCH 1/2] adds property split metadata table based on user tablet count --- .../main/java/org/apache/accumulo/core/conf/Property.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/main/java/org/apache/accumulo/core/conf/Property.java b/core/src/main/java/org/apache/accumulo/core/conf/Property.java index d6acb504fad..778b67e78a0 100644 --- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java +++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java @@ -1125,6 +1125,13 @@ public enum Property { + " when regular compactions are not running. Idle compactions only take" + " place for tablets that have one or more RFiles.", "1.3.5"), + TABLE_SPLIT_METASPLIT("table.split.meta", "", PropertyType.STRING,"Controls the number of " + + "metadata tablets a table has. When this property is set metadata tablets will automatically be added " + + "based on the number of user tablets. When not set, no metadata tablets are created or removed. The " + + "value of this property is a range like 1000-3000. This range determines when metadata tablets should be " + + "added or removed based on the number of user tablets a metadata tablet contains. For example for the " + + "range 1000-3000 when a metadata tablet contains less than 1000 user tablets its merged away" + + "when it contains more than 3000 splits are added to the metadata table.", "2.1.5"), TABLE_SPLIT_THRESHOLD("table.split.threshold", "1G", PropertyType.BYTES, "A tablet is split when the combined size of RFiles exceeds this amount.", "1.3.5"), TABLE_MAX_END_ROW_SIZE("table.split.endrow.size.max", "10k", PropertyType.BYTES, From dadc1542b9c56b00c1cd05d4ca34e864f5b54a18 Mon Sep 17 00:00:00 2001 From: Keith Turner Date: Tue, 18 Nov 2025 22:07:25 +0000 Subject: [PATCH 2/2] format code --- .../org/apache/accumulo/core/conf/Property.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/org/apache/accumulo/core/conf/Property.java b/core/src/main/java/org/apache/accumulo/core/conf/Property.java index 778b67e78a0..31b4e3b7f83 100644 --- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java +++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java @@ -1125,13 +1125,13 @@ public enum Property { + " when regular compactions are not running. Idle compactions only take" + " place for tablets that have one or more RFiles.", "1.3.5"), - TABLE_SPLIT_METASPLIT("table.split.meta", "", PropertyType.STRING,"Controls the number of " + - "metadata tablets a table has. When this property is set metadata tablets will automatically be added " + - "based on the number of user tablets. When not set, no metadata tablets are created or removed. The " + - "value of this property is a range like 1000-3000. This range determines when metadata tablets should be " + - "added or removed based on the number of user tablets a metadata tablet contains. For example for the " + - "range 1000-3000 when a metadata tablet contains less than 1000 user tablets its merged away" + - "when it contains more than 3000 splits are added to the metadata table.", "2.1.5"), + TABLE_SPLIT_METASPLIT("table.split.meta", "", PropertyType.STRING, "Controls the number of " + + "metadata tablets a table has. When this property is set metadata tablets will automatically be added " + + "based on the number of user tablets. When not set, no metadata tablets are created or removed. The " + + "value of this property is a range like 1000-3000. This range determines when metadata tablets should be " + + "added or removed based on the number of user tablets a metadata tablet contains. For example, for the " + + "range 1000-3000 when a metadata tablet contains less than 1000 user tablets its merged away" + + "when it contains more than 3000, splits are added to the metadata table.", "2.1.5"), TABLE_SPLIT_THRESHOLD("table.split.threshold", "1G", PropertyType.BYTES, "A tablet is split when the combined size of RFiles exceeds this amount.", "1.3.5"), TABLE_MAX_END_ROW_SIZE("table.split.endrow.size.max", "10k", PropertyType.BYTES,