Repository: hbase
Updated Branches:
  refs/heads/branch-2 313a65a13 -> c89cfd340


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/c89cfd34
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c89cfd34
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c89cfd34

Branch: refs/heads/branch-2
Commit: c89cfd3406823cf05fa83464c5ddee16bf0d473f
Parents: 313a65a
Author: Daisuke <poleon...@gmail.com>
Authored: Sat Dec 3 19:03:38 2016 +0900
Committer: Michael Stack <st...@apache.org>
Committed: Thu Dec 21 21:35:50 2017 -0800

----------------------------------------------------------------------
 .../master/normalizer/SimpleRegionNormalizer.java     | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c89cfd34/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 &lt;  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,

Reply via email to