You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/12/22 05:35:32 UTC
hbase git commit: HBASE--17248 fix javadoc in SimpleRegionNormalizer
Repository: hbase
Updated Branches:
refs/heads/master 5f02bf5b7 -> 37bf54a51
HBASE--17248 fix javadoc in SimpleRegionNormalizer
Signed-off-by: Michael Stack <st...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/37bf54a5
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/37bf54a5
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/37bf54a5
Branch: refs/heads/master
Commit: 37bf54a516f038a86b818d872452fb7169dd5a42
Parents: 5f02bf5
Author: Daisuke <po...@gmail.com>
Authored: Sat Dec 3 19:03:38 2016 +0900
Committer: Michael Stack <st...@apache.org>
Committed: Thu Dec 21 21:35:08 2017 -0800
----------------------------------------------------------------------
.../master/normalizer/SimpleRegionNormalizer.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/37bf54a5/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
index 767324a..38cf847 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
@@ -43,13 +43,13 @@ import org.apache.hadoop.hbase.shaded.protobuf.RequestConverter;
* Logic in use:
*
* <ol>
- * <li> get all regions of a given table
- * <li> get avg size S of each region (by total size of store files reported in RegionLoad)
- * <li> If biggest region is bigger than S * 2, it is kindly requested to split,
- * and normalization stops
- * <li> Otherwise, two smallest region R1 and its smallest neighbor R2 are kindly requested
- * to merge, if R1 + R1 < S, and normalization stops
- * <li> Otherwise, no action is performed
+ * <li> Get all regions of a given table
+ * <li> Get avg size S of each region (by total size of store files reported in RegionLoad)
+ * <li> Seek every single region one by one. If a region R0 is bigger than S * 2, it is
+ * kindly requested to split. Thereon evaluate the next region R1
+ * <li> Otherwise, if R0 + R1 is smaller than S, R0 and R1 are kindly requested to merge.
+ * Thereon evaluate the next region R2
+ * <li> Otherwise, R1 is evaluated
* </ol>
* <p>
* Region sizes are coarse and approximate on the order of megabytes. Additionally,