You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gi...@apache.org on 2021/11/05 20:19:42 UTC

[hbase-site] branch asf-site updated: Published site at ed2f3a94affe32b33a734b0082e6fd2c9e2c2ad0.

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hbase-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 24b145c  Published site at ed2f3a94affe32b33a734b0082e6fd2c9e2c2ad0.
24b145c is described below

commit 24b145c958285249f2cce8f79dfb92e8ef82dc75
Author: jenkins <bu...@apache.org>
AuthorDate: Fri Nov 5 20:18:51 2021 +0000

    Published site at ed2f3a94affe32b33a734b0082e6fd2c9e2c2ad0.
---
 acid-semantics.html                                |   2 +-
 apache_hbase_reference_guide.pdf                   |   4 +-
 book.html                                          |   2 +-
 bulk-loads.html                                    |   2 +-
 checkstyle-aggregate.html                          |  58 +-
 coc.html                                           |   2 +-
 dependencies.html                                  |   2 +-
 dependency-convergence.html                        |   2 +-
 dependency-info.html                               |   2 +-
 dependency-management.html                         |   2 +-
 .../hbase/regionserver/HRegionFileSystem.html      |  40 +-
 .../hbase/regionserver/HRegionFileSystem.html      | 943 ++++++++++-----------
 downloads.html                                     |   6 +-
 export_control.html                                |   2 +-
 index.html                                         |   2 +-
 issue-tracking.html                                |   2 +-
 mail-lists.html                                    |   2 +-
 metrics.html                                       |   2 +-
 old_news.html                                      |   2 +-
 plugin-management.html                             |   2 +-
 plugins.html                                       |   2 +-
 poweredbyhbase.html                                |   2 +-
 project-info.html                                  |   2 +-
 project-reports.html                               |   2 +-
 project-summary.html                               |   2 +-
 pseudo-distributed.html                            |   2 +-
 replication.html                                   |   2 +-
 resources.html                                     |   2 +-
 source-repository.html                             |   2 +-
 sponsors.html                                      |   2 +-
 supportingprojects.html                            |   2 +-
 team-list.html                                     |   2 +-
 testdevapidocs/index-all.html                      |   4 +
 .../hadoop/hbase/chaos/actions/package-tree.html   |   2 +-
 .../hadoop/hbase/class-use/HBaseTestingUtil.html   |  19 +-
 .../apache/hadoop/hbase/io/hfile/package-tree.html |   2 +-
 .../master/assignment/AssignmentTestingUtil.html   |  44 +-
 .../hbase/master/assignment/TestRegionSplit.html   |  52 +-
 .../org/apache/hadoop/hbase/package-tree.html      |  14 +-
 .../hadoop/hbase/procedure/package-tree.html       |   8 +-
 .../hadoop/hbase/procedure2/package-tree.html      |   4 +-
 .../hadoop/hbase/regionserver/package-tree.html    |   6 +-
 .../org/apache/hadoop/hbase/test/package-tree.html |   6 +-
 .../master/assignment/AssignmentTestingUtil.html   |  38 +-
 .../hbase/master/assignment/TestRegionSplit.html   | 325 ++++---
 45 files changed, 873 insertions(+), 756 deletions(-)

diff --git a/acid-semantics.html b/acid-semantics.html
index 057e690..197e8e9 100644
--- a/acid-semantics.html
+++ b/acid-semantics.html
@@ -456,7 +456,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index 51e2342..26329e2 100644
--- a/apache_hbase_reference_guide.pdf
+++ b/apache_hbase_reference_guide.pdf
@@ -5,8 +5,8 @@
 /Author (Apache HBase Team)
 /Creator (Asciidoctor PDF 1.5.3, based on Prawn 2.2.2)
 /Producer (Apache HBase Team)
-/ModDate (D:20211103193456+00'00')
-/CreationDate (D:20211103194657+00'00')
+/ModDate (D:20211105200619+00'00')
+/CreationDate (D:20211105201658+00'00')
 >>
 endobj
 2 0 obj
diff --git a/book.html b/book.html
index 80272fd..60bf638 100644
--- a/book.html
+++ b/book.html
@@ -46227,7 +46227,7 @@ org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/
 <div id="footer">
 <div id="footer-text">
 Version 3.0.0-alpha-2-SNAPSHOT<br>
-Last updated 2021-11-03 19:34:56 UTC
+Last updated 2021-11-05 20:06:19 UTC
 </div>
 </div>
 <link rel="stylesheet" href="./coderay-asciidoctor.css">
diff --git a/bulk-loads.html b/bulk-loads.html
index 80c3f2d..b35a38f 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -161,7 +161,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index cbbb148..0f0b41a 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -7368,7 +7368,7 @@
 <tr class="a">
 <td>annotation</td>
 <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_annotation.html#MissingDeprecated">MissingDeprecated</a></td>
-<td>6</td>
+<td>8</td>
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td></tr>
 <tr class="b">
 <td>blocks</td>
@@ -7472,7 +7472,7 @@
 <tr class="b">
 <td></td>
 <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription">NonEmptyAtclauseDescription</a></td>
-<td>2094</td>
+<td>2092</td>
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td></tr>
 <tr class="a">
 <td>misc</td>
@@ -34891,8 +34891,8 @@
 <th>Line</th></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
-<td>javadoc</td>
-<td>NonEmptyAtclauseDescription</td>
+<td>annotation</td>
+<td>MissingDeprecated</td>
 <td>Javadoc comment at column 14 has parse error. Details: mismatched input ':' expecting &lt;EOF&gt; while parsing JAVADOC</td>
 <td>46</td></tr></table></div>
 <div class="section">
@@ -47137,133 +47137,133 @@
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>715</td></tr>
+<td>714</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>760</td></tr>
+<td>759</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>777</td></tr>
+<td>776</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>779</td></tr>
+<td>778</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
-<td>853</td></tr>
+<td>852</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>936</td></tr>
+<td>935</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1014</td></tr>
+<td>1013</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1017</td></tr>
+<td>1016</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1027</td></tr>
+<td>1026</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1040</td></tr>
+<td>1039</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1041</td></tr>
+<td>1040</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1043</td></tr>
+<td>1042</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1053</td></tr>
+<td>1052</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1068</td></tr>
+<td>1067</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1070</td></tr>
+<td>1069</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1080</td></tr>
+<td>1079</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1103</td></tr>
+<td>1102</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1104</td></tr>
+<td>1103</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1105</td></tr>
+<td>1104</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>1108</td></tr>
+<td>1107</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1123</td></tr>
+<td>1122</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
-<td>1125</td></tr></table></div>
+<td>1124</td></tr></table></div>
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.HRegionServer.java">org/apache/hadoop/hbase/regionserver/HRegionServer.java</h3>
 <table border="0" class="table table-striped">
@@ -49585,8 +49585,8 @@
 <th>Line</th></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
-<td>javadoc</td>
-<td>NonEmptyAtclauseDescription</td>
+<td>annotation</td>
+<td>MissingDeprecated</td>
 <td>Javadoc comment at column 54 has parse error. Details: no viable alternative at input '(' while parsing JAVADOC_INLINE_TAG</td>
 <td>59</td></tr>
 <tr class="a">
@@ -72520,7 +72520,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/coc.html b/coc.html
index f75ae2b..bff9a56 100644
--- a/coc.html
+++ b/coc.html
@@ -230,7 +230,7 @@ email to <a class="externalLink" href="mailto:private@hbase.apache.org">the priv
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependencies.html b/dependencies.html
index d55e6cd..da1daae 100644
--- a/dependencies.html
+++ b/dependencies.html
@@ -302,7 +302,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-convergence.html b/dependency-convergence.html
index bdfabf3..1cfc471 100644
--- a/dependency-convergence.html
+++ b/dependency-convergence.html
@@ -972,7 +972,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-info.html b/dependency-info.html
index 2e019e3..3eb1ac7 100644
--- a/dependency-info.html
+++ b/dependency-info.html
@@ -183,7 +183,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-management.html b/dependency-management.html
index 5940b02..4f7e24a 100644
--- a/dependency-management.html
+++ b/dependency-management.html
@@ -1260,7 +1260,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
index fad4b29..edd6e9d 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
@@ -1504,7 +1504,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getMergesDir</h4>
-<pre>org.apache.hadoop.fs.Path&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.707">getMergesDir</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;hri)</pre>
+<pre>org.apache.hadoop.fs.Path&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.706">getMergesDir</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;hri)</pre>
 </li>
 </ul>
 <a name="cleanupMergedRegion-org.apache.hadoop.hbase.client.RegionInfo-">
@@ -1513,7 +1513,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>cleanupMergedRegion</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.717">cleanupMergedRegion</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;mergedRegion)
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.716">cleanupMergedRegion</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;mergedRegion)
                          throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Remove merged region</div>
 <dl>
@@ -1530,7 +1530,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>mkdirs</h4>
-<pre>static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.724">mkdirs</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
+<pre>static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.723">mkdirs</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
                       org.apache.hadoop.conf.Configuration&nbsp;conf,
                       org.apache.hadoop.fs.Path&nbsp;dir)
                throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -1546,7 +1546,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>mergeStoreFile</h4>
-<pre>public&nbsp;org.apache.hadoop.fs.Path&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.741">mergeStoreFile</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;mergingRegion,
+<pre>public&nbsp;org.apache.hadoop.fs.Path&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.740">mergeStoreFile</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;mergingRegion,
                                                 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;familyName,
                                                 <a href="../../../../../org/apache/hadoop/hbase/regionserver/HStoreFile.html" title="class in org.apache.hadoop.hbase.regionserver">HStoreFile</a>&nbsp;f)
                                          throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -1569,7 +1569,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>commitMergedRegion</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.762">commitMergedRegion</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.761">commitMergedRegion</a>()
                         throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Commit a merged region, making it ready for use.</div>
 <dl>
@@ -1584,7 +1584,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>getRegionInfoFileContent</h4>
-<pre>private static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.781">getRegionInfoFileContent</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;hri)
+<pre>private static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.780">getRegionInfoFileContent</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;hri)
                                         throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1602,7 +1602,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>loadRegionInfoFileContent</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.792">loadRegionInfoFileContent</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.791">loadRegionInfoFileContent</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
                                                    org.apache.hadoop.fs.Path&nbsp;regionDir)
                                             throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Create a <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionInfo</code></a> from the serialized version on-disk.</div>
@@ -1623,7 +1623,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>writeRegionInfoFileContent</h4>
-<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.807">writeRegionInfoFileContent</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.806">writeRegionInfoFileContent</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
                                                org.apache.hadoop.fs.FileSystem&nbsp;fs,
                                                org.apache.hadoop.fs.Path&nbsp;regionInfoFile,
                                                byte[]&nbsp;content)
@@ -1643,7 +1643,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>checkRegionInfoOnFilesystem</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.821">checkRegionInfoOnFilesystem</a>()
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.820">checkRegionInfoOnFilesystem</a>()
                           throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Write out an info file under the stored region directory. Useful recovering mangled regions.
  If the regionInfo already exists on-disk, then we fast exit.</div>
@@ -1659,7 +1659,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>writeRegionInfoOnFilesystem</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.865">writeRegionInfoOnFilesystem</a>(boolean&nbsp;useTempDir)
+<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.864">writeRegionInfoOnFilesystem</a>(boolean&nbsp;useTempDir)
                                   throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Write out an info file under the region directory. Useful recovering mangled regions.</div>
 <dl>
@@ -1676,7 +1676,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>writeRegionInfoOnFilesystem</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.875">writeRegionInfoOnFilesystem</a>(byte[]&nbsp;regionInfoContent,
+<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.874">writeRegionInfoOnFilesystem</a>(byte[]&nbsp;regionInfoContent,
                                          boolean&nbsp;useTempDir)
                                   throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Write out an info file under the region directory. Useful recovering mangled regions.</div>
@@ -1695,7 +1695,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>createRegionOnFileSystem</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html" title="class in org.apache.hadoop.hbase.regionserver">HRegionFileSystem</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.916">createRegionOnFileSystem</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html" title="class in org.apache.hadoop.hbase.regionserver">HRegionFileSystem</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.915">createRegionOnFileSystem</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
                                                          org.apache.hadoop.fs.FileSystem&nbsp;fs,
                                                          org.apache.hadoop.fs.Path&nbsp;tableDir,
                                                          <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;regionInfo)
@@ -1718,7 +1718,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>openRegionFromFileSystem</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html" title="class in org.apache.hadoop.hbase.regionserver">HRegionFileSystem</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.951">openRegionFromFileSystem</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html" title="class in org.apache.hadoop.hbase.regionserver">HRegionFileSystem</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.950">openRegionFromFileSystem</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
                                                          org.apache.hadoop.fs.FileSystem&nbsp;fs,
                                                          org.apache.hadoop.fs.Path&nbsp;tableDir,
                                                          <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;regionInfo,
@@ -1743,7 +1743,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>deleteRegionFromFileSystem</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.988">deleteRegionFromFileSystem</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.987">deleteRegionFromFileSystem</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
                                               org.apache.hadoop.fs.FileSystem&nbsp;fs,
                                               org.apache.hadoop.fs.Path&nbsp;tableDir,
                                               <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a>&nbsp;regionInfo)
@@ -1766,7 +1766,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>createDir</h4>
-<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1019">createDir</a>(org.apache.hadoop.fs.Path&nbsp;dir)
+<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1018">createDir</a>(org.apache.hadoop.fs.Path&nbsp;dir)
            throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Creates a directory. Assumes the user has already checked for this directory existence.</div>
 <dl>
@@ -1786,7 +1786,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>rename</h4>
-<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1045">rename</a>(org.apache.hadoop.fs.Path&nbsp;srcpath,
+<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1044">rename</a>(org.apache.hadoop.fs.Path&nbsp;srcpath,
                org.apache.hadoop.fs.Path&nbsp;dstPath)
         throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Renames a directory. Assumes the user has already checked for this directory existence.</div>
@@ -1807,7 +1807,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>deleteDir</h4>
-<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1072">deleteDir</a>(org.apache.hadoop.fs.Path&nbsp;dir)
+<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1071">deleteDir</a>(org.apache.hadoop.fs.Path&nbsp;dir)
            throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Deletes a directory. Assumes the user has already checked for this directory existence.</div>
 <dl>
@@ -1826,7 +1826,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>sleepBeforeRetry</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1096">sleepBeforeRetry</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg,
+<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1095">sleepBeforeRetry</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg,
                               int&nbsp;sleepMultiplier)
                        throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
 <div class="block">sleeping logic; handles the interrupt exception.</div>
@@ -1842,7 +1842,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockList">
 <li class="blockList">
 <h4>createDirOnFileSystem</h4>
-<pre>private static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1110">createDirOnFileSystem</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
+<pre>private static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1109">createDirOnFileSystem</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
                                              org.apache.hadoop.conf.Configuration&nbsp;conf,
                                              org.apache.hadoop.fs.Path&nbsp;dir)
                                       throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -1867,7 +1867,7 @@ public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.
 <ul class="blockListLast">
 <li class="blockList">
 <h4>sleepBeforeRetry</h4>
-<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1139">sleepBeforeRetry</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg,
+<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html#line.1138">sleepBeforeRetry</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg,
                                      int&nbsp;sleepMultiplier,
                                      int&nbsp;baseSleepBeforeRetries,
                                      int&nbsp;hdfsClientRetriesNumber)
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
index 6f78d11..611bf92 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
@@ -675,9 +675,9 @@
 <span class="sourceLineNo">667</span>      // If it is outside the range, return directly.<a name="line.667"></a>
 <span class="sourceLineNo">668</span>      f.initReader();<a name="line.668"></a>
 <span class="sourceLineNo">669</span>      try {<a name="line.669"></a>
-<span class="sourceLineNo">670</span>        if (top) {<a name="line.670"></a>
-<span class="sourceLineNo">671</span>          //check if larger than last key.<a name="line.671"></a>
-<span class="sourceLineNo">672</span>          Cell splitKey = PrivateCellUtil.createFirstOnRow(splitRow);<a name="line.672"></a>
+<span class="sourceLineNo">670</span>        Cell splitKey = PrivateCellUtil.createFirstOnRow(splitRow);<a name="line.670"></a>
+<span class="sourceLineNo">671</span>        if (top) {<a name="line.671"></a>
+<span class="sourceLineNo">672</span>          //check if larger than last key.<a name="line.672"></a>
 <span class="sourceLineNo">673</span>          Optional&lt;Cell&gt; lastKey = f.getLastKey();<a name="line.673"></a>
 <span class="sourceLineNo">674</span>          // If lastKey is null means storefile is empty.<a name="line.674"></a>
 <span class="sourceLineNo">675</span>          if (!lastKey.isPresent()) {<a name="line.675"></a>
@@ -688,476 +688,475 @@
 <span class="sourceLineNo">680</span>          }<a name="line.680"></a>
 <span class="sourceLineNo">681</span>        } else {<a name="line.681"></a>
 <span class="sourceLineNo">682</span>          //check if smaller than first key<a name="line.682"></a>
-<span class="sourceLineNo">683</span>          Cell splitKey = PrivateCellUtil.createLastOnRow(splitRow);<a name="line.683"></a>
-<span class="sourceLineNo">684</span>          Optional&lt;Cell&gt; firstKey = f.getFirstKey();<a name="line.684"></a>
-<span class="sourceLineNo">685</span>          // If firstKey is null means storefile is empty.<a name="line.685"></a>
-<span class="sourceLineNo">686</span>          if (!firstKey.isPresent()) {<a name="line.686"></a>
-<span class="sourceLineNo">687</span>            return null;<a name="line.687"></a>
-<span class="sourceLineNo">688</span>          }<a name="line.688"></a>
-<span class="sourceLineNo">689</span>          if (f.getComparator().compare(splitKey, firstKey.get()) &lt; 0) {<a name="line.689"></a>
-<span class="sourceLineNo">690</span>            return null;<a name="line.690"></a>
-<span class="sourceLineNo">691</span>          }<a name="line.691"></a>
-<span class="sourceLineNo">692</span>        }<a name="line.692"></a>
-<span class="sourceLineNo">693</span>      } finally {<a name="line.693"></a>
-<span class="sourceLineNo">694</span>        f.closeStoreFile(f.getCacheConf() != null ? f.getCacheConf().shouldEvictOnClose() : true);<a name="line.694"></a>
-<span class="sourceLineNo">695</span>      }<a name="line.695"></a>
-<span class="sourceLineNo">696</span>    }<a name="line.696"></a>
-<span class="sourceLineNo">697</span>    // A reference to the bottom half of the hsf store file.<a name="line.697"></a>
-<span class="sourceLineNo">698</span>    Reference r =<a name="line.698"></a>
-<span class="sourceLineNo">699</span>      top ? Reference.createTopReference(splitRow): Reference.createBottomReference(splitRow);<a name="line.699"></a>
-<span class="sourceLineNo">700</span>    return r.write(fs, p);<a name="line.700"></a>
-<span class="sourceLineNo">701</span>  }<a name="line.701"></a>
-<span class="sourceLineNo">702</span><a name="line.702"></a>
-<span class="sourceLineNo">703</span>  // ===========================================================================<a name="line.703"></a>
-<span class="sourceLineNo">704</span>  //  Merge Helpers<a name="line.704"></a>
-<span class="sourceLineNo">705</span>  // ===========================================================================<a name="line.705"></a>
-<span class="sourceLineNo">706</span><a name="line.706"></a>
-<span class="sourceLineNo">707</span>  Path getMergesDir(final RegionInfo hri) {<a name="line.707"></a>
-<span class="sourceLineNo">708</span>    return new Path(getTableDir(), hri.getEncodedName());<a name="line.708"></a>
-<span class="sourceLineNo">709</span>  }<a name="line.709"></a>
+<span class="sourceLineNo">683</span>          Optional&lt;Cell&gt; firstKey = f.getFirstKey();<a name="line.683"></a>
+<span class="sourceLineNo">684</span>          // If firstKey is null means storefile is empty.<a name="line.684"></a>
+<span class="sourceLineNo">685</span>          if (!firstKey.isPresent()) {<a name="line.685"></a>
+<span class="sourceLineNo">686</span>            return null;<a name="line.686"></a>
+<span class="sourceLineNo">687</span>          }<a name="line.687"></a>
+<span class="sourceLineNo">688</span>          if (f.getComparator().compare(splitKey, firstKey.get()) &lt; 0) {<a name="line.688"></a>
+<span class="sourceLineNo">689</span>            return null;<a name="line.689"></a>
+<span class="sourceLineNo">690</span>          }<a name="line.690"></a>
+<span class="sourceLineNo">691</span>        }<a name="line.691"></a>
+<span class="sourceLineNo">692</span>      } finally {<a name="line.692"></a>
+<span class="sourceLineNo">693</span>        f.closeStoreFile(f.getCacheConf() != null ? f.getCacheConf().shouldEvictOnClose() : true);<a name="line.693"></a>
+<span class="sourceLineNo">694</span>      }<a name="line.694"></a>
+<span class="sourceLineNo">695</span>    }<a name="line.695"></a>
+<span class="sourceLineNo">696</span>    // A reference to the bottom half of the hsf store file.<a name="line.696"></a>
+<span class="sourceLineNo">697</span>    Reference r =<a name="line.697"></a>
+<span class="sourceLineNo">698</span>      top ? Reference.createTopReference(splitRow): Reference.createBottomReference(splitRow);<a name="line.698"></a>
+<span class="sourceLineNo">699</span>    return r.write(fs, p);<a name="line.699"></a>
+<span class="sourceLineNo">700</span>  }<a name="line.700"></a>
+<span class="sourceLineNo">701</span><a name="line.701"></a>
+<span class="sourceLineNo">702</span>  // ===========================================================================<a name="line.702"></a>
+<span class="sourceLineNo">703</span>  //  Merge Helpers<a name="line.703"></a>
+<span class="sourceLineNo">704</span>  // ===========================================================================<a name="line.704"></a>
+<span class="sourceLineNo">705</span><a name="line.705"></a>
+<span class="sourceLineNo">706</span>  Path getMergesDir(final RegionInfo hri) {<a name="line.706"></a>
+<span class="sourceLineNo">707</span>    return new Path(getTableDir(), hri.getEncodedName());<a name="line.707"></a>
+<span class="sourceLineNo">708</span>  }<a name="line.708"></a>
+<span class="sourceLineNo">709</span><a name="line.709"></a>
 <span class="sourceLineNo">710</span><a name="line.710"></a>
-<span class="sourceLineNo">711</span><a name="line.711"></a>
-<span class="sourceLineNo">712</span>  /**<a name="line.712"></a>
-<span class="sourceLineNo">713</span>   * Remove merged region<a name="line.713"></a>
-<span class="sourceLineNo">714</span>   * @param mergedRegion {@link RegionInfo}<a name="line.714"></a>
-<span class="sourceLineNo">715</span>   * @throws IOException<a name="line.715"></a>
-<span class="sourceLineNo">716</span>   */<a name="line.716"></a>
-<span class="sourceLineNo">717</span>  public void cleanupMergedRegion(final RegionInfo mergedRegion) throws IOException {<a name="line.717"></a>
-<span class="sourceLineNo">718</span>    Path regionDir = new Path(this.tableDir, mergedRegion.getEncodedName());<a name="line.718"></a>
-<span class="sourceLineNo">719</span>    if (this.fs.exists(regionDir) &amp;&amp; !this.fs.delete(regionDir, true)) {<a name="line.719"></a>
-<span class="sourceLineNo">720</span>      throw new IOException("Failed delete of " + regionDir);<a name="line.720"></a>
-<span class="sourceLineNo">721</span>    }<a name="line.721"></a>
-<span class="sourceLineNo">722</span>  }<a name="line.722"></a>
-<span class="sourceLineNo">723</span><a name="line.723"></a>
-<span class="sourceLineNo">724</span>  static boolean mkdirs(FileSystem fs, Configuration conf, Path dir) throws IOException {<a name="line.724"></a>
-<span class="sourceLineNo">725</span>    if (FSUtils.isDistributedFileSystem(fs) ||<a name="line.725"></a>
-<span class="sourceLineNo">726</span>      !conf.getBoolean(HConstants.ENABLE_DATA_FILE_UMASK, false)) {<a name="line.726"></a>
-<span class="sourceLineNo">727</span>      return fs.mkdirs(dir);<a name="line.727"></a>
-<span class="sourceLineNo">728</span>    }<a name="line.728"></a>
-<span class="sourceLineNo">729</span>    FsPermission perms = CommonFSUtils.getFilePermissions(fs, conf, HConstants.DATA_FILE_UMASK_KEY);<a name="line.729"></a>
-<span class="sourceLineNo">730</span>    return fs.mkdirs(dir, perms);<a name="line.730"></a>
-<span class="sourceLineNo">731</span>  }<a name="line.731"></a>
-<span class="sourceLineNo">732</span><a name="line.732"></a>
-<span class="sourceLineNo">733</span>  /**<a name="line.733"></a>
-<span class="sourceLineNo">734</span>   * Write out a merge reference under the given merges directory.<a name="line.734"></a>
-<span class="sourceLineNo">735</span>   * @param mergingRegion {@link RegionInfo} for one of the regions being merged.<a name="line.735"></a>
-<span class="sourceLineNo">736</span>   * @param familyName Column Family Name<a name="line.736"></a>
-<span class="sourceLineNo">737</span>   * @param f File to create reference.<a name="line.737"></a>
-<span class="sourceLineNo">738</span>   * @return Path to created reference.<a name="line.738"></a>
-<span class="sourceLineNo">739</span>   * @throws IOException if the merge write fails.<a name="line.739"></a>
-<span class="sourceLineNo">740</span>   */<a name="line.740"></a>
-<span class="sourceLineNo">741</span>  public Path mergeStoreFile(RegionInfo mergingRegion, String familyName, HStoreFile f)<a name="line.741"></a>
-<span class="sourceLineNo">742</span>      throws IOException {<a name="line.742"></a>
-<span class="sourceLineNo">743</span>    Path referenceDir = new Path(getMergesDir(regionInfoForFs), familyName);<a name="line.743"></a>
-<span class="sourceLineNo">744</span>    // A whole reference to the store file.<a name="line.744"></a>
-<span class="sourceLineNo">745</span>    Reference r = Reference.createTopReference(mergingRegion.getStartKey());<a name="line.745"></a>
-<span class="sourceLineNo">746</span>    // Add the referred-to regions name as a dot separated suffix.<a name="line.746"></a>
-<span class="sourceLineNo">747</span>    // See REF_NAME_REGEX regex above. The referred-to regions name is<a name="line.747"></a>
-<span class="sourceLineNo">748</span>    // up in the path of the passed in &lt;code&gt;f&lt;/code&gt; -- parentdir is family,<a name="line.748"></a>
-<span class="sourceLineNo">749</span>    // then the directory above is the region name.<a name="line.749"></a>
-<span class="sourceLineNo">750</span>    String mergingRegionName = mergingRegion.getEncodedName();<a name="line.750"></a>
-<span class="sourceLineNo">751</span>    // Write reference with same file id only with the other region name as<a name="line.751"></a>
-<span class="sourceLineNo">752</span>    // suffix and into the new region location (under same family).<a name="line.752"></a>
-<span class="sourceLineNo">753</span>    Path p = new Path(referenceDir, f.getPath().getName() + "."<a name="line.753"></a>
-<span class="sourceLineNo">754</span>      + mergingRegionName);<a name="line.754"></a>
-<span class="sourceLineNo">755</span>    return r.write(fs, p);<a name="line.755"></a>
-<span class="sourceLineNo">756</span>  }<a name="line.756"></a>
-<span class="sourceLineNo">757</span><a name="line.757"></a>
-<span class="sourceLineNo">758</span>  /**<a name="line.758"></a>
-<span class="sourceLineNo">759</span>   * Commit a merged region, making it ready for use.<a name="line.759"></a>
-<span class="sourceLineNo">760</span>   * @throws IOException<a name="line.760"></a>
-<span class="sourceLineNo">761</span>   */<a name="line.761"></a>
-<span class="sourceLineNo">762</span>  public void commitMergedRegion() throws IOException {<a name="line.762"></a>
-<span class="sourceLineNo">763</span>    Path regionDir = getMergesDir(regionInfoForFs);<a name="line.763"></a>
-<span class="sourceLineNo">764</span>    if (regionDir != null &amp;&amp; fs.exists(regionDir)) {<a name="line.764"></a>
-<span class="sourceLineNo">765</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.765"></a>
-<span class="sourceLineNo">766</span>      Path regionInfoFile = new Path(regionDir, REGION_INFO_FILE);<a name="line.766"></a>
-<span class="sourceLineNo">767</span>      byte[] regionInfoContent = getRegionInfoFileContent(regionInfo);<a name="line.767"></a>
-<span class="sourceLineNo">768</span>      writeRegionInfoFileContent(conf, fs, regionInfoFile, regionInfoContent);<a name="line.768"></a>
-<span class="sourceLineNo">769</span>    }<a name="line.769"></a>
-<span class="sourceLineNo">770</span>  }<a name="line.770"></a>
-<span class="sourceLineNo">771</span><a name="line.771"></a>
-<span class="sourceLineNo">772</span>  // ===========================================================================<a name="line.772"></a>
-<span class="sourceLineNo">773</span>  //  Create/Open/Delete Helpers<a name="line.773"></a>
-<span class="sourceLineNo">774</span>  // ===========================================================================<a name="line.774"></a>
-<span class="sourceLineNo">775</span><a name="line.775"></a>
-<span class="sourceLineNo">776</span>  /**<a name="line.776"></a>
-<span class="sourceLineNo">777</span>   * @param hri<a name="line.777"></a>
-<span class="sourceLineNo">778</span>   * @return Content of the file we write out to the filesystem under a region<a name="line.778"></a>
-<span class="sourceLineNo">779</span>   * @throws IOException<a name="line.779"></a>
-<span class="sourceLineNo">780</span>   */<a name="line.780"></a>
-<span class="sourceLineNo">781</span>  private static byte[] getRegionInfoFileContent(final RegionInfo hri) throws IOException {<a name="line.781"></a>
-<span class="sourceLineNo">782</span>    return RegionInfo.toDelimitedByteArray(hri);<a name="line.782"></a>
-<span class="sourceLineNo">783</span>  }<a name="line.783"></a>
-<span class="sourceLineNo">784</span><a name="line.784"></a>
-<span class="sourceLineNo">785</span>  /**<a name="line.785"></a>
-<span class="sourceLineNo">786</span>   * Create a {@link RegionInfo} from the serialized version on-disk.<a name="line.786"></a>
-<span class="sourceLineNo">787</span>   * @param fs {@link FileSystem} that contains the Region Info file<a name="line.787"></a>
-<span class="sourceLineNo">788</span>   * @param regionDir {@link Path} to the Region Directory that contains the Info file<a name="line.788"></a>
-<span class="sourceLineNo">789</span>   * @return An {@link RegionInfo} instance gotten from the Region Info file.<a name="line.789"></a>
-<span class="sourceLineNo">790</span>   * @throws IOException if an error occurred during file open/read operation.<a name="line.790"></a>
-<span class="sourceLineNo">791</span>   */<a name="line.791"></a>
-<span class="sourceLineNo">792</span>  public static RegionInfo loadRegionInfoFileContent(final FileSystem fs, final Path regionDir)<a name="line.792"></a>
-<span class="sourceLineNo">793</span>      throws IOException {<a name="line.793"></a>
-<span class="sourceLineNo">794</span>    FSDataInputStream in = fs.open(new Path(regionDir, REGION_INFO_FILE));<a name="line.794"></a>
-<span class="sourceLineNo">795</span>    try {<a name="line.795"></a>
-<span class="sourceLineNo">796</span>      return RegionInfo.parseFrom(in);<a name="line.796"></a>
-<span class="sourceLineNo">797</span>    } finally {<a name="line.797"></a>
-<span class="sourceLineNo">798</span>      in.close();<a name="line.798"></a>
-<span class="sourceLineNo">799</span>    }<a name="line.799"></a>
-<span class="sourceLineNo">800</span>  }<a name="line.800"></a>
-<span class="sourceLineNo">801</span><a name="line.801"></a>
-<span class="sourceLineNo">802</span>  /**<a name="line.802"></a>
-<span class="sourceLineNo">803</span>   * Write the .regioninfo file on-disk.<a name="line.803"></a>
-<span class="sourceLineNo">804</span>   * &lt;p/&gt;<a name="line.804"></a>
-<span class="sourceLineNo">805</span>   * Overwrites if exists already.<a name="line.805"></a>
-<span class="sourceLineNo">806</span>   */<a name="line.806"></a>
-<span class="sourceLineNo">807</span>  private static void writeRegionInfoFileContent(final Configuration conf, final FileSystem fs,<a name="line.807"></a>
-<span class="sourceLineNo">808</span>    final Path regionInfoFile, final byte[] content) throws IOException {<a name="line.808"></a>
-<span class="sourceLineNo">809</span>    // First check to get the permissions<a name="line.809"></a>
-<span class="sourceLineNo">810</span>    FsPermission perms = CommonFSUtils.getFilePermissions(fs, conf, HConstants.DATA_FILE_UMASK_KEY);<a name="line.810"></a>
-<span class="sourceLineNo">811</span>    // Write the RegionInfo file content<a name="line.811"></a>
-<span class="sourceLineNo">812</span>    try (FSDataOutputStream out = FSUtils.create(conf, fs, regionInfoFile, perms, null)) {<a name="line.812"></a>
-<span class="sourceLineNo">813</span>      out.write(content);<a name="line.813"></a>
-<span class="sourceLineNo">814</span>    }<a name="line.814"></a>
-<span class="sourceLineNo">815</span>  }<a name="line.815"></a>
-<span class="sourceLineNo">816</span><a name="line.816"></a>
-<span class="sourceLineNo">817</span>  /**<a name="line.817"></a>
-<span class="sourceLineNo">818</span>   * Write out an info file under the stored region directory. Useful recovering mangled regions.<a name="line.818"></a>
-<span class="sourceLineNo">819</span>   * If the regionInfo already exists on-disk, then we fast exit.<a name="line.819"></a>
-<span class="sourceLineNo">820</span>   */<a name="line.820"></a>
-<span class="sourceLineNo">821</span>  void checkRegionInfoOnFilesystem() throws IOException {<a name="line.821"></a>
-<span class="sourceLineNo">822</span>    // Compose the content of the file so we can compare to length in filesystem. If not same,<a name="line.822"></a>
-<span class="sourceLineNo">823</span>    // rewrite it (it may have been written in the old format using Writables instead of pb). The<a name="line.823"></a>
-<span class="sourceLineNo">824</span>    // pb version is much shorter -- we write now w/o the toString version -- so checking length<a name="line.824"></a>
-<span class="sourceLineNo">825</span>    // only should be sufficient. I don't want to read the file every time to check if it pb<a name="line.825"></a>
-<span class="sourceLineNo">826</span>    // serialized.<a name="line.826"></a>
-<span class="sourceLineNo">827</span>    byte[] content = getRegionInfoFileContent(regionInfoForFs);<a name="line.827"></a>
-<span class="sourceLineNo">828</span><a name="line.828"></a>
-<span class="sourceLineNo">829</span>    // Verify if the region directory exists before opening a region. We need to do this since if<a name="line.829"></a>
-<span class="sourceLineNo">830</span>    // the region directory doesn't exist we will re-create the region directory and a new HRI<a name="line.830"></a>
-<span class="sourceLineNo">831</span>    // when HRegion.openHRegion() is called.<a name="line.831"></a>
-<span class="sourceLineNo">832</span>    try {<a name="line.832"></a>
-<span class="sourceLineNo">833</span>      FileStatus status = fs.getFileStatus(getRegionDir());<a name="line.833"></a>
-<span class="sourceLineNo">834</span>    } catch (FileNotFoundException e) {<a name="line.834"></a>
-<span class="sourceLineNo">835</span>      LOG.warn(getRegionDir() + " doesn't exist for region: " + regionInfoForFs.getEncodedName() +<a name="line.835"></a>
-<span class="sourceLineNo">836</span>          " on table " + regionInfo.getTable());<a name="line.836"></a>
-<span class="sourceLineNo">837</span>    }<a name="line.837"></a>
-<span class="sourceLineNo">838</span><a name="line.838"></a>
-<span class="sourceLineNo">839</span>    try {<a name="line.839"></a>
-<span class="sourceLineNo">840</span>      Path regionInfoFile = new Path(getRegionDir(), REGION_INFO_FILE);<a name="line.840"></a>
-<span class="sourceLineNo">841</span>      FileStatus status = fs.getFileStatus(regionInfoFile);<a name="line.841"></a>
-<span class="sourceLineNo">842</span>      if (status != null &amp;&amp; status.getLen() == content.length) {<a name="line.842"></a>
-<span class="sourceLineNo">843</span>        // Then assume the content good and move on.<a name="line.843"></a>
-<span class="sourceLineNo">844</span>        // NOTE: that the length is not sufficient to define the the content matches.<a name="line.844"></a>
-<span class="sourceLineNo">845</span>        return;<a name="line.845"></a>
-<span class="sourceLineNo">846</span>      }<a name="line.846"></a>
-<span class="sourceLineNo">847</span><a name="line.847"></a>
-<span class="sourceLineNo">848</span>      LOG.info("Rewriting .regioninfo file at: " + regionInfoFile);<a name="line.848"></a>
-<span class="sourceLineNo">849</span>      if (!fs.delete(regionInfoFile, false)) {<a name="line.849"></a>
-<span class="sourceLineNo">850</span>        throw new IOException("Unable to remove existing " + regionInfoFile);<a name="line.850"></a>
-<span class="sourceLineNo">851</span>      }<a name="line.851"></a>
-<span class="sourceLineNo">852</span>    } catch (FileNotFoundException e) {<a name="line.852"></a>
-<span class="sourceLineNo">853</span>      LOG.warn(REGION_INFO_FILE + " file not found for region: " + regionInfoForFs.getEncodedName() +<a name="line.853"></a>
-<span class="sourceLineNo">854</span>          " on table " + regionInfo.getTable());<a name="line.854"></a>
-<span class="sourceLineNo">855</span>    }<a name="line.855"></a>
-<span class="sourceLineNo">856</span><a name="line.856"></a>
-<span class="sourceLineNo">857</span>    // Write HRI to a file in case we need to recover hbase:meta<a name="line.857"></a>
-<span class="sourceLineNo">858</span>    writeRegionInfoOnFilesystem(content, true);<a name="line.858"></a>
-<span class="sourceLineNo">859</span>  }<a name="line.859"></a>
-<span class="sourceLineNo">860</span><a name="line.860"></a>
-<span class="sourceLineNo">861</span>  /**<a name="line.861"></a>
-<span class="sourceLineNo">862</span>   * Write out an info file under the region directory. Useful recovering mangled regions.<a name="line.862"></a>
-<span class="sourceLineNo">863</span>   * @param useTempDir indicate whether or not using the region .tmp dir for a safer file creation.<a name="line.863"></a>
-<span class="sourceLineNo">864</span>   */<a name="line.864"></a>
-<span class="sourceLineNo">865</span>  private void writeRegionInfoOnFilesystem(boolean useTempDir) throws IOException {<a name="line.865"></a>
-<span class="sourceLineNo">866</span>    byte[] content = getRegionInfoFileContent(regionInfoForFs);<a name="line.866"></a>
-<span class="sourceLineNo">867</span>    writeRegionInfoOnFilesystem(content, useTempDir);<a name="line.867"></a>
-<span class="sourceLineNo">868</span>  }<a name="line.868"></a>
-<span class="sourceLineNo">869</span><a name="line.869"></a>
-<span class="sourceLineNo">870</span>  /**<a name="line.870"></a>
-<span class="sourceLineNo">871</span>   * Write out an info file under the region directory. Useful recovering mangled regions.<a name="line.871"></a>
-<span class="sourceLineNo">872</span>   * @param regionInfoContent serialized version of the {@link RegionInfo}<a name="line.872"></a>
-<span class="sourceLineNo">873</span>   * @param useTempDir indicate whether or not using the region .tmp dir for a safer file creation.<a name="line.873"></a>
-<span class="sourceLineNo">874</span>   */<a name="line.874"></a>
-<span class="sourceLineNo">875</span>  private void writeRegionInfoOnFilesystem(final byte[] regionInfoContent,<a name="line.875"></a>
-<span class="sourceLineNo">876</span>      final boolean useTempDir) throws IOException {<a name="line.876"></a>
-<span class="sourceLineNo">877</span>    Path regionInfoFile = new Path(getRegionDir(), REGION_INFO_FILE);<a name="line.877"></a>
-<span class="sourceLineNo">878</span>    if (useTempDir) {<a name="line.878"></a>
-<span class="sourceLineNo">879</span>      // Create in tmpDir and then move into place in case we crash after<a name="line.879"></a>
-<span class="sourceLineNo">880</span>      // create but before close. If we don't successfully close the file,<a name="line.880"></a>
-<span class="sourceLineNo">881</span>      // subsequent region reopens will fail the below because create is<a name="line.881"></a>
-<span class="sourceLineNo">882</span>      // registered in NN.<a name="line.882"></a>
-<span class="sourceLineNo">883</span><a name="line.883"></a>
-<span class="sourceLineNo">884</span>      // And then create the file<a name="line.884"></a>
-<span class="sourceLineNo">885</span>      Path tmpPath = new Path(getTempDir(), REGION_INFO_FILE);<a name="line.885"></a>
-<span class="sourceLineNo">886</span><a name="line.886"></a>
-<span class="sourceLineNo">887</span>      // If datanode crashes or if the RS goes down just before the close is called while trying to<a name="line.887"></a>
-<span class="sourceLineNo">888</span>      // close the created regioninfo file in the .tmp directory then on next<a name="line.888"></a>
-<span class="sourceLineNo">889</span>      // creation we will be getting AlreadyCreatedException.<a name="line.889"></a>
-<span class="sourceLineNo">890</span>      // Hence delete and create the file if exists.<a name="line.890"></a>
-<span class="sourceLineNo">891</span>      if (CommonFSUtils.isExists(fs, tmpPath)) {<a name="line.891"></a>
-<span class="sourceLineNo">892</span>        CommonFSUtils.delete(fs, tmpPath, true);<a name="line.892"></a>
-<span class="sourceLineNo">893</span>      }<a name="line.893"></a>
-<span class="sourceLineNo">894</span><a name="line.894"></a>
-<span class="sourceLineNo">895</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.895"></a>
-<span class="sourceLineNo">896</span>      writeRegionInfoFileContent(conf, fs, tmpPath, regionInfoContent);<a name="line.896"></a>
-<span class="sourceLineNo">897</span><a name="line.897"></a>
-<span class="sourceLineNo">898</span>      // Move the created file to the original path<a name="line.898"></a>
-<span class="sourceLineNo">899</span>      if (fs.exists(tmpPath) &amp;&amp;  !rename(tmpPath, regionInfoFile)) {<a name="line.899"></a>
-<span class="sourceLineNo">900</span>        throw new IOException("Unable to rename " + tmpPath + " to " + regionInfoFile);<a name="line.900"></a>
-<span class="sourceLineNo">901</span>      }<a name="line.901"></a>
-<span class="sourceLineNo">902</span>    } else {<a name="line.902"></a>
-<span class="sourceLineNo">903</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.903"></a>
-<span class="sourceLineNo">904</span>      writeRegionInfoFileContent(conf, fs, regionInfoFile, regionInfoContent);<a name="line.904"></a>
-<span class="sourceLineNo">905</span>    }<a name="line.905"></a>
-<span class="sourceLineNo">906</span>  }<a name="line.906"></a>
-<span class="sourceLineNo">907</span><a name="line.907"></a>
-<span class="sourceLineNo">908</span>  /**<a name="line.908"></a>
-<span class="sourceLineNo">909</span>   * Create a new Region on file-system.<a name="line.909"></a>
-<span class="sourceLineNo">910</span>   * @param conf the {@link Configuration} to use<a name="line.910"></a>
-<span class="sourceLineNo">911</span>   * @param fs {@link FileSystem} from which to add the region<a name="line.911"></a>
-<span class="sourceLineNo">912</span>   * @param tableDir {@link Path} to where the table is being stored<a name="line.912"></a>
-<span class="sourceLineNo">913</span>   * @param regionInfo {@link RegionInfo} for region to be added<a name="line.913"></a>
-<span class="sourceLineNo">914</span>   * @throws IOException if the region creation fails due to a FileSystem exception.<a name="line.914"></a>
-<span class="sourceLineNo">915</span>   */<a name="line.915"></a>
-<span class="sourceLineNo">916</span>  public static HRegionFileSystem createRegionOnFileSystem(final Configuration conf,<a name="line.916"></a>
-<span class="sourceLineNo">917</span>      final FileSystem fs, final Path tableDir, final RegionInfo regionInfo) throws IOException {<a name="line.917"></a>
-<span class="sourceLineNo">918</span>    HRegionFileSystem regionFs = new HRegionFileSystem(conf, fs, tableDir, regionInfo);<a name="line.918"></a>
-<span class="sourceLineNo">919</span><a name="line.919"></a>
-<span class="sourceLineNo">920</span>    // We only create a .regioninfo and the region directory if this is the default region replica<a name="line.920"></a>
-<span class="sourceLineNo">921</span>    if (regionInfo.getReplicaId() == RegionInfo.DEFAULT_REPLICA_ID) {<a name="line.921"></a>
-<span class="sourceLineNo">922</span>      Path regionDir = regionFs.getRegionDir();<a name="line.922"></a>
-<span class="sourceLineNo">923</span>      if (fs.exists(regionDir)) {<a name="line.923"></a>
-<span class="sourceLineNo">924</span>        LOG.warn("Trying to create a region that already exists on disk: " + regionDir);<a name="line.924"></a>
-<span class="sourceLineNo">925</span>      } else {<a name="line.925"></a>
-<span class="sourceLineNo">926</span>        // Create the region directory<a name="line.926"></a>
-<span class="sourceLineNo">927</span>        if (!createDirOnFileSystem(fs, conf, regionDir)) {<a name="line.927"></a>
-<span class="sourceLineNo">928</span>          LOG.warn("Unable to create the region directory: " + regionDir);<a name="line.928"></a>
-<span class="sourceLineNo">929</span>          throw new IOException("Unable to create region directory: " + regionDir);<a name="line.929"></a>
-<span class="sourceLineNo">930</span>        }<a name="line.930"></a>
-<span class="sourceLineNo">931</span>      }<a name="line.931"></a>
-<span class="sourceLineNo">932</span><a name="line.932"></a>
-<span class="sourceLineNo">933</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.933"></a>
-<span class="sourceLineNo">934</span>      regionFs.writeRegionInfoOnFilesystem(false);<a name="line.934"></a>
-<span class="sourceLineNo">935</span>    } else {<a name="line.935"></a>
-<span class="sourceLineNo">936</span>      if (LOG.isDebugEnabled())<a name="line.936"></a>
-<span class="sourceLineNo">937</span>        LOG.debug("Skipping creation of .regioninfo file for " + regionInfo);<a name="line.937"></a>
-<span class="sourceLineNo">938</span>    }<a name="line.938"></a>
-<span class="sourceLineNo">939</span>    return regionFs;<a name="line.939"></a>
-<span class="sourceLineNo">940</span>  }<a name="line.940"></a>
-<span class="sourceLineNo">941</span><a name="line.941"></a>
-<span class="sourceLineNo">942</span>  /**<a name="line.942"></a>
-<span class="sourceLineNo">943</span>   * Open Region from file-system.<a name="line.943"></a>
-<span class="sourceLineNo">944</span>   * @param conf the {@link Configuration} to use<a name="line.944"></a>
-<span class="sourceLineNo">945</span>   * @param fs {@link FileSystem} from which to add the region<a name="line.945"></a>
-<span class="sourceLineNo">946</span>   * @param tableDir {@link Path} to where the table is being stored<a name="line.946"></a>
-<span class="sourceLineNo">947</span>   * @param regionInfo {@link RegionInfo} for region to be added<a name="line.947"></a>
-<span class="sourceLineNo">948</span>   * @param readOnly True if you don't want to edit the region data<a name="line.948"></a>
-<span class="sourceLineNo">949</span>   * @throws IOException if the region creation fails due to a FileSystem exception.<a name="line.949"></a>
-<span class="sourceLineNo">950</span>   */<a name="line.950"></a>
-<span class="sourceLineNo">951</span>  public static HRegionFileSystem openRegionFromFileSystem(final Configuration conf,<a name="line.951"></a>
-<span class="sourceLineNo">952</span>      final FileSystem fs, final Path tableDir, final RegionInfo regionInfo, boolean readOnly)<a name="line.952"></a>
-<span class="sourceLineNo">953</span>      throws IOException {<a name="line.953"></a>
-<span class="sourceLineNo">954</span>    HRegionFileSystem regionFs = new HRegionFileSystem(conf, fs, tableDir, regionInfo);<a name="line.954"></a>
-<span class="sourceLineNo">955</span>    Path regionDir = regionFs.getRegionDir();<a name="line.955"></a>
-<span class="sourceLineNo">956</span><a name="line.956"></a>
-<span class="sourceLineNo">957</span>    if (!fs.exists(regionDir)) {<a name="line.957"></a>
-<span class="sourceLineNo">958</span>      LOG.warn("Trying to open a region that do not exists on disk: " + regionDir);<a name="line.958"></a>
-<span class="sourceLineNo">959</span>      throw new IOException("The specified region do not exists on disk: " + regionDir);<a name="line.959"></a>
-<span class="sourceLineNo">960</span>    }<a name="line.960"></a>
-<span class="sourceLineNo">961</span><a name="line.961"></a>
-<span class="sourceLineNo">962</span>    if (!readOnly) {<a name="line.962"></a>
-<span class="sourceLineNo">963</span>      // Cleanup temporary directories<a name="line.963"></a>
-<span class="sourceLineNo">964</span>      regionFs.cleanupTempDir();<a name="line.964"></a>
-<span class="sourceLineNo">965</span><a name="line.965"></a>
-<span class="sourceLineNo">966</span>      // If it doesn't exists, Write HRI to a file, in case we need to recover hbase:meta<a name="line.966"></a>
-<span class="sourceLineNo">967</span>      // Only create HRI if we are the default replica<a name="line.967"></a>
-<span class="sourceLineNo">968</span>      if (regionInfo.getReplicaId() == RegionInfo.DEFAULT_REPLICA_ID) {<a name="line.968"></a>
-<span class="sourceLineNo">969</span>        regionFs.checkRegionInfoOnFilesystem();<a name="line.969"></a>
-<span class="sourceLineNo">970</span>      } else {<a name="line.970"></a>
-<span class="sourceLineNo">971</span>        if (LOG.isDebugEnabled()) {<a name="line.971"></a>
-<span class="sourceLineNo">972</span>          LOG.debug("Skipping creation of .regioninfo file for " + regionInfo);<a name="line.972"></a>
-<span class="sourceLineNo">973</span>        }<a name="line.973"></a>
-<span class="sourceLineNo">974</span>      }<a name="line.974"></a>
-<span class="sourceLineNo">975</span>    }<a name="line.975"></a>
-<span class="sourceLineNo">976</span><a name="line.976"></a>
-<span class="sourceLineNo">977</span>    return regionFs;<a name="line.977"></a>
-<span class="sourceLineNo">978</span>  }<a name="line.978"></a>
-<span class="sourceLineNo">979</span><a name="line.979"></a>
-<span class="sourceLineNo">980</span>  /**<a name="line.980"></a>
-<span class="sourceLineNo">981</span>   * Remove the region from the table directory, archiving the region's hfiles.<a name="line.981"></a>
-<span class="sourceLineNo">982</span>   * @param conf the {@link Configuration} to use<a name="line.982"></a>
-<span class="sourceLineNo">983</span>   * @param fs {@link FileSystem} from which to remove the region<a name="line.983"></a>
-<span class="sourceLineNo">984</span>   * @param tableDir {@link Path} to where the table is being stored<a name="line.984"></a>
-<span class="sourceLineNo">985</span>   * @param regionInfo {@link RegionInfo} for region to be deleted<a name="line.985"></a>
-<span class="sourceLineNo">986</span>   * @throws IOException if the request cannot be completed<a name="line.986"></a>
-<span class="sourceLineNo">987</span>   */<a name="line.987"></a>
-<span class="sourceLineNo">988</span>  public static void deleteRegionFromFileSystem(final Configuration conf,<a name="line.988"></a>
-<span class="sourceLineNo">989</span>      final FileSystem fs, final Path tableDir, final RegionInfo regionInfo) throws IOException {<a name="line.989"></a>
-<span class="sourceLineNo">990</span>    HRegionFileSystem regionFs = new HRegionFileSystem(conf, fs, tableDir, regionInfo);<a name="line.990"></a>
-<span class="sourceLineNo">991</span>    Path regionDir = regionFs.getRegionDir();<a name="line.991"></a>
-<span class="sourceLineNo">992</span><a name="line.992"></a>
-<span class="sourceLineNo">993</span>    if (!fs.exists(regionDir)) {<a name="line.993"></a>
-<span class="sourceLineNo">994</span>      LOG.warn("Trying to delete a region that do not exists on disk: " + regionDir);<a name="line.994"></a>
-<span class="sourceLineNo">995</span>      return;<a name="line.995"></a>
-<span class="sourceLineNo">996</span>    }<a name="line.996"></a>
-<span class="sourceLineNo">997</span><a name="line.997"></a>
-<span class="sourceLineNo">998</span>    if (LOG.isDebugEnabled()) {<a name="line.998"></a>
-<span class="sourceLineNo">999</span>      LOG.debug("DELETING region " + regionDir);<a name="line.999"></a>
-<span class="sourceLineNo">1000</span>    }<a name="line.1000"></a>
-<span class="sourceLineNo">1001</span><a name="line.1001"></a>
-<span class="sourceLineNo">1002</span>    // Archive region<a name="line.1002"></a>
-<span class="sourceLineNo">1003</span>    Path rootDir = CommonFSUtils.getRootDir(conf);<a name="line.1003"></a>
-<span class="sourceLineNo">1004</span>    HFileArchiver.archiveRegion(fs, rootDir, tableDir, regionDir);<a name="line.1004"></a>
-<span class="sourceLineNo">1005</span><a name="line.1005"></a>
-<span class="sourceLineNo">1006</span>    // Delete empty region dir<a name="line.1006"></a>
-<span class="sourceLineNo">1007</span>    if (!fs.delete(regionDir, true)) {<a name="line.1007"></a>
-<span class="sourceLineNo">1008</span>      LOG.warn("Failed delete of " + regionDir);<a name="line.1008"></a>
-<span class="sourceLineNo">1009</span>    }<a name="line.1009"></a>
-<span class="sourceLineNo">1010</span>  }<a name="line.1010"></a>
-<span class="sourceLineNo">1011</span><a name="line.1011"></a>
-<span class="sourceLineNo">1012</span>  /**<a name="line.1012"></a>
-<span class="sourceLineNo">1013</span>   * Creates a directory. Assumes the user has already checked for this directory existence.<a name="line.1013"></a>
-<span class="sourceLineNo">1014</span>   * @param dir<a name="line.1014"></a>
-<span class="sourceLineNo">1015</span>   * @return the result of fs.mkdirs(). In case underlying fs throws an IOException, it checks<a name="line.1015"></a>
-<span class="sourceLineNo">1016</span>   *         whether the directory exists or not, and returns true if it exists.<a name="line.1016"></a>
-<span class="sourceLineNo">1017</span>   * @throws IOException<a name="line.1017"></a>
-<span class="sourceLineNo">1018</span>   */<a name="line.1018"></a>
-<span class="sourceLineNo">1019</span>  boolean createDir(Path dir) throws IOException {<a name="line.1019"></a>
-<span class="sourceLineNo">1020</span>    int i = 0;<a name="line.1020"></a>
-<span class="sourceLineNo">1021</span>    IOException lastIOE = null;<a name="line.1021"></a>
-<span class="sourceLineNo">1022</span>    do {<a name="line.1022"></a>
-<span class="sourceLineNo">1023</span>      try {<a name="line.1023"></a>
-<span class="sourceLineNo">1024</span>        return mkdirs(fs, conf, dir);<a name="line.1024"></a>
-<span class="sourceLineNo">1025</span>      } catch (IOException ioe) {<a name="line.1025"></a>
-<span class="sourceLineNo">1026</span>        lastIOE = ioe;<a name="line.1026"></a>
-<span class="sourceLineNo">1027</span>        if (fs.exists(dir)) return true; // directory is present<a name="line.1027"></a>
-<span class="sourceLineNo">1028</span>        try {<a name="line.1028"></a>
-<span class="sourceLineNo">1029</span>          sleepBeforeRetry("Create Directory", i+1);<a name="line.1029"></a>
-<span class="sourceLineNo">1030</span>        } catch (InterruptedException e) {<a name="line.1030"></a>
-<span class="sourceLineNo">1031</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1031"></a>
-<span class="sourceLineNo">1032</span>        }<a name="line.1032"></a>
-<span class="sourceLineNo">1033</span>      }<a name="line.1033"></a>
-<span class="sourceLineNo">1034</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1034"></a>
-<span class="sourceLineNo">1035</span>    throw new IOException("Exception in createDir", lastIOE);<a name="line.1035"></a>
-<span class="sourceLineNo">1036</span>  }<a name="line.1036"></a>
-<span class="sourceLineNo">1037</span><a name="line.1037"></a>
-<span class="sourceLineNo">1038</span>  /**<a name="line.1038"></a>
-<span class="sourceLineNo">1039</span>   * Renames a directory. Assumes the user has already checked for this directory existence.<a name="line.1039"></a>
-<span class="sourceLineNo">1040</span>   * @param srcpath<a name="line.1040"></a>
-<span class="sourceLineNo">1041</span>   * @param dstPath<a name="line.1041"></a>
-<span class="sourceLineNo">1042</span>   * @return true if rename is successful.<a name="line.1042"></a>
-<span class="sourceLineNo">1043</span>   * @throws IOException<a name="line.1043"></a>
-<span class="sourceLineNo">1044</span>   */<a name="line.1044"></a>
-<span class="sourceLineNo">1045</span>  boolean rename(Path srcpath, Path dstPath) throws IOException {<a name="line.1045"></a>
-<span class="sourceLineNo">1046</span>    IOException lastIOE = null;<a name="line.1046"></a>
-<span class="sourceLineNo">1047</span>    int i = 0;<a name="line.1047"></a>
-<span class="sourceLineNo">1048</span>    do {<a name="line.1048"></a>
-<span class="sourceLineNo">1049</span>      try {<a name="line.1049"></a>
-<span class="sourceLineNo">1050</span>        return fs.rename(srcpath, dstPath);<a name="line.1050"></a>
-<span class="sourceLineNo">1051</span>      } catch (IOException ioe) {<a name="line.1051"></a>
-<span class="sourceLineNo">1052</span>        lastIOE = ioe;<a name="line.1052"></a>
-<span class="sourceLineNo">1053</span>        if (!fs.exists(srcpath) &amp;&amp; fs.exists(dstPath)) return true; // successful move<a name="line.1053"></a>
-<span class="sourceLineNo">1054</span>        // dir is not there, retry after some time.<a name="line.1054"></a>
-<span class="sourceLineNo">1055</span>        try {<a name="line.1055"></a>
-<span class="sourceLineNo">1056</span>          sleepBeforeRetry("Rename Directory", i+1);<a name="line.1056"></a>
-<span class="sourceLineNo">1057</span>        } catch (InterruptedException e) {<a name="line.1057"></a>
-<span class="sourceLineNo">1058</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1058"></a>
-<span class="sourceLineNo">1059</span>        }<a name="line.1059"></a>
-<span class="sourceLineNo">1060</span>      }<a name="line.1060"></a>
-<span class="sourceLineNo">1061</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1061"></a>
-<span class="sourceLineNo">1062</span><a name="line.1062"></a>
-<span class="sourceLineNo">1063</span>    throw new IOException("Exception in rename", lastIOE);<a name="line.1063"></a>
-<span class="sourceLineNo">1064</span>  }<a name="line.1064"></a>
-<span class="sourceLineNo">1065</span><a name="line.1065"></a>
-<span class="sourceLineNo">1066</span>  /**<a name="line.1066"></a>
-<span class="sourceLineNo">1067</span>   * Deletes a directory. Assumes the user has already checked for this directory existence.<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>   * @param dir<a name="line.1068"></a>
-<span class="sourceLineNo">1069</span>   * @return true if the directory is deleted.<a name="line.1069"></a>
-<span class="sourceLineNo">1070</span>   * @throws IOException<a name="line.1070"></a>
-<span class="sourceLineNo">1071</span>   */<a name="line.1071"></a>
-<span class="sourceLineNo">1072</span>  boolean deleteDir(Path dir) throws IOException {<a name="line.1072"></a>
-<span class="sourceLineNo">1073</span>    IOException lastIOE = null;<a name="line.1073"></a>
-<span class="sourceLineNo">1074</span>    int i = 0;<a name="line.1074"></a>
-<span class="sourceLineNo">1075</span>    do {<a name="line.1075"></a>
-<span class="sourceLineNo">1076</span>      try {<a name="line.1076"></a>
-<span class="sourceLineNo">1077</span>        return fs.delete(dir, true);<a name="line.1077"></a>
-<span class="sourceLineNo">1078</span>      } catch (IOException ioe) {<a name="line.1078"></a>
-<span class="sourceLineNo">1079</span>        lastIOE = ioe;<a name="line.1079"></a>
-<span class="sourceLineNo">1080</span>        if (!fs.exists(dir)) return true;<a name="line.1080"></a>
-<span class="sourceLineNo">1081</span>        // dir is there, retry deleting after some time.<a name="line.1081"></a>
-<span class="sourceLineNo">1082</span>        try {<a name="line.1082"></a>
-<span class="sourceLineNo">1083</span>          sleepBeforeRetry("Delete Directory", i+1);<a name="line.1083"></a>
-<span class="sourceLineNo">1084</span>        } catch (InterruptedException e) {<a name="line.1084"></a>
-<span class="sourceLineNo">1085</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1085"></a>
-<span class="sourceLineNo">1086</span>        }<a name="line.1086"></a>
-<span class="sourceLineNo">1087</span>      }<a name="line.1087"></a>
-<span class="sourceLineNo">1088</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1088"></a>
-<span class="sourceLineNo">1089</span><a name="line.1089"></a>
-<span class="sourceLineNo">1090</span>    throw new IOException("Exception in DeleteDir", lastIOE);<a name="line.1090"></a>
-<span class="sourceLineNo">1091</span>  }<a name="line.1091"></a>
-<span class="sourceLineNo">1092</span><a name="line.1092"></a>
-<span class="sourceLineNo">1093</span>  /**<a name="line.1093"></a>
-<span class="sourceLineNo">1094</span>   * sleeping logic; handles the interrupt exception.<a name="line.1094"></a>
-<span class="sourceLineNo">1095</span>   */<a name="line.1095"></a>
-<span class="sourceLineNo">1096</span>  private void sleepBeforeRetry(String msg, int sleepMultiplier) throws InterruptedException {<a name="line.1096"></a>
-<span class="sourceLineNo">1097</span>    sleepBeforeRetry(msg, sleepMultiplier, baseSleepBeforeRetries, hdfsClientRetriesNumber);<a name="line.1097"></a>
-<span class="sourceLineNo">1098</span>  }<a name="line.1098"></a>
-<span class="sourceLineNo">1099</span><a name="line.1099"></a>
-<span class="sourceLineNo">1100</span>  /**<a name="line.1100"></a>
-<span class="sourceLineNo">1101</span>   * Creates a directory for a filesystem and configuration object. Assumes the user has already<a name="line.1101"></a>
-<span class="sourceLineNo">1102</span>   * checked for this directory existence.<a name="line.1102"></a>
-<span class="sourceLineNo">1103</span>   * @param fs<a name="line.1103"></a>
-<span class="sourceLineNo">1104</span>   * @param conf<a name="line.1104"></a>
-<span class="sourceLineNo">1105</span>   * @param dir<a name="line.1105"></a>
-<span class="sourceLineNo">1106</span>   * @return the result of fs.mkdirs(). In case underlying fs throws an IOException, it checks<a name="line.1106"></a>
-<span class="sourceLineNo">1107</span>   *         whether the directory exists or not, and returns true if it exists.<a name="line.1107"></a>
-<span class="sourceLineNo">1108</span>   * @throws IOException<a name="line.1108"></a>
-<span class="sourceLineNo">1109</span>   */<a name="line.1109"></a>
-<span class="sourceLineNo">1110</span>  private static boolean createDirOnFileSystem(FileSystem fs, Configuration conf, Path dir)<a name="line.1110"></a>
-<span class="sourceLineNo">1111</span>      throws IOException {<a name="line.1111"></a>
-<span class="sourceLineNo">1112</span>    int i = 0;<a name="line.1112"></a>
-<span class="sourceLineNo">1113</span>    IOException lastIOE = null;<a name="line.1113"></a>
-<span class="sourceLineNo">1114</span>    int hdfsClientRetriesNumber = conf.getInt("hdfs.client.retries.number",<a name="line.1114"></a>
-<span class="sourceLineNo">1115</span>      DEFAULT_HDFS_CLIENT_RETRIES_NUMBER);<a name="line.1115"></a>
-<span class="sourceLineNo">1116</span>    int baseSleepBeforeRetries = conf.getInt("hdfs.client.sleep.before.retries",<a name="line.1116"></a>
-<span class="sourceLineNo">1117</span>      DEFAULT_BASE_SLEEP_BEFORE_RETRIES);<a name="line.1117"></a>
-<span class="sourceLineNo">1118</span>    do {<a name="line.1118"></a>
-<span class="sourceLineNo">1119</span>      try {<a name="line.1119"></a>
-<span class="sourceLineNo">1120</span>        return fs.mkdirs(dir);<a name="line.1120"></a>
-<span class="sourceLineNo">1121</span>      } catch (IOException ioe) {<a name="line.1121"></a>
-<span class="sourceLineNo">1122</span>        lastIOE = ioe;<a name="line.1122"></a>
-<span class="sourceLineNo">1123</span>        if (fs.exists(dir)) return true; // directory is present<a name="line.1123"></a>
-<span class="sourceLineNo">1124</span>        try {<a name="line.1124"></a>
-<span class="sourceLineNo">1125</span>          sleepBeforeRetry("Create Directory", i+1, baseSleepBeforeRetries, hdfsClientRetriesNumber);<a name="line.1125"></a>
-<span class="sourceLineNo">1126</span>        } catch (InterruptedException e) {<a name="line.1126"></a>
-<span class="sourceLineNo">1127</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1127"></a>
-<span class="sourceLineNo">1128</span>        }<a name="line.1128"></a>
-<span class="sourceLineNo">1129</span>      }<a name="line.1129"></a>
-<span class="sourceLineNo">1130</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1130"></a>
-<span class="sourceLineNo">1131</span><a name="line.1131"></a>
-<span class="sourceLineNo">1132</span>    throw new IOException("Exception in createDir", lastIOE);<a name="line.1132"></a>
-<span class="sourceLineNo">1133</span>  }<a name="line.1133"></a>
-<span class="sourceLineNo">1134</span><a name="line.1134"></a>
-<span class="sourceLineNo">1135</span>  /**<a name="line.1135"></a>
-<span class="sourceLineNo">1136</span>   * sleeping logic for static methods; handles the interrupt exception. Keeping a static version<a name="line.1136"></a>
-<span class="sourceLineNo">1137</span>   * for this to avoid re-looking for the integer values.<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>   */<a name="line.1138"></a>
-<span class="sourceLineNo">1139</span>  private static void sleepBeforeRetry(String msg, int sleepMultiplier, int baseSleepBeforeRetries,<a name="line.1139"></a>
-<span class="sourceLineNo">1140</span>      int hdfsClientRetriesNumber) throws InterruptedException {<a name="line.1140"></a>
-<span class="sourceLineNo">1141</span>    if (sleepMultiplier &gt; hdfsClientRetriesNumber) {<a name="line.1141"></a>
-<span class="sourceLineNo">1142</span>      if (LOG.isDebugEnabled()) {<a name="line.1142"></a>
-<span class="sourceLineNo">1143</span>        LOG.debug(msg + ", retries exhausted");<a name="line.1143"></a>
-<span class="sourceLineNo">1144</span>      }<a name="line.1144"></a>
-<span class="sourceLineNo">1145</span>      return;<a name="line.1145"></a>
-<span class="sourceLineNo">1146</span>    }<a name="line.1146"></a>
-<span class="sourceLineNo">1147</span>    if (LOG.isDebugEnabled()) {<a name="line.1147"></a>
-<span class="sourceLineNo">1148</span>      LOG.debug(msg + ", sleeping " + baseSleepBeforeRetries + " times " + sleepMultiplier);<a name="line.1148"></a>
-<span class="sourceLineNo">1149</span>    }<a name="line.1149"></a>
-<span class="sourceLineNo">1150</span>    Thread.sleep((long)baseSleepBeforeRetries * sleepMultiplier);<a name="line.1150"></a>
-<span class="sourceLineNo">1151</span>  }<a name="line.1151"></a>
-<span class="sourceLineNo">1152</span>}<a name="line.1152"></a>
+<span class="sourceLineNo">711</span>  /**<a name="line.711"></a>
+<span class="sourceLineNo">712</span>   * Remove merged region<a name="line.712"></a>
+<span class="sourceLineNo">713</span>   * @param mergedRegion {@link RegionInfo}<a name="line.713"></a>
+<span class="sourceLineNo">714</span>   * @throws IOException<a name="line.714"></a>
+<span class="sourceLineNo">715</span>   */<a name="line.715"></a>
+<span class="sourceLineNo">716</span>  public void cleanupMergedRegion(final RegionInfo mergedRegion) throws IOException {<a name="line.716"></a>
+<span class="sourceLineNo">717</span>    Path regionDir = new Path(this.tableDir, mergedRegion.getEncodedName());<a name="line.717"></a>
+<span class="sourceLineNo">718</span>    if (this.fs.exists(regionDir) &amp;&amp; !this.fs.delete(regionDir, true)) {<a name="line.718"></a>
+<span class="sourceLineNo">719</span>      throw new IOException("Failed delete of " + regionDir);<a name="line.719"></a>
+<span class="sourceLineNo">720</span>    }<a name="line.720"></a>
+<span class="sourceLineNo">721</span>  }<a name="line.721"></a>
+<span class="sourceLineNo">722</span><a name="line.722"></a>
+<span class="sourceLineNo">723</span>  static boolean mkdirs(FileSystem fs, Configuration conf, Path dir) throws IOException {<a name="line.723"></a>
+<span class="sourceLineNo">724</span>    if (FSUtils.isDistributedFileSystem(fs) ||<a name="line.724"></a>
+<span class="sourceLineNo">725</span>      !conf.getBoolean(HConstants.ENABLE_DATA_FILE_UMASK, false)) {<a name="line.725"></a>
+<span class="sourceLineNo">726</span>      return fs.mkdirs(dir);<a name="line.726"></a>
+<span class="sourceLineNo">727</span>    }<a name="line.727"></a>
+<span class="sourceLineNo">728</span>    FsPermission perms = CommonFSUtils.getFilePermissions(fs, conf, HConstants.DATA_FILE_UMASK_KEY);<a name="line.728"></a>
+<span class="sourceLineNo">729</span>    return fs.mkdirs(dir, perms);<a name="line.729"></a>
+<span class="sourceLineNo">730</span>  }<a name="line.730"></a>
+<span class="sourceLineNo">731</span><a name="line.731"></a>
+<span class="sourceLineNo">732</span>  /**<a name="line.732"></a>
+<span class="sourceLineNo">733</span>   * Write out a merge reference under the given merges directory.<a name="line.733"></a>
+<span class="sourceLineNo">734</span>   * @param mergingRegion {@link RegionInfo} for one of the regions being merged.<a name="line.734"></a>
+<span class="sourceLineNo">735</span>   * @param familyName Column Family Name<a name="line.735"></a>
+<span class="sourceLineNo">736</span>   * @param f File to create reference.<a name="line.736"></a>
+<span class="sourceLineNo">737</span>   * @return Path to created reference.<a name="line.737"></a>
+<span class="sourceLineNo">738</span>   * @throws IOException if the merge write fails.<a name="line.738"></a>
+<span class="sourceLineNo">739</span>   */<a name="line.739"></a>
+<span class="sourceLineNo">740</span>  public Path mergeStoreFile(RegionInfo mergingRegion, String familyName, HStoreFile f)<a name="line.740"></a>
+<span class="sourceLineNo">741</span>      throws IOException {<a name="line.741"></a>
+<span class="sourceLineNo">742</span>    Path referenceDir = new Path(getMergesDir(regionInfoForFs), familyName);<a name="line.742"></a>
+<span class="sourceLineNo">743</span>    // A whole reference to the store file.<a name="line.743"></a>
+<span class="sourceLineNo">744</span>    Reference r = Reference.createTopReference(mergingRegion.getStartKey());<a name="line.744"></a>
+<span class="sourceLineNo">745</span>    // Add the referred-to regions name as a dot separated suffix.<a name="line.745"></a>
+<span class="sourceLineNo">746</span>    // See REF_NAME_REGEX regex above. The referred-to regions name is<a name="line.746"></a>
+<span class="sourceLineNo">747</span>    // up in the path of the passed in &lt;code&gt;f&lt;/code&gt; -- parentdir is family,<a name="line.747"></a>
+<span class="sourceLineNo">748</span>    // then the directory above is the region name.<a name="line.748"></a>
+<span class="sourceLineNo">749</span>    String mergingRegionName = mergingRegion.getEncodedName();<a name="line.749"></a>
+<span class="sourceLineNo">750</span>    // Write reference with same file id only with the other region name as<a name="line.750"></a>
+<span class="sourceLineNo">751</span>    // suffix and into the new region location (under same family).<a name="line.751"></a>
+<span class="sourceLineNo">752</span>    Path p = new Path(referenceDir, f.getPath().getName() + "."<a name="line.752"></a>
+<span class="sourceLineNo">753</span>      + mergingRegionName);<a name="line.753"></a>
+<span class="sourceLineNo">754</span>    return r.write(fs, p);<a name="line.754"></a>
+<span class="sourceLineNo">755</span>  }<a name="line.755"></a>
+<span class="sourceLineNo">756</span><a name="line.756"></a>
+<span class="sourceLineNo">757</span>  /**<a name="line.757"></a>
+<span class="sourceLineNo">758</span>   * Commit a merged region, making it ready for use.<a name="line.758"></a>
+<span class="sourceLineNo">759</span>   * @throws IOException<a name="line.759"></a>
+<span class="sourceLineNo">760</span>   */<a name="line.760"></a>
+<span class="sourceLineNo">761</span>  public void commitMergedRegion() throws IOException {<a name="line.761"></a>
+<span class="sourceLineNo">762</span>    Path regionDir = getMergesDir(regionInfoForFs);<a name="line.762"></a>
+<span class="sourceLineNo">763</span>    if (regionDir != null &amp;&amp; fs.exists(regionDir)) {<a name="line.763"></a>
+<span class="sourceLineNo">764</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.764"></a>
+<span class="sourceLineNo">765</span>      Path regionInfoFile = new Path(regionDir, REGION_INFO_FILE);<a name="line.765"></a>
+<span class="sourceLineNo">766</span>      byte[] regionInfoContent = getRegionInfoFileContent(regionInfo);<a name="line.766"></a>
+<span class="sourceLineNo">767</span>      writeRegionInfoFileContent(conf, fs, regionInfoFile, regionInfoContent);<a name="line.767"></a>
+<span class="sourceLineNo">768</span>    }<a name="line.768"></a>
+<span class="sourceLineNo">769</span>  }<a name="line.769"></a>
+<span class="sourceLineNo">770</span><a name="line.770"></a>
+<span class="sourceLineNo">771</span>  // ===========================================================================<a name="line.771"></a>
+<span class="sourceLineNo">772</span>  //  Create/Open/Delete Helpers<a name="line.772"></a>
+<span class="sourceLineNo">773</span>  // ===========================================================================<a name="line.773"></a>
+<span class="sourceLineNo">774</span><a name="line.774"></a>
+<span class="sourceLineNo">775</span>  /**<a name="line.775"></a>
+<span class="sourceLineNo">776</span>   * @param hri<a name="line.776"></a>
+<span class="sourceLineNo">777</span>   * @return Content of the file we write out to the filesystem under a region<a name="line.777"></a>
+<span class="sourceLineNo">778</span>   * @throws IOException<a name="line.778"></a>
+<span class="sourceLineNo">779</span>   */<a name="line.779"></a>
+<span class="sourceLineNo">780</span>  private static byte[] getRegionInfoFileContent(final RegionInfo hri) throws IOException {<a name="line.780"></a>
+<span class="sourceLineNo">781</span>    return RegionInfo.toDelimitedByteArray(hri);<a name="line.781"></a>
+<span class="sourceLineNo">782</span>  }<a name="line.782"></a>
+<span class="sourceLineNo">783</span><a name="line.783"></a>
+<span class="sourceLineNo">784</span>  /**<a name="line.784"></a>
+<span class="sourceLineNo">785</span>   * Create a {@link RegionInfo} from the serialized version on-disk.<a name="line.785"></a>
+<span class="sourceLineNo">786</span>   * @param fs {@link FileSystem} that contains the Region Info file<a name="line.786"></a>
+<span class="sourceLineNo">787</span>   * @param regionDir {@link Path} to the Region Directory that contains the Info file<a name="line.787"></a>
+<span class="sourceLineNo">788</span>   * @return An {@link RegionInfo} instance gotten from the Region Info file.<a name="line.788"></a>
+<span class="sourceLineNo">789</span>   * @throws IOException if an error occurred during file open/read operation.<a name="line.789"></a>
+<span class="sourceLineNo">790</span>   */<a name="line.790"></a>
+<span class="sourceLineNo">791</span>  public static RegionInfo loadRegionInfoFileContent(final FileSystem fs, final Path regionDir)<a name="line.791"></a>
+<span class="sourceLineNo">792</span>      throws IOException {<a name="line.792"></a>
+<span class="sourceLineNo">793</span>    FSDataInputStream in = fs.open(new Path(regionDir, REGION_INFO_FILE));<a name="line.793"></a>
+<span class="sourceLineNo">794</span>    try {<a name="line.794"></a>
+<span class="sourceLineNo">795</span>      return RegionInfo.parseFrom(in);<a name="line.795"></a>
+<span class="sourceLineNo">796</span>    } finally {<a name="line.796"></a>
+<span class="sourceLineNo">797</span>      in.close();<a name="line.797"></a>
+<span class="sourceLineNo">798</span>    }<a name="line.798"></a>
+<span class="sourceLineNo">799</span>  }<a name="line.799"></a>
+<span class="sourceLineNo">800</span><a name="line.800"></a>
+<span class="sourceLineNo">801</span>  /**<a name="line.801"></a>
+<span class="sourceLineNo">802</span>   * Write the .regioninfo file on-disk.<a name="line.802"></a>
+<span class="sourceLineNo">803</span>   * &lt;p/&gt;<a name="line.803"></a>
+<span class="sourceLineNo">804</span>   * Overwrites if exists already.<a name="line.804"></a>
+<span class="sourceLineNo">805</span>   */<a name="line.805"></a>
+<span class="sourceLineNo">806</span>  private static void writeRegionInfoFileContent(final Configuration conf, final FileSystem fs,<a name="line.806"></a>
+<span class="sourceLineNo">807</span>    final Path regionInfoFile, final byte[] content) throws IOException {<a name="line.807"></a>
+<span class="sourceLineNo">808</span>    // First check to get the permissions<a name="line.808"></a>
+<span class="sourceLineNo">809</span>    FsPermission perms = CommonFSUtils.getFilePermissions(fs, conf, HConstants.DATA_FILE_UMASK_KEY);<a name="line.809"></a>
+<span class="sourceLineNo">810</span>    // Write the RegionInfo file content<a name="line.810"></a>
+<span class="sourceLineNo">811</span>    try (FSDataOutputStream out = FSUtils.create(conf, fs, regionInfoFile, perms, null)) {<a name="line.811"></a>
+<span class="sourceLineNo">812</span>      out.write(content);<a name="line.812"></a>
+<span class="sourceLineNo">813</span>    }<a name="line.813"></a>
+<span class="sourceLineNo">814</span>  }<a name="line.814"></a>
+<span class="sourceLineNo">815</span><a name="line.815"></a>
+<span class="sourceLineNo">816</span>  /**<a name="line.816"></a>
+<span class="sourceLineNo">817</span>   * Write out an info file under the stored region directory. Useful recovering mangled regions.<a name="line.817"></a>
+<span class="sourceLineNo">818</span>   * If the regionInfo already exists on-disk, then we fast exit.<a name="line.818"></a>
+<span class="sourceLineNo">819</span>   */<a name="line.819"></a>
+<span class="sourceLineNo">820</span>  void checkRegionInfoOnFilesystem() throws IOException {<a name="line.820"></a>
+<span class="sourceLineNo">821</span>    // Compose the content of the file so we can compare to length in filesystem. If not same,<a name="line.821"></a>
+<span class="sourceLineNo">822</span>    // rewrite it (it may have been written in the old format using Writables instead of pb). The<a name="line.822"></a>
+<span class="sourceLineNo">823</span>    // pb version is much shorter -- we write now w/o the toString version -- so checking length<a name="line.823"></a>
+<span class="sourceLineNo">824</span>    // only should be sufficient. I don't want to read the file every time to check if it pb<a name="line.824"></a>
+<span class="sourceLineNo">825</span>    // serialized.<a name="line.825"></a>
+<span class="sourceLineNo">826</span>    byte[] content = getRegionInfoFileContent(regionInfoForFs);<a name="line.826"></a>
+<span class="sourceLineNo">827</span><a name="line.827"></a>
+<span class="sourceLineNo">828</span>    // Verify if the region directory exists before opening a region. We need to do this since if<a name="line.828"></a>
+<span class="sourceLineNo">829</span>    // the region directory doesn't exist we will re-create the region directory and a new HRI<a name="line.829"></a>
+<span class="sourceLineNo">830</span>    // when HRegion.openHRegion() is called.<a name="line.830"></a>
+<span class="sourceLineNo">831</span>    try {<a name="line.831"></a>
+<span class="sourceLineNo">832</span>      FileStatus status = fs.getFileStatus(getRegionDir());<a name="line.832"></a>
+<span class="sourceLineNo">833</span>    } catch (FileNotFoundException e) {<a name="line.833"></a>
+<span class="sourceLineNo">834</span>      LOG.warn(getRegionDir() + " doesn't exist for region: " + regionInfoForFs.getEncodedName() +<a name="line.834"></a>
+<span class="sourceLineNo">835</span>          " on table " + regionInfo.getTable());<a name="line.835"></a>
+<span class="sourceLineNo">836</span>    }<a name="line.836"></a>
+<span class="sourceLineNo">837</span><a name="line.837"></a>
+<span class="sourceLineNo">838</span>    try {<a name="line.838"></a>
+<span class="sourceLineNo">839</span>      Path regionInfoFile = new Path(getRegionDir(), REGION_INFO_FILE);<a name="line.839"></a>
+<span class="sourceLineNo">840</span>      FileStatus status = fs.getFileStatus(regionInfoFile);<a name="line.840"></a>
+<span class="sourceLineNo">841</span>      if (status != null &amp;&amp; status.getLen() == content.length) {<a name="line.841"></a>
+<span class="sourceLineNo">842</span>        // Then assume the content good and move on.<a name="line.842"></a>
+<span class="sourceLineNo">843</span>        // NOTE: that the length is not sufficient to define the the content matches.<a name="line.843"></a>
+<span class="sourceLineNo">844</span>        return;<a name="line.844"></a>
+<span class="sourceLineNo">845</span>      }<a name="line.845"></a>
+<span class="sourceLineNo">846</span><a name="line.846"></a>
+<span class="sourceLineNo">847</span>      LOG.info("Rewriting .regioninfo file at: " + regionInfoFile);<a name="line.847"></a>
+<span class="sourceLineNo">848</span>      if (!fs.delete(regionInfoFile, false)) {<a name="line.848"></a>
+<span class="sourceLineNo">849</span>        throw new IOException("Unable to remove existing " + regionInfoFile);<a name="line.849"></a>
+<span class="sourceLineNo">850</span>      }<a name="line.850"></a>
+<span class="sourceLineNo">851</span>    } catch (FileNotFoundException e) {<a name="line.851"></a>
+<span class="sourceLineNo">852</span>      LOG.warn(REGION_INFO_FILE + " file not found for region: " + regionInfoForFs.getEncodedName() +<a name="line.852"></a>
+<span class="sourceLineNo">853</span>          " on table " + regionInfo.getTable());<a name="line.853"></a>
+<span class="sourceLineNo">854</span>    }<a name="line.854"></a>
+<span class="sourceLineNo">855</span><a name="line.855"></a>
+<span class="sourceLineNo">856</span>    // Write HRI to a file in case we need to recover hbase:meta<a name="line.856"></a>
+<span class="sourceLineNo">857</span>    writeRegionInfoOnFilesystem(content, true);<a name="line.857"></a>
+<span class="sourceLineNo">858</span>  }<a name="line.858"></a>
+<span class="sourceLineNo">859</span><a name="line.859"></a>
+<span class="sourceLineNo">860</span>  /**<a name="line.860"></a>
+<span class="sourceLineNo">861</span>   * Write out an info file under the region directory. Useful recovering mangled regions.<a name="line.861"></a>
+<span class="sourceLineNo">862</span>   * @param useTempDir indicate whether or not using the region .tmp dir for a safer file creation.<a name="line.862"></a>
+<span class="sourceLineNo">863</span>   */<a name="line.863"></a>
+<span class="sourceLineNo">864</span>  private void writeRegionInfoOnFilesystem(boolean useTempDir) throws IOException {<a name="line.864"></a>
+<span class="sourceLineNo">865</span>    byte[] content = getRegionInfoFileContent(regionInfoForFs);<a name="line.865"></a>
+<span class="sourceLineNo">866</span>    writeRegionInfoOnFilesystem(content, useTempDir);<a name="line.866"></a>
+<span class="sourceLineNo">867</span>  }<a name="line.867"></a>
+<span class="sourceLineNo">868</span><a name="line.868"></a>
+<span class="sourceLineNo">869</span>  /**<a name="line.869"></a>
+<span class="sourceLineNo">870</span>   * Write out an info file under the region directory. Useful recovering mangled regions.<a name="line.870"></a>
+<span class="sourceLineNo">871</span>   * @param regionInfoContent serialized version of the {@link RegionInfo}<a name="line.871"></a>
+<span class="sourceLineNo">872</span>   * @param useTempDir indicate whether or not using the region .tmp dir for a safer file creation.<a name="line.872"></a>
+<span class="sourceLineNo">873</span>   */<a name="line.873"></a>
+<span class="sourceLineNo">874</span>  private void writeRegionInfoOnFilesystem(final byte[] regionInfoContent,<a name="line.874"></a>
+<span class="sourceLineNo">875</span>      final boolean useTempDir) throws IOException {<a name="line.875"></a>
+<span class="sourceLineNo">876</span>    Path regionInfoFile = new Path(getRegionDir(), REGION_INFO_FILE);<a name="line.876"></a>
+<span class="sourceLineNo">877</span>    if (useTempDir) {<a name="line.877"></a>
+<span class="sourceLineNo">878</span>      // Create in tmpDir and then move into place in case we crash after<a name="line.878"></a>
+<span class="sourceLineNo">879</span>      // create but before close. If we don't successfully close the file,<a name="line.879"></a>
+<span class="sourceLineNo">880</span>      // subsequent region reopens will fail the below because create is<a name="line.880"></a>
+<span class="sourceLineNo">881</span>      // registered in NN.<a name="line.881"></a>
+<span class="sourceLineNo">882</span><a name="line.882"></a>
+<span class="sourceLineNo">883</span>      // And then create the file<a name="line.883"></a>
+<span class="sourceLineNo">884</span>      Path tmpPath = new Path(getTempDir(), REGION_INFO_FILE);<a name="line.884"></a>
+<span class="sourceLineNo">885</span><a name="line.885"></a>
+<span class="sourceLineNo">886</span>      // If datanode crashes or if the RS goes down just before the close is called while trying to<a name="line.886"></a>
+<span class="sourceLineNo">887</span>      // close the created regioninfo file in the .tmp directory then on next<a name="line.887"></a>
+<span class="sourceLineNo">888</span>      // creation we will be getting AlreadyCreatedException.<a name="line.888"></a>
+<span class="sourceLineNo">889</span>      // Hence delete and create the file if exists.<a name="line.889"></a>
+<span class="sourceLineNo">890</span>      if (CommonFSUtils.isExists(fs, tmpPath)) {<a name="line.890"></a>
+<span class="sourceLineNo">891</span>        CommonFSUtils.delete(fs, tmpPath, true);<a name="line.891"></a>
+<span class="sourceLineNo">892</span>      }<a name="line.892"></a>
+<span class="sourceLineNo">893</span><a name="line.893"></a>
+<span class="sourceLineNo">894</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.894"></a>
+<span class="sourceLineNo">895</span>      writeRegionInfoFileContent(conf, fs, tmpPath, regionInfoContent);<a name="line.895"></a>
+<span class="sourceLineNo">896</span><a name="line.896"></a>
+<span class="sourceLineNo">897</span>      // Move the created file to the original path<a name="line.897"></a>
+<span class="sourceLineNo">898</span>      if (fs.exists(tmpPath) &amp;&amp;  !rename(tmpPath, regionInfoFile)) {<a name="line.898"></a>
+<span class="sourceLineNo">899</span>        throw new IOException("Unable to rename " + tmpPath + " to " + regionInfoFile);<a name="line.899"></a>
+<span class="sourceLineNo">900</span>      }<a name="line.900"></a>
+<span class="sourceLineNo">901</span>    } else {<a name="line.901"></a>
+<span class="sourceLineNo">902</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.902"></a>
+<span class="sourceLineNo">903</span>      writeRegionInfoFileContent(conf, fs, regionInfoFile, regionInfoContent);<a name="line.903"></a>
+<span class="sourceLineNo">904</span>    }<a name="line.904"></a>
+<span class="sourceLineNo">905</span>  }<a name="line.905"></a>
+<span class="sourceLineNo">906</span><a name="line.906"></a>
+<span class="sourceLineNo">907</span>  /**<a name="line.907"></a>
+<span class="sourceLineNo">908</span>   * Create a new Region on file-system.<a name="line.908"></a>
+<span class="sourceLineNo">909</span>   * @param conf the {@link Configuration} to use<a name="line.909"></a>
+<span class="sourceLineNo">910</span>   * @param fs {@link FileSystem} from which to add the region<a name="line.910"></a>
+<span class="sourceLineNo">911</span>   * @param tableDir {@link Path} to where the table is being stored<a name="line.911"></a>
+<span class="sourceLineNo">912</span>   * @param regionInfo {@link RegionInfo} for region to be added<a name="line.912"></a>
+<span class="sourceLineNo">913</span>   * @throws IOException if the region creation fails due to a FileSystem exception.<a name="line.913"></a>
+<span class="sourceLineNo">914</span>   */<a name="line.914"></a>
+<span class="sourceLineNo">915</span>  public static HRegionFileSystem createRegionOnFileSystem(final Configuration conf,<a name="line.915"></a>
+<span class="sourceLineNo">916</span>      final FileSystem fs, final Path tableDir, final RegionInfo regionInfo) throws IOException {<a name="line.916"></a>
+<span class="sourceLineNo">917</span>    HRegionFileSystem regionFs = new HRegionFileSystem(conf, fs, tableDir, regionInfo);<a name="line.917"></a>
+<span class="sourceLineNo">918</span><a name="line.918"></a>
+<span class="sourceLineNo">919</span>    // We only create a .regioninfo and the region directory if this is the default region replica<a name="line.919"></a>
+<span class="sourceLineNo">920</span>    if (regionInfo.getReplicaId() == RegionInfo.DEFAULT_REPLICA_ID) {<a name="line.920"></a>
+<span class="sourceLineNo">921</span>      Path regionDir = regionFs.getRegionDir();<a name="line.921"></a>
+<span class="sourceLineNo">922</span>      if (fs.exists(regionDir)) {<a name="line.922"></a>
+<span class="sourceLineNo">923</span>        LOG.warn("Trying to create a region that already exists on disk: " + regionDir);<a name="line.923"></a>
+<span class="sourceLineNo">924</span>      } else {<a name="line.924"></a>
+<span class="sourceLineNo">925</span>        // Create the region directory<a name="line.925"></a>
+<span class="sourceLineNo">926</span>        if (!createDirOnFileSystem(fs, conf, regionDir)) {<a name="line.926"></a>
+<span class="sourceLineNo">927</span>          LOG.warn("Unable to create the region directory: " + regionDir);<a name="line.927"></a>
+<span class="sourceLineNo">928</span>          throw new IOException("Unable to create region directory: " + regionDir);<a name="line.928"></a>
+<span class="sourceLineNo">929</span>        }<a name="line.929"></a>
+<span class="sourceLineNo">930</span>      }<a name="line.930"></a>
+<span class="sourceLineNo">931</span><a name="line.931"></a>
+<span class="sourceLineNo">932</span>      // Write HRI to a file in case we need to recover hbase:meta<a name="line.932"></a>
+<span class="sourceLineNo">933</span>      regionFs.writeRegionInfoOnFilesystem(false);<a name="line.933"></a>
+<span class="sourceLineNo">934</span>    } else {<a name="line.934"></a>
+<span class="sourceLineNo">935</span>      if (LOG.isDebugEnabled())<a name="line.935"></a>
+<span class="sourceLineNo">936</span>        LOG.debug("Skipping creation of .regioninfo file for " + regionInfo);<a name="line.936"></a>
+<span class="sourceLineNo">937</span>    }<a name="line.937"></a>
+<span class="sourceLineNo">938</span>    return regionFs;<a name="line.938"></a>
+<span class="sourceLineNo">939</span>  }<a name="line.939"></a>
+<span class="sourceLineNo">940</span><a name="line.940"></a>
+<span class="sourceLineNo">941</span>  /**<a name="line.941"></a>
+<span class="sourceLineNo">942</span>   * Open Region from file-system.<a name="line.942"></a>
+<span class="sourceLineNo">943</span>   * @param conf the {@link Configuration} to use<a name="line.943"></a>
+<span class="sourceLineNo">944</span>   * @param fs {@link FileSystem} from which to add the region<a name="line.944"></a>
+<span class="sourceLineNo">945</span>   * @param tableDir {@link Path} to where the table is being stored<a name="line.945"></a>
+<span class="sourceLineNo">946</span>   * @param regionInfo {@link RegionInfo} for region to be added<a name="line.946"></a>
+<span class="sourceLineNo">947</span>   * @param readOnly True if you don't want to edit the region data<a name="line.947"></a>
+<span class="sourceLineNo">948</span>   * @throws IOException if the region creation fails due to a FileSystem exception.<a name="line.948"></a>
+<span class="sourceLineNo">949</span>   */<a name="line.949"></a>
+<span class="sourceLineNo">950</span>  public static HRegionFileSystem openRegionFromFileSystem(final Configuration conf,<a name="line.950"></a>
+<span class="sourceLineNo">951</span>      final FileSystem fs, final Path tableDir, final RegionInfo regionInfo, boolean readOnly)<a name="line.951"></a>
+<span class="sourceLineNo">952</span>      throws IOException {<a name="line.952"></a>
+<span class="sourceLineNo">953</span>    HRegionFileSystem regionFs = new HRegionFileSystem(conf, fs, tableDir, regionInfo);<a name="line.953"></a>
+<span class="sourceLineNo">954</span>    Path regionDir = regionFs.getRegionDir();<a name="line.954"></a>
+<span class="sourceLineNo">955</span><a name="line.955"></a>
+<span class="sourceLineNo">956</span>    if (!fs.exists(regionDir)) {<a name="line.956"></a>
+<span class="sourceLineNo">957</span>      LOG.warn("Trying to open a region that do not exists on disk: " + regionDir);<a name="line.957"></a>
+<span class="sourceLineNo">958</span>      throw new IOException("The specified region do not exists on disk: " + regionDir);<a name="line.958"></a>
+<span class="sourceLineNo">959</span>    }<a name="line.959"></a>
+<span class="sourceLineNo">960</span><a name="line.960"></a>
+<span class="sourceLineNo">961</span>    if (!readOnly) {<a name="line.961"></a>
+<span class="sourceLineNo">962</span>      // Cleanup temporary directories<a name="line.962"></a>
+<span class="sourceLineNo">963</span>      regionFs.cleanupTempDir();<a name="line.963"></a>
+<span class="sourceLineNo">964</span><a name="line.964"></a>
+<span class="sourceLineNo">965</span>      // If it doesn't exists, Write HRI to a file, in case we need to recover hbase:meta<a name="line.965"></a>
+<span class="sourceLineNo">966</span>      // Only create HRI if we are the default replica<a name="line.966"></a>
+<span class="sourceLineNo">967</span>      if (regionInfo.getReplicaId() == RegionInfo.DEFAULT_REPLICA_ID) {<a name="line.967"></a>
+<span class="sourceLineNo">968</span>        regionFs.checkRegionInfoOnFilesystem();<a name="line.968"></a>
+<span class="sourceLineNo">969</span>      } else {<a name="line.969"></a>
+<span class="sourceLineNo">970</span>        if (LOG.isDebugEnabled()) {<a name="line.970"></a>
+<span class="sourceLineNo">971</span>          LOG.debug("Skipping creation of .regioninfo file for " + regionInfo);<a name="line.971"></a>
+<span class="sourceLineNo">972</span>        }<a name="line.972"></a>
+<span class="sourceLineNo">973</span>      }<a name="line.973"></a>
+<span class="sourceLineNo">974</span>    }<a name="line.974"></a>
+<span class="sourceLineNo">975</span><a name="line.975"></a>
+<span class="sourceLineNo">976</span>    return regionFs;<a name="line.976"></a>
+<span class="sourceLineNo">977</span>  }<a name="line.977"></a>
+<span class="sourceLineNo">978</span><a name="line.978"></a>
+<span class="sourceLineNo">979</span>  /**<a name="line.979"></a>
+<span class="sourceLineNo">980</span>   * Remove the region from the table directory, archiving the region's hfiles.<a name="line.980"></a>
+<span class="sourceLineNo">981</span>   * @param conf the {@link Configuration} to use<a name="line.981"></a>
+<span class="sourceLineNo">982</span>   * @param fs {@link FileSystem} from which to remove the region<a name="line.982"></a>
+<span class="sourceLineNo">983</span>   * @param tableDir {@link Path} to where the table is being stored<a name="line.983"></a>
+<span class="sourceLineNo">984</span>   * @param regionInfo {@link RegionInfo} for region to be deleted<a name="line.984"></a>
+<span class="sourceLineNo">985</span>   * @throws IOException if the request cannot be completed<a name="line.985"></a>
+<span class="sourceLineNo">986</span>   */<a name="line.986"></a>
+<span class="sourceLineNo">987</span>  public static void deleteRegionFromFileSystem(final Configuration conf,<a name="line.987"></a>
+<span class="sourceLineNo">988</span>      final FileSystem fs, final Path tableDir, final RegionInfo regionInfo) throws IOException {<a name="line.988"></a>
+<span class="sourceLineNo">989</span>    HRegionFileSystem regionFs = new HRegionFileSystem(conf, fs, tableDir, regionInfo);<a name="line.989"></a>
+<span class="sourceLineNo">990</span>    Path regionDir = regionFs.getRegionDir();<a name="line.990"></a>
+<span class="sourceLineNo">991</span><a name="line.991"></a>
+<span class="sourceLineNo">992</span>    if (!fs.exists(regionDir)) {<a name="line.992"></a>
+<span class="sourceLineNo">993</span>      LOG.warn("Trying to delete a region that do not exists on disk: " + regionDir);<a name="line.993"></a>
+<span class="sourceLineNo">994</span>      return;<a name="line.994"></a>
+<span class="sourceLineNo">995</span>    }<a name="line.995"></a>
+<span class="sourceLineNo">996</span><a name="line.996"></a>
+<span class="sourceLineNo">997</span>    if (LOG.isDebugEnabled()) {<a name="line.997"></a>
+<span class="sourceLineNo">998</span>      LOG.debug("DELETING region " + regionDir);<a name="line.998"></a>
+<span class="sourceLineNo">999</span>    }<a name="line.999"></a>
+<span class="sourceLineNo">1000</span><a name="line.1000"></a>
+<span class="sourceLineNo">1001</span>    // Archive region<a name="line.1001"></a>
+<span class="sourceLineNo">1002</span>    Path rootDir = CommonFSUtils.getRootDir(conf);<a name="line.1002"></a>
+<span class="sourceLineNo">1003</span>    HFileArchiver.archiveRegion(fs, rootDir, tableDir, regionDir);<a name="line.1003"></a>
+<span class="sourceLineNo">1004</span><a name="line.1004"></a>
+<span class="sourceLineNo">1005</span>    // Delete empty region dir<a name="line.1005"></a>
+<span class="sourceLineNo">1006</span>    if (!fs.delete(regionDir, true)) {<a name="line.1006"></a>
+<span class="sourceLineNo">1007</span>      LOG.warn("Failed delete of " + regionDir);<a name="line.1007"></a>
+<span class="sourceLineNo">1008</span>    }<a name="line.1008"></a>
+<span class="sourceLineNo">1009</span>  }<a name="line.1009"></a>
+<span class="sourceLineNo">1010</span><a name="line.1010"></a>
+<span class="sourceLineNo">1011</span>  /**<a name="line.1011"></a>
+<span class="sourceLineNo">1012</span>   * Creates a directory. Assumes the user has already checked for this directory existence.<a name="line.1012"></a>
+<span class="sourceLineNo">1013</span>   * @param dir<a name="line.1013"></a>
+<span class="sourceLineNo">1014</span>   * @return the result of fs.mkdirs(). In case underlying fs throws an IOException, it checks<a name="line.1014"></a>
+<span class="sourceLineNo">1015</span>   *         whether the directory exists or not, and returns true if it exists.<a name="line.1015"></a>
+<span class="sourceLineNo">1016</span>   * @throws IOException<a name="line.1016"></a>
+<span class="sourceLineNo">1017</span>   */<a name="line.1017"></a>
+<span class="sourceLineNo">1018</span>  boolean createDir(Path dir) throws IOException {<a name="line.1018"></a>
+<span class="sourceLineNo">1019</span>    int i = 0;<a name="line.1019"></a>
+<span class="sourceLineNo">1020</span>    IOException lastIOE = null;<a name="line.1020"></a>
+<span class="sourceLineNo">1021</span>    do {<a name="line.1021"></a>
+<span class="sourceLineNo">1022</span>      try {<a name="line.1022"></a>
+<span class="sourceLineNo">1023</span>        return mkdirs(fs, conf, dir);<a name="line.1023"></a>
+<span class="sourceLineNo">1024</span>      } catch (IOException ioe) {<a name="line.1024"></a>
+<span class="sourceLineNo">1025</span>        lastIOE = ioe;<a name="line.1025"></a>
+<span class="sourceLineNo">1026</span>        if (fs.exists(dir)) return true; // directory is present<a name="line.1026"></a>
+<span class="sourceLineNo">1027</span>        try {<a name="line.1027"></a>
+<span class="sourceLineNo">1028</span>          sleepBeforeRetry("Create Directory", i+1);<a name="line.1028"></a>
+<span class="sourceLineNo">1029</span>        } catch (InterruptedException e) {<a name="line.1029"></a>
+<span class="sourceLineNo">1030</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1030"></a>
+<span class="sourceLineNo">1031</span>        }<a name="line.1031"></a>
+<span class="sourceLineNo">1032</span>      }<a name="line.1032"></a>
+<span class="sourceLineNo">1033</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1033"></a>
+<span class="sourceLineNo">1034</span>    throw new IOException("Exception in createDir", lastIOE);<a name="line.1034"></a>
+<span class="sourceLineNo">1035</span>  }<a name="line.1035"></a>
+<span class="sourceLineNo">1036</span><a name="line.1036"></a>
+<span class="sourceLineNo">1037</span>  /**<a name="line.1037"></a>
+<span class="sourceLineNo">1038</span>   * Renames a directory. Assumes the user has already checked for this directory existence.<a name="line.1038"></a>
+<span class="sourceLineNo">1039</span>   * @param srcpath<a name="line.1039"></a>
+<span class="sourceLineNo">1040</span>   * @param dstPath<a name="line.1040"></a>
+<span class="sourceLineNo">1041</span>   * @return true if rename is successful.<a name="line.1041"></a>
+<span class="sourceLineNo">1042</span>   * @throws IOException<a name="line.1042"></a>
+<span class="sourceLineNo">1043</span>   */<a name="line.1043"></a>
+<span class="sourceLineNo">1044</span>  boolean rename(Path srcpath, Path dstPath) throws IOException {<a name="line.1044"></a>
+<span class="sourceLineNo">1045</span>    IOException lastIOE = null;<a name="line.1045"></a>
+<span class="sourceLineNo">1046</span>    int i = 0;<a name="line.1046"></a>
+<span class="sourceLineNo">1047</span>    do {<a name="line.1047"></a>
+<span class="sourceLineNo">1048</span>      try {<a name="line.1048"></a>
+<span class="sourceLineNo">1049</span>        return fs.rename(srcpath, dstPath);<a name="line.1049"></a>
+<span class="sourceLineNo">1050</span>      } catch (IOException ioe) {<a name="line.1050"></a>
+<span class="sourceLineNo">1051</span>        lastIOE = ioe;<a name="line.1051"></a>
+<span class="sourceLineNo">1052</span>        if (!fs.exists(srcpath) &amp;&amp; fs.exists(dstPath)) return true; // successful move<a name="line.1052"></a>
+<span class="sourceLineNo">1053</span>        // dir is not there, retry after some time.<a name="line.1053"></a>
+<span class="sourceLineNo">1054</span>        try {<a name="line.1054"></a>
+<span class="sourceLineNo">1055</span>          sleepBeforeRetry("Rename Directory", i+1);<a name="line.1055"></a>
+<span class="sourceLineNo">1056</span>        } catch (InterruptedException e) {<a name="line.1056"></a>
+<span class="sourceLineNo">1057</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1057"></a>
+<span class="sourceLineNo">1058</span>        }<a name="line.1058"></a>
+<span class="sourceLineNo">1059</span>      }<a name="line.1059"></a>
+<span class="sourceLineNo">1060</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1060"></a>
+<span class="sourceLineNo">1061</span><a name="line.1061"></a>
+<span class="sourceLineNo">1062</span>    throw new IOException("Exception in rename", lastIOE);<a name="line.1062"></a>
+<span class="sourceLineNo">1063</span>  }<a name="line.1063"></a>
+<span class="sourceLineNo">1064</span><a name="line.1064"></a>
+<span class="sourceLineNo">1065</span>  /**<a name="line.1065"></a>
+<span class="sourceLineNo">1066</span>   * Deletes a directory. Assumes the user has already checked for this directory existence.<a name="line.1066"></a>
+<span class="sourceLineNo">1067</span>   * @param dir<a name="line.1067"></a>
+<span class="sourceLineNo">1068</span>   * @return true if the directory is deleted.<a name="line.1068"></a>
+<span class="sourceLineNo">1069</span>   * @throws IOException<a name="line.1069"></a>
+<span class="sourceLineNo">1070</span>   */<a name="line.1070"></a>
+<span class="sourceLineNo">1071</span>  boolean deleteDir(Path dir) throws IOException {<a name="line.1071"></a>
+<span class="sourceLineNo">1072</span>    IOException lastIOE = null;<a name="line.1072"></a>
+<span class="sourceLineNo">1073</span>    int i = 0;<a name="line.1073"></a>
+<span class="sourceLineNo">1074</span>    do {<a name="line.1074"></a>
+<span class="sourceLineNo">1075</span>      try {<a name="line.1075"></a>
+<span class="sourceLineNo">1076</span>        return fs.delete(dir, true);<a name="line.1076"></a>
+<span class="sourceLineNo">1077</span>      } catch (IOException ioe) {<a name="line.1077"></a>
+<span class="sourceLineNo">1078</span>        lastIOE = ioe;<a name="line.1078"></a>
+<span class="sourceLineNo">1079</span>        if (!fs.exists(dir)) return true;<a name="line.1079"></a>
+<span class="sourceLineNo">1080</span>        // dir is there, retry deleting after some time.<a name="line.1080"></a>
+<span class="sourceLineNo">1081</span>        try {<a name="line.1081"></a>
+<span class="sourceLineNo">1082</span>          sleepBeforeRetry("Delete Directory", i+1);<a name="line.1082"></a>
+<span class="sourceLineNo">1083</span>        } catch (InterruptedException e) {<a name="line.1083"></a>
+<span class="sourceLineNo">1084</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1084"></a>
+<span class="sourceLineNo">1085</span>        }<a name="line.1085"></a>
+<span class="sourceLineNo">1086</span>      }<a name="line.1086"></a>
+<span class="sourceLineNo">1087</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1087"></a>
+<span class="sourceLineNo">1088</span><a name="line.1088"></a>
+<span class="sourceLineNo">1089</span>    throw new IOException("Exception in DeleteDir", lastIOE);<a name="line.1089"></a>
+<span class="sourceLineNo">1090</span>  }<a name="line.1090"></a>
+<span class="sourceLineNo">1091</span><a name="line.1091"></a>
+<span class="sourceLineNo">1092</span>  /**<a name="line.1092"></a>
+<span class="sourceLineNo">1093</span>   * sleeping logic; handles the interrupt exception.<a name="line.1093"></a>
+<span class="sourceLineNo">1094</span>   */<a name="line.1094"></a>
+<span class="sourceLineNo">1095</span>  private void sleepBeforeRetry(String msg, int sleepMultiplier) throws InterruptedException {<a name="line.1095"></a>
+<span class="sourceLineNo">1096</span>    sleepBeforeRetry(msg, sleepMultiplier, baseSleepBeforeRetries, hdfsClientRetriesNumber);<a name="line.1096"></a>
+<span class="sourceLineNo">1097</span>  }<a name="line.1097"></a>
+<span class="sourceLineNo">1098</span><a name="line.1098"></a>
+<span class="sourceLineNo">1099</span>  /**<a name="line.1099"></a>
+<span class="sourceLineNo">1100</span>   * Creates a directory for a filesystem and configuration object. Assumes the user has already<a name="line.1100"></a>
+<span class="sourceLineNo">1101</span>   * checked for this directory existence.<a name="line.1101"></a>
+<span class="sourceLineNo">1102</span>   * @param fs<a name="line.1102"></a>
+<span class="sourceLineNo">1103</span>   * @param conf<a name="line.1103"></a>
+<span class="sourceLineNo">1104</span>   * @param dir<a name="line.1104"></a>
+<span class="sourceLineNo">1105</span>   * @return the result of fs.mkdirs(). In case underlying fs throws an IOException, it checks<a name="line.1105"></a>
+<span class="sourceLineNo">1106</span>   *         whether the directory exists or not, and returns true if it exists.<a name="line.1106"></a>
+<span class="sourceLineNo">1107</span>   * @throws IOException<a name="line.1107"></a>
+<span class="sourceLineNo">1108</span>   */<a name="line.1108"></a>
+<span class="sourceLineNo">1109</span>  private static boolean createDirOnFileSystem(FileSystem fs, Configuration conf, Path dir)<a name="line.1109"></a>
+<span class="sourceLineNo">1110</span>      throws IOException {<a name="line.1110"></a>
+<span class="sourceLineNo">1111</span>    int i = 0;<a name="line.1111"></a>
+<span class="sourceLineNo">1112</span>    IOException lastIOE = null;<a name="line.1112"></a>
+<span class="sourceLineNo">1113</span>    int hdfsClientRetriesNumber = conf.getInt("hdfs.client.retries.number",<a name="line.1113"></a>
+<span class="sourceLineNo">1114</span>      DEFAULT_HDFS_CLIENT_RETRIES_NUMBER);<a name="line.1114"></a>
+<span class="sourceLineNo">1115</span>    int baseSleepBeforeRetries = conf.getInt("hdfs.client.sleep.before.retries",<a name="line.1115"></a>
+<span class="sourceLineNo">1116</span>      DEFAULT_BASE_SLEEP_BEFORE_RETRIES);<a name="line.1116"></a>
+<span class="sourceLineNo">1117</span>    do {<a name="line.1117"></a>
+<span class="sourceLineNo">1118</span>      try {<a name="line.1118"></a>
+<span class="sourceLineNo">1119</span>        return fs.mkdirs(dir);<a name="line.1119"></a>
+<span class="sourceLineNo">1120</span>      } catch (IOException ioe) {<a name="line.1120"></a>
+<span class="sourceLineNo">1121</span>        lastIOE = ioe;<a name="line.1121"></a>
+<span class="sourceLineNo">1122</span>        if (fs.exists(dir)) return true; // directory is present<a name="line.1122"></a>
+<span class="sourceLineNo">1123</span>        try {<a name="line.1123"></a>
+<span class="sourceLineNo">1124</span>          sleepBeforeRetry("Create Directory", i+1, baseSleepBeforeRetries, hdfsClientRetriesNumber);<a name="line.1124"></a>
+<span class="sourceLineNo">1125</span>        } catch (InterruptedException e) {<a name="line.1125"></a>
+<span class="sourceLineNo">1126</span>          throw (InterruptedIOException)new InterruptedIOException().initCause(e);<a name="line.1126"></a>
+<span class="sourceLineNo">1127</span>        }<a name="line.1127"></a>
+<span class="sourceLineNo">1128</span>      }<a name="line.1128"></a>
+<span class="sourceLineNo">1129</span>    } while (++i &lt;= hdfsClientRetriesNumber);<a name="line.1129"></a>
+<span class="sourceLineNo">1130</span><a name="line.1130"></a>
+<span class="sourceLineNo">1131</span>    throw new IOException("Exception in createDir", lastIOE);<a name="line.1131"></a>
+<span class="sourceLineNo">1132</span>  }<a name="line.1132"></a>
+<span class="sourceLineNo">1133</span><a name="line.1133"></a>
+<span class="sourceLineNo">1134</span>  /**<a name="line.1134"></a>
+<span class="sourceLineNo">1135</span>   * sleeping logic for static methods; handles the interrupt exception. Keeping a static version<a name="line.1135"></a>
+<span class="sourceLineNo">1136</span>   * for this to avoid re-looking for the integer values.<a name="line.1136"></a>
+<span class="sourceLineNo">1137</span>   */<a name="line.1137"></a>
+<span class="sourceLineNo">1138</span>  private static void sleepBeforeRetry(String msg, int sleepMultiplier, int baseSleepBeforeRetries,<a name="line.1138"></a>
+<span class="sourceLineNo">1139</span>      int hdfsClientRetriesNumber) throws InterruptedException {<a name="line.1139"></a>
+<span class="sourceLineNo">1140</span>    if (sleepMultiplier &gt; hdfsClientRetriesNumber) {<a name="line.1140"></a>
+<span class="sourceLineNo">1141</span>      if (LOG.isDebugEnabled()) {<a name="line.1141"></a>
+<span class="sourceLineNo">1142</span>        LOG.debug(msg + ", retries exhausted");<a name="line.1142"></a>
+<span class="sourceLineNo">1143</span>      }<a name="line.1143"></a>
+<span class="sourceLineNo">1144</span>      return;<a name="line.1144"></a>
+<span class="sourceLineNo">1145</span>    }<a name="line.1145"></a>
+<span class="sourceLineNo">1146</span>    if (LOG.isDebugEnabled()) {<a name="line.1146"></a>
+<span class="sourceLineNo">1147</span>      LOG.debug(msg + ", sleeping " + baseSleepBeforeRetries + " times " + sleepMultiplier);<a name="line.1147"></a>
+<span class="sourceLineNo">1148</span>    }<a name="line.1148"></a>
+<span class="sourceLineNo">1149</span>    Thread.sleep((long)baseSleepBeforeRetries * sleepMultiplier);<a name="line.1149"></a>
+<span class="sourceLineNo">1150</span>  }<a name="line.1150"></a>
+<span class="sourceLineNo">1151</span>}<a name="line.1151"></a>
 
 
 
diff --git a/downloads.html b/downloads.html
index 5fe8774..748aa03 100644
--- a/downloads.html
+++ b/downloads.html
@@ -238,7 +238,7 @@
         <a class="externalLink" href="https://www.apache.org/dyn/closer.lua/hbase/2.4.8/hbase-2.4.8-client-bin.tar.gz">client-bin</a> (<a class="externalLink" href="https://downloads.apache.org/hbase/2.4.8/hbase-2.4.8-client-bin.tar.gz.sha512">sha512</a> <a class="externalLink" href="https://downloads.apache.org/hbase/2.4.8/hbase-2.4.8-client-bin.tar.gz.asc">asc</a>)
       </td>
       
-<td></td>
+<td><i>stable release</i></td>
     </tr>
     
 <tr class="b">
@@ -269,7 +269,7 @@
         <a class="externalLink" href="https://www.apache.org/dyn/closer.lua/hbase/2.3.7/hbase-2.3.7-client-bin.tar.gz">client-bin</a> (<a class="externalLink" href="https://downloads.apache.org/hbase/2.3.7/hbase-2.3.7-client-bin.tar.gz.sha512">sha512</a> <a class="externalLink" href="https://downloads.apache.org/hbase/2.3.7/hbase-2.3.7-client-bin.tar.gz.asc">asc</a>)
       </td>
       
-<td><i>stable release</i></td>
+<td></td>
     </tr>
     
 <tr class="a">
@@ -457,7 +457,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/export_control.html b/export_control.html
index 01df99f..6c62aaa 100644
--- a/export_control.html
+++ b/export_control.html
@@ -186,7 +186,7 @@ for more details.</p>
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/index.html b/index.html
index 03b1bf3..8eebfeb 100644
--- a/index.html
+++ b/index.html
@@ -264,7 +264,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/issue-tracking.html b/issue-tracking.html
index a586322..23bb583 100644
--- a/issue-tracking.html
+++ b/issue-tracking.html
@@ -158,7 +158,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/mail-lists.html b/mail-lists.html
index 7b9f18b..4970e50 100644
--- a/mail-lists.html
+++ b/mail-lists.html
@@ -204,7 +204,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/metrics.html b/metrics.html
index 30e5ce1..1a1eb10 100644
--- a/metrics.html
+++ b/metrics.html
@@ -314,7 +314,7 @@ export HBASE_REGIONSERVER_OPTS=&quot;$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/old_news.html b/old_news.html
index ce79e30..5bd3984 100644
--- a/old_news.html
+++ b/old_news.html
@@ -305,7 +305,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/plugin-management.html b/plugin-management.html
index d340b8c..9abbec6 100644
--- a/plugin-management.html
+++ b/plugin-management.html
@@ -310,7 +310,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/plugins.html b/plugins.html
index d76a5e9..9f68ac7 100644
--- a/plugins.html
+++ b/plugins.html
@@ -237,7 +237,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/poweredbyhbase.html b/poweredbyhbase.html
index c2eec58..068c202 100644
--- a/poweredbyhbase.html
+++ b/poweredbyhbase.html
@@ -639,7 +639,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-info.html b/project-info.html
index 06b100b..680472e 100644
--- a/project-info.html
+++ b/project-info.html
@@ -199,7 +199,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-reports.html b/project-reports.html
index c11d034..4301dd6 100644
--- a/project-reports.html
+++ b/project-reports.html
@@ -175,7 +175,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-summary.html b/project-summary.html
index 6551f50..b90978c 100644
--- a/project-summary.html
+++ b/project-summary.html
@@ -201,7 +201,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/pseudo-distributed.html b/pseudo-distributed.html
index 41abd04..f6ddae5 100644
--- a/pseudo-distributed.html
+++ b/pseudo-distributed.html
@@ -163,7 +163,7 @@ Running Apache HBase (TM) in pseudo-distributed mode
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/replication.html b/replication.html
index e51139d..4189703 100644
--- a/replication.html
+++ b/replication.html
@@ -158,7 +158,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/resources.html b/resources.html
index bd8e5d8..56a2107 100644
--- a/resources.html
+++ b/resources.html
@@ -186,7 +186,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/source-repository.html b/source-repository.html
index 536d518..9fabe26 100644
--- a/source-repository.html
+++ b/source-repository.html
@@ -169,7 +169,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/sponsors.html b/sponsors.html
index 15f2641..4cf87a4 100644
--- a/sponsors.html
+++ b/sponsors.html
@@ -188,7 +188,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/supportingprojects.html b/supportingprojects.html
index 78b17a6..8a2b17d 100644
--- a/supportingprojects.html
+++ b/supportingprojects.html
@@ -379,7 +379,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/team-list.html b/team-list.html
index 63d4a15..15e408e 100644
--- a/team-list.html
+++ b/team-list.html
@@ -738,7 +738,7 @@
         <div class="row">
             <p>Copyright &copy;2007&#x2013;2021
 <a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-03</li>
+All rights reserved.        <li id="publishDate" class="pull-right">Last Published: 2021-11-05</li>
 </p>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/testdevapidocs/index-all.html b/testdevapidocs/index-all.html
index 94b6a1b..0b25def 100644
--- a/testdevapidocs/index-all.html
+++ b/testdevapidocs/index-all.html
@@ -25761,6 +25761,8 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-java.lang.String...-">insertData(HBaseTestingUtil, TableName, int, int, String...)</a></span> - Static method in class org.apache.hadoop.hbase.master.assignment.<a href="org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html" title="class in org.apache.hadoop.hbase.master. [...]
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-boolean-java.lang.String...-">insertData(HBaseTestingUtil, TableName, int, int, boolean, String...)</a></span> - Static method in class org.apache.hadoop.hbase.master.assignment.<a href="org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html" title="class in org.apache.had [...]
+<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.html#insertData-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.client.Admin-org.apache.hadoop.hbase.client.Table-">insertData(TableName, Admin, Table)</a></span> - Method in class org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.html" title="class in org.apache.hadoop.hbase.regionserver">TestSplitTransactio [...]
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.html#insertData-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.client.Admin-org.apache.hadoop.hbase.client.Table-int-">insertData(TableName, Admin, Table, int)</a></span> - Method in class org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.html" title="class in org.apache.hadoop.hbase.regionserver">TestSplitT [...]
@@ -75580,6 +75582,8 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/tool/TestBulkLoadHFiles.html#testSplitStoreFile--">testSplitStoreFile()</a></span> - Method in class org.apache.hadoop.hbase.tool.<a href="org/apache/hadoop/hbase/tool/TestBulkLoadHFiles.html" title="class in org.apache.hadoop.hbase.tool">TestBulkLoadHFiles</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#testSplitStoreFiles--">testSplitStoreFiles()</a></span> - Method in class org.apache.hadoop.hbase.master.assignment.<a href="org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html" title="class in org.apache.hadoop.hbase.master.assignment">TestRegionSplit</a></dt>
+<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/tool/TestBulkLoadHFiles.html#testSplitStoreFileWithDifferentEncoding-org.apache.hadoop.hbase.io.encoding.DataBlockEncoding-org.apache.hadoop.hbase.io.encoding.DataBlockEncoding-">testSplitStoreFileWithDifferentEncoding(DataBlockEncoding, DataBlockEncoding)</a></span> - Method in class org.apache.hadoop.hbase.tool.<a href="org/apache/hadoop/hbase/tool/TestBulkLoadHFiles.html" title="class in org.apache.hadoop.hbase.tool">Te [...]
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/tool/TestBulkLoadHFiles.html#testSplitStoreFileWithEncodedToEncoded--">testSplitStoreFileWithEncodedToEncoded()</a></span> - Method in class org.apache.hadoop.hbase.tool.<a href="org/apache/hadoop/hbase/tool/TestBulkLoadHFiles.html" title="class in org.apache.hadoop.hbase.tool">TestBulkLoadHFiles</a></dt>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/chaos/actions/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/chaos/actions/package-tree.html
index 24c8931..d7d9b9a 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/chaos/actions/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/chaos/actions/package-tree.html
@@ -159,8 +159,8 @@
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
 <ul>
-<li type="circle">org.apache.hadoop.hbase.chaos.actions.<a href="../../../../../../org/apache/hadoop/hbase/chaos/actions/RollingBatchSuspendResumeRsAction.SuspendOrResume.html" title="enum in org.apache.hadoop.hbase.chaos.actions"><span class="typeNameLink">RollingBatchSuspendResumeRsAction.SuspendOrResume</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.chaos.actions.<a href="../../../../../../org/apache/hadoop/hbase/chaos/actions/RollingBatchRestartRsAction.KillOrStart.html" title="enum in org.apache.hadoop.hbase.chaos.actions"><span class="typeNameLink">RollingBatchRestartRsAction.KillOrStart</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.chaos.actions.<a href="../../../../../../org/apache/hadoop/hbase/chaos/actions/RollingBatchSuspendResumeRsAction.SuspendOrResume.html" title="enum in org.apache.hadoop.hbase.chaos.actions"><span class="typeNameLink">RollingBatchSuspendResumeRsAction.SuspendOrResume</span></a></li>
 </ul>
 </li>
 </ul>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/class-use/HBaseTestingUtil.html b/testdevapidocs/org/apache/hadoop/hbase/class-use/HBaseTestingUtil.html
index 64b14e0..82c2aae 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/class-use/HBaseTestingUtil.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/class-use/HBaseTestingUtil.html
@@ -2544,33 +2544,42 @@
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code>static void</code></td>
-<td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-java.lang.String...-">insertData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
+<td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-boolean-java.lang.String...-">insertData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
           org.apache.hadoop.hbase.TableName&nbsp;tableName,
           int&nbsp;rowCount,
           int&nbsp;startRowNum,
+          boolean&nbsp;flushOnce,
           <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;cfs)</code>&nbsp;</td>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-java.lang.String...-">insertData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
+          org.apache.hadoop.hbase.TableName&nbsp;tableName,
+          int&nbsp;rowCount,
+          int&nbsp;startRowNum,
+          <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;cfs)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#isServerHoldingMeta-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">isServerHoldingMeta</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
                    org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#killRs-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">killRs</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
       org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#stopRs-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">stopRs</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
       org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#waitForRegionToBeInTransition-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.client.RegionInfo-">waitForRegionToBeInTransition</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a [...]
                              org.apache.hadoop.hbase.client.RegionInfo&nbsp;hri)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><span class="typeNameLabel">AssignmentTestingUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#waitForRsToBeDead-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">waitForRsToBeDead</a></span>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
                  org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
index 9373864..88f30b2 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
@@ -176,8 +176,8 @@
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
 <ul>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/TagUsage.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">TagUsage</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">TestCacheOnWrite.CacheOnWriteType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/TagUsage.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">TagUsage</span></a></li>
 </ul>
 </li>
 </ul>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html b/testdevapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html
index 62a2c43..2cac26f 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9};
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -196,38 +196,47 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 </tr>
 <tr id="i5" class="rowColor">
 <td class="colFirst"><code>static void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-java.lang.String...-">insertData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-boolean-java.lang.String...-">insertData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
           org.apache.hadoop.hbase.TableName&nbsp;tableName,
           int&nbsp;rowCount,
           int&nbsp;startRowNum,
+          boolean&nbsp;flushOnce,
           <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;cfs)</code>&nbsp;</td>
 </tr>
 <tr id="i6" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-java.lang.String...-">insertData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
+          org.apache.hadoop.hbase.TableName&nbsp;tableName,
+          int&nbsp;rowCount,
+          int&nbsp;startRowNum,
+          <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;cfs)</code>&nbsp;</td>
+</tr>
+<tr id="i7" class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#isServerHoldingMeta-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">isServerHoldingMeta</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
                    org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
 </tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#killRs-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">killRs</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
       org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
 </tr>
-<tr id="i8" class="altColor">
+<tr id="i9" class="rowColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#stopRs-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">stopRs</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
       org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
 </tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" class="altColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#waitForAssignment-org.apache.hadoop.hbase.master.assignment.AssignmentManager-org.apache.hadoop.hbase.client.RegionInfo-">waitForAssignment</a></span>(org.apache.hadoop.hbase.master.assignment.AssignmentManager&nbsp;am,
                  org.apache.hadoop.hbase.client.RegionInfo&nbsp;regionInfo)</code>&nbsp;</td>
 </tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#waitForRegionToBeInTransition-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.client.RegionInfo-">waitForRegionToBeInTransition</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
                              org.apache.hadoop.hbase.client.RegionInfo&nbsp;hri)</code>&nbsp;</td>
 </tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" class="altColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#waitForRsToBeDead-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.ServerName-">waitForRsToBeDead</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;util,
                  org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
@@ -446,7 +455,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <a name="insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-java.lang.String...-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>insertData</h4>
 <pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#line.160">insertData</a>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
@@ -461,6 +470,25 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 </dl>
 </li>
 </ul>
+<a name="insertData-org.apache.hadoop.hbase.HBaseTestingUtil-org.apache.hadoop.hbase.TableName-int-int-boolean-java.lang.String...-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>insertData</h4>
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html#line.165">insertData</a>(<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a>&nbsp;UTIL,
+                              org.apache.hadoop.hbase.TableName&nbsp;tableName,
+                              int&nbsp;rowCount,
+                              int&nbsp;startRowNum,
+                              boolean&nbsp;flushOnce,
+                              <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;cfs)
+                       throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html b/testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html
index 3184f78..1bdc00e 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":9,"i1":10,"i2":10,"i3":9,"i4":9,"i5":10,"i6":10};
+var methods = {"i0":9,"i1":10,"i2":10,"i3":9,"i4":9,"i5":10,"i6":10,"i7":10};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.55">TestRegionSplit</a>
+<pre>public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.58">TestRegionSplit</a>
 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 </li>
 </ul>
@@ -215,6 +215,10 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 </tr>
 <tr id="i6" class="altColor">
 <td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#testSplitStoreFiles--">testSplitStoreFiles</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#testSplitTableRegion--">testSplitTableRegion</a></span>()</code>&nbsp;</td>
 </tr>
 </table>
@@ -245,7 +249,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>CLASS_RULE</h4>
-<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/HBaseClassTestRule.html" title="class in org.apache.hadoop.hbase">HBaseClassTestRule</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.58">CLASS_RULE</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/HBaseClassTestRule.html" title="class in org.apache.hadoop.hbase">HBaseClassTestRule</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.61">CLASS_RULE</a></pre>
 </li>
 </ul>
 <a name="LOG">
@@ -254,7 +258,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>LOG</h4>
-<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.61">LOG</a></pre>
+<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.64">LOG</a></pre>
 </li>
 </ul>
 <a name="UTIL">
@@ -263,7 +267,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>UTIL</h4>
-<pre>protected static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.63">UTIL</a></pre>
+<pre>protected static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtil.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtil</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.66">UTIL</a></pre>
 </li>
 </ul>
 <a name="columnFamilyName">
@@ -272,7 +276,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>columnFamilyName</h4>
-<pre>private static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.65">columnFamilyName</a></pre>
+<pre>private static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.68">columnFamilyName</a></pre>
 </li>
 </ul>
 <a name="startRowNum">
@@ -281,7 +285,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>startRowNum</h4>
-<pre>private static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.67">startRowNum</a></pre>
+<pre>private static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.70">startRowNum</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.master.assignment.TestRegionSplit.startRowNum">Constant Field Values</a></dd>
@@ -294,7 +298,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>rowCount</h4>
-<pre>private static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.68">rowCount</a></pre>
+<pre>private static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.71">rowCount</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.master.assignment.TestRegionSplit.rowCount">Constant Field Values</a></dd>
@@ -307,7 +311,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>name</h4>
-<pre>public&nbsp;org.junit.rules.TestName <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.71">name</a></pre>
+<pre>public&nbsp;org.junit.rules.TestName <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.74">name</a></pre>
 </li>
 </ul>
 </li>
@@ -324,7 +328,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>TestRegionSplit</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.55">TestRegionSplit</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.58">TestRegionSplit</a>()</pre>
 </li>
 </ul>
 </li>
@@ -341,7 +345,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>setupConf</h4>
-<pre>private static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.73">setupConf</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
+<pre>private static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.76">setupConf</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
 </li>
 </ul>
 <a name="setupCluster--">
@@ -350,7 +354,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>setupCluster</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.77">setupCluster</a>()
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.80">setupCluster</a>()
                          throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -364,7 +368,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>cleanupTest</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.85">cleanupTest</a>()
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.88">cleanupTest</a>()
                         throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -378,7 +382,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>setup</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.94">setup</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.97">setup</a>()
            throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -392,7 +396,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>tearDown</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.105">tearDown</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.108">tearDown</a>()
               throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -406,7 +410,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>testSplitTableRegion</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.112">testSplitTableRegion</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.115">testSplitTableRegion</a>()
                           throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -414,13 +418,27 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 </dl>
 </li>
 </ul>
+<a name="testSplitStoreFiles--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSplitStoreFiles</h4>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.164">testSplitStoreFiles</a>()
+                         throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
 <a name="getMasterProcedureExecutor--">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getMasterProcedureExecutor</h4>
-<pre>private&nbsp;org.apache.hadoop.hbase.procedure2.ProcedureExecutor&lt;org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.160">getMasterProcedureExecutor</a>()</pre>
+<pre>private&nbsp;org.apache.hadoop.hbase.procedure2.ProcedureExecutor&lt;org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html#line.211">getMasterProcedureExecutor</a>()</pre>
 </li>
 </ul>
 </li>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/package-tree.html
index d91f598..7bf8937 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/package-tree.html
@@ -665,17 +665,17 @@
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
 <ul>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ZNodeClusterManager.CmdType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ZNodeClusterManager.CmdType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestRegionReplicaPerf.Stat.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestRegionReplicaPerf.Stat</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.Service.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.Service</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ResourceChecker.Phase.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ResourceChecker.Phase</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterManager.ServiceType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterManager.ServiceType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestDDLMasterFailover.ACTION</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/PerformanceEvaluation.Counter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">PerformanceEvaluation.Counter</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HBaseClusterManager.CommandProvider.Operation.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HBaseClusterManager.CommandProvider.Operation</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HBaseClusterManager.Signal.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HBaseClusterManager.Signal</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.HealthSummary.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.HealthSummary</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/PerformanceEvaluation.Counter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">PerformanceEvaluation.Counter</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ScanPerformanceEvaluation.ScanCounter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ScanPerformanceEvaluation.ScanCounter</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterManager.ServiceType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterManager.ServiceType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.Service.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.Service</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestDDLMasterFailover.ACTION</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestRegionReplicaPerf.Stat.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestRegionReplicaPerf.Stat</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.HealthSummary.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.HealthSummary</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ZNodeClusterManager.CmdType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ZNodeClusterManager.CmdType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.RoleState.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.RoleState</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.RoleCommand.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.RoleCommand</span></a></li>
 </ul>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html
index 4309238..3ce38a7 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html
@@ -81,14 +81,14 @@
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure.Procedure (implements java.util.concurrent.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;, org.apache.hadoop.hbase.errorhandling.ForeignExceptionListener)
+<li type="circle">org.apache.hadoop.hbase.procedure2.Procedure&lt;TEnvironment&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedure.LatchedProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedure.LatchedProcedure</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedureDescriber.TestProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedureDescriber.TestProcedure</span></a></li>
 </ul>
 </li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.Procedure&lt;TEnvironment&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;)
+<li type="circle">org.apache.hadoop.hbase.procedure.Procedure (implements java.util.concurrent.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;, org.apache.hadoop.hbase.errorhandling.ForeignExceptionListener)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedureDescriber.TestProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedureDescriber.TestProcedure</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedure.LatchedProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedure.LatchedProcedure</span></a></li>
 </ul>
 </li>
 <li type="circle">org.apache.hadoop.hbase.procedure.ProcedureManager
diff --git a/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
index e140b2c..fe8dc61 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
@@ -241,9 +241,9 @@
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestYieldProcedures.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestYieldProcedures.TestStateMachineProcedure.State</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestStateMachineProcedure.TestSMProcedureState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestStateMachineProcedure.TestSMProcedureState</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestProcedureBypass.StuckStateMachineState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestProcedureBypass.StuckStateMachineState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestStateMachineProcedure.TestSMProcedureState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestStateMachineProcedure.TestSMProcedureState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestYieldProcedures.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestYieldProcedures.TestStateMachineProcedure.State</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestProcedureRecovery.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestProcedureRecovery.TestStateMachineProcedure.State</span></a></li>
 </ul>
 </li>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
index 18cb6b1..497700d 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
@@ -738,12 +738,12 @@
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
 <ul>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.ActionType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestMultiLogThreshold.ActionType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestCompactionState.StateSource.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestCompactionState.StateSource</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestAtomicOperation.TestStep.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestAtomicOperation.TestStep</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DataBlockEncodingTool.Manipulation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DataBlockEncodingTool.Manipulation</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.ActionType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestMultiLogThreshold.ActionType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestAtomicOperation.TestStep.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestAtomicOperation.TestStep</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestCacheOnWriteInSchema.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestCacheOnWriteInSchema.CacheOnWriteType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DataBlockEncodingTool.Manipulation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DataBlockEncodingTool.Manipulation</span></a></li>
 </ul>
 </li>
 </ul>
diff --git a/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
index 0df6bab..ffcc55d 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
@@ -260,11 +260,11 @@
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true [...]
 <ul>
-<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Verify.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Verify.Counts</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Generator.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Generator.Counts</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestWithCellVisibilityLoadAndVerify.Counters</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadAndVerify.Counters</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadCommonCrawl.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadCommonCrawl.Counts</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadAndVerify.Counters</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Verify.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Verify.Counts</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestWithCellVisibilityLoadAndVerify.Counters</span></a></li>
 </ul>
 </li>
 </ul>
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html
index b1619dd..1ccd462 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/AssignmentTestingUtil.html
@@ -167,25 +167,33 @@
 <span class="sourceLineNo">159</span><a name="line.159"></a>
 <span class="sourceLineNo">160</span>  public static void insertData(final HBaseTestingUtil UTIL, final TableName tableName,<a name="line.160"></a>
 <span class="sourceLineNo">161</span>    int rowCount, int startRowNum, String... cfs) throws IOException {<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    Table t = UTIL.getConnection().getTable(tableName);<a name="line.162"></a>
-<span class="sourceLineNo">163</span>    Put p;<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    for (int i = 0; i &lt; rowCount / 2; i++) {<a name="line.164"></a>
-<span class="sourceLineNo">165</span>      p = new Put(Bytes.toBytes("" + (startRowNum + i)));<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      for (String cf : cfs) {<a name="line.166"></a>
-<span class="sourceLineNo">167</span>        p.addColumn(Bytes.toBytes(cf), Bytes.toBytes("q"), Bytes.toBytes(i));<a name="line.167"></a>
-<span class="sourceLineNo">168</span>      }<a name="line.168"></a>
-<span class="sourceLineNo">169</span>      t.put(p);<a name="line.169"></a>
-<span class="sourceLineNo">170</span>      p = new Put(Bytes.toBytes("" + (startRowNum + rowCount - i - 1)));<a name="line.170"></a>
+<span class="sourceLineNo">162</span>    insertData(UTIL, tableName, rowCount, startRowNum, false, cfs);<a name="line.162"></a>
+<span class="sourceLineNo">163</span>  }<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span>  public static void insertData(final HBaseTestingUtil UTIL, final TableName tableName,<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    int rowCount, int startRowNum, boolean flushOnce, String... cfs) throws IOException {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>    Table t = UTIL.getConnection().getTable(tableName);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>    Put p;<a name="line.168"></a>
+<span class="sourceLineNo">169</span>    for (int i = 0; i &lt; rowCount / 2; i++) {<a name="line.169"></a>
+<span class="sourceLineNo">170</span>      p = new Put(Bytes.toBytes("" + (startRowNum + i)));<a name="line.170"></a>
 <span class="sourceLineNo">171</span>      for (String cf : cfs) {<a name="line.171"></a>
 <span class="sourceLineNo">172</span>        p.addColumn(Bytes.toBytes(cf), Bytes.toBytes("q"), Bytes.toBytes(i));<a name="line.172"></a>
 <span class="sourceLineNo">173</span>      }<a name="line.173"></a>
 <span class="sourceLineNo">174</span>      t.put(p);<a name="line.174"></a>
-<span class="sourceLineNo">175</span>      if (i % 5 == 0) {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>        UTIL.getAdmin().flush(tableName);<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      }<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    }<a name="line.178"></a>
-<span class="sourceLineNo">179</span>  }<a name="line.179"></a>
-<span class="sourceLineNo">180</span>}<a name="line.180"></a>
+<span class="sourceLineNo">175</span>      p = new Put(Bytes.toBytes("" + (startRowNum + rowCount - i - 1)));<a name="line.175"></a>
+<span class="sourceLineNo">176</span>      for (String cf : cfs) {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>        p.addColumn(Bytes.toBytes(cf), Bytes.toBytes("q"), Bytes.toBytes(i));<a name="line.177"></a>
+<span class="sourceLineNo">178</span>      }<a name="line.178"></a>
+<span class="sourceLineNo">179</span>      t.put(p);<a name="line.179"></a>
+<span class="sourceLineNo">180</span>      if (i % 5 == 0 &amp;&amp; !flushOnce) {<a name="line.180"></a>
+<span class="sourceLineNo">181</span>        UTIL.getAdmin().flush(tableName);<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      }<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    }<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    if (flushOnce) {<a name="line.184"></a>
+<span class="sourceLineNo">185</span>      UTIL.getAdmin().flush(tableName);<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    }<a name="line.186"></a>
+<span class="sourceLineNo">187</span>  }<a name="line.187"></a>
+<span class="sourceLineNo">188</span>}<a name="line.188"></a>
 
 
 
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html
index 96f4e08..6a323a1 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestRegionSplit.html
@@ -27,148 +27,199 @@
 <span class="sourceLineNo">019</span><a name="line.19"></a>
 <span class="sourceLineNo">020</span>import static org.apache.hadoop.hbase.master.assignment.AssignmentTestingUtil.insertData;<a name="line.20"></a>
 <span class="sourceLineNo">021</span>import static org.junit.Assert.assertEquals;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import static org.junit.Assert.assertTrue;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.util.List;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import java.util.Map;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.conf.Configuration;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.HBaseClassTestRule;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.HBaseTestingUtil;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.ServerName;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.StartTestingClusterOption;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.TableName;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.client.RegionInfo;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.master.procedure.MasterProcedureTestingUtility;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.procedure2.ProcedureExecutor;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.regionserver.HRegion;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.testclassification.MasterTests;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.testclassification.MediumTests;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.util.JVMClusterUtil;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.junit.After;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.junit.AfterClass;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.junit.Before;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.junit.BeforeClass;<a name="line.45"></a>
-<span class="sourceLineNo">046</span>import org.junit.ClassRule;<a name="line.46"></a>
-<span class="sourceLineNo">047</span>import org.junit.Rule;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import org.junit.Test;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import org.junit.experimental.categories.Category;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>import org.junit.rules.TestName;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>import org.slf4j.Logger;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>import org.slf4j.LoggerFactory;<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>@Category({MasterTests.class, MediumTests.class})<a name="line.54"></a>
-<span class="sourceLineNo">055</span>public class TestRegionSplit {<a name="line.55"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.assertNotNull;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import static org.junit.Assert.assertTrue;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.List;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.util.Map;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.conf.Configuration;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.HBaseClassTestRule;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.HBaseTestingUtil;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.ServerName;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.StartTestingClusterOption;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.TableName;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.client.RegionInfo;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.master.procedure.MasterProcedureTestingUtility;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.procedure2.ProcedureExecutor;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.regionserver.HRegion;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.testclassification.MasterTests;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.testclassification.MediumTests;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.util.JVMClusterUtil;<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.junit.After;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.junit.AfterClass;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.junit.Before;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.junit.BeforeClass;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.junit.ClassRule;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.junit.Rule;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.junit.Test;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.junit.experimental.categories.Category;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.junit.rules.TestName;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.slf4j.Logger;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import org.slf4j.LoggerFactory;<a name="line.55"></a>
 <span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span>  @ClassRule<a name="line.57"></a>
-<span class="sourceLineNo">058</span>  public static final HBaseClassTestRule CLASS_RULE =<a name="line.58"></a>
-<span class="sourceLineNo">059</span>      HBaseClassTestRule.forClass(TestRegionSplit.class);<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span>  private static final Logger LOG = LoggerFactory.getLogger(TestRegionSplit.class);<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span>  protected static final HBaseTestingUtil UTIL = new HBaseTestingUtil();<a name="line.63"></a>
-<span class="sourceLineNo">064</span><a name="line.64"></a>
-<span class="sourceLineNo">065</span>  private static String columnFamilyName = "cf";<a name="line.65"></a>
-<span class="sourceLineNo">066</span><a name="line.66"></a>
-<span class="sourceLineNo">067</span>  private static final int startRowNum = 11;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>  private static final int rowCount = 60;<a name="line.68"></a>
+<span class="sourceLineNo">057</span>@Category({MasterTests.class, MediumTests.class})<a name="line.57"></a>
+<span class="sourceLineNo">058</span>public class TestRegionSplit {<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span>  @ClassRule<a name="line.60"></a>
+<span class="sourceLineNo">061</span>  public static final HBaseClassTestRule CLASS_RULE =<a name="line.61"></a>
+<span class="sourceLineNo">062</span>      HBaseClassTestRule.forClass(TestRegionSplit.class);<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>  private static final Logger LOG = LoggerFactory.getLogger(TestRegionSplit.class);<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span>  protected static final HBaseTestingUtil UTIL = new HBaseTestingUtil();<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  private static String columnFamilyName = "cf";<a name="line.68"></a>
 <span class="sourceLineNo">069</span><a name="line.69"></a>
-<span class="sourceLineNo">070</span>  @Rule<a name="line.70"></a>
-<span class="sourceLineNo">071</span>  public TestName name = new TestName();<a name="line.71"></a>
+<span class="sourceLineNo">070</span>  private static final int startRowNum = 11;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  private static final int rowCount = 60;<a name="line.71"></a>
 <span class="sourceLineNo">072</span><a name="line.72"></a>
-<span class="sourceLineNo">073</span>  private static void setupConf(Configuration conf) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span>  }<a name="line.74"></a>
+<span class="sourceLineNo">073</span>  @Rule<a name="line.73"></a>
+<span class="sourceLineNo">074</span>  public TestName name = new TestName();<a name="line.74"></a>
 <span class="sourceLineNo">075</span><a name="line.75"></a>
-<span class="sourceLineNo">076</span>  @BeforeClass<a name="line.76"></a>
-<span class="sourceLineNo">077</span>  public static void setupCluster() throws Exception {<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    setupConf(UTIL.getConfiguration());<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    StartTestingClusterOption option =<a name="line.79"></a>
-<span class="sourceLineNo">080</span>      StartTestingClusterOption.builder().numMasters(1).numRegionServers(3).numDataNodes(3).build();<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    UTIL.startMiniCluster(option);<a name="line.81"></a>
-<span class="sourceLineNo">082</span>  }<a name="line.82"></a>
-<span class="sourceLineNo">083</span><a name="line.83"></a>
-<span class="sourceLineNo">084</span>  @AfterClass<a name="line.84"></a>
-<span class="sourceLineNo">085</span>  public static void cleanupTest() throws Exception {<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    try {<a name="line.86"></a>
-<span class="sourceLineNo">087</span>      UTIL.shutdownMiniCluster();<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    } catch (Exception e) {<a name="line.88"></a>
-<span class="sourceLineNo">089</span>      LOG.warn("failure shutting down cluster", e);<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    }<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  }<a name="line.91"></a>
-<span class="sourceLineNo">092</span><a name="line.92"></a>
-<span class="sourceLineNo">093</span>  @Before<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  public void setup() throws Exception {<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    // Turn off the meta scanner so it don't remove parent on us.<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    UTIL.getHBaseCluster().getMaster().setCatalogJanitorEnabled(false);<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    // Disable compaction.<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    for (int i = 0; i &lt; UTIL.getHBaseCluster().getLiveRegionServerThreads().size(); i++) {<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      UTIL.getHBaseCluster().getRegionServer(i).getCompactSplitThread().switchCompaction(<a name="line.99"></a>
-<span class="sourceLineNo">100</span>        false);<a name="line.100"></a>
-<span class="sourceLineNo">101</span>    }<a name="line.101"></a>
-<span class="sourceLineNo">102</span>  }<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span>  @After<a name="line.104"></a>
-<span class="sourceLineNo">105</span>  public void tearDown() throws Exception {<a name="line.105"></a>
-<span class="sourceLineNo">106</span>    for (TableDescriptor htd : UTIL.getAdmin().listTableDescriptors()) {<a name="line.106"></a>
-<span class="sourceLineNo">107</span>      UTIL.deleteTable(htd.getTableName());<a name="line.107"></a>
-<span class="sourceLineNo">108</span>    }<a name="line.108"></a>
-<span class="sourceLineNo">109</span>  }<a name="line.109"></a>
-<span class="sourceLineNo">110</span><a name="line.110"></a>
-<span class="sourceLineNo">111</span>  @Test<a name="line.111"></a>
-<span class="sourceLineNo">112</span>  public void testSplitTableRegion() throws Exception {<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    final TableName tableName = TableName.valueOf(name.getMethodName());<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    final ProcedureExecutor&lt;MasterProcedureEnv&gt; procExec = getMasterProcedureExecutor();<a name="line.114"></a>
-<span class="sourceLineNo">115</span><a name="line.115"></a>
-<span class="sourceLineNo">116</span>    RegionInfo[] regions =<a name="line.116"></a>
-<span class="sourceLineNo">117</span>      MasterProcedureTestingUtility.createTable(procExec, tableName, null, columnFamilyName);<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    insertData(UTIL, tableName, rowCount, startRowNum, columnFamilyName);<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    int splitRowNum = startRowNum + rowCount / 2;<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    byte[] splitKey = Bytes.toBytes("" + splitRowNum);<a name="line.120"></a>
-<span class="sourceLineNo">121</span><a name="line.121"></a>
-<span class="sourceLineNo">122</span>    assertTrue("not able to find a splittable region", regions != null);<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    assertTrue("not able to find a splittable region", regions.length == 1);<a name="line.123"></a>
+<span class="sourceLineNo">076</span>  private static void setupConf(Configuration conf) {<a name="line.76"></a>
+<span class="sourceLineNo">077</span>  }<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span>  @BeforeClass<a name="line.79"></a>
+<span class="sourceLineNo">080</span>  public static void setupCluster() throws Exception {<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    setupConf(UTIL.getConfiguration());<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    StartTestingClusterOption option =<a name="line.82"></a>
+<span class="sourceLineNo">083</span>      StartTestingClusterOption.builder().numMasters(1).numRegionServers(3).numDataNodes(3).build();<a name="line.83"></a>
+<span class="sourceLineNo">084</span>    UTIL.startMiniCluster(option);<a name="line.84"></a>
+<span class="sourceLineNo">085</span>  }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>  @AfterClass<a name="line.87"></a>
+<span class="sourceLineNo">088</span>  public static void cleanupTest() throws Exception {<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    try {<a name="line.89"></a>
+<span class="sourceLineNo">090</span>      UTIL.shutdownMiniCluster();<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    } catch (Exception e) {<a name="line.91"></a>
+<span class="sourceLineNo">092</span>      LOG.warn("failure shutting down cluster", e);<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    }<a name="line.93"></a>
+<span class="sourceLineNo">094</span>  }<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span>  @Before<a name="line.96"></a>
+<span class="sourceLineNo">097</span>  public void setup() throws Exception {<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    // Turn off the meta scanner so it don't remove parent on us.<a name="line.98"></a>
+<span class="sourceLineNo">099</span>    UTIL.getHBaseCluster().getMaster().setCatalogJanitorEnabled(false);<a name="line.99"></a>
+<span class="sourceLineNo">100</span>    // Disable compaction.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>    for (int i = 0; i &lt; UTIL.getHBaseCluster().getLiveRegionServerThreads().size(); i++) {<a name="line.101"></a>
+<span class="sourceLineNo">102</span>      UTIL.getHBaseCluster().getRegionServer(i).getCompactSplitThread().switchCompaction(<a name="line.102"></a>
+<span class="sourceLineNo">103</span>        false);<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    }<a name="line.104"></a>
+<span class="sourceLineNo">105</span>  }<a name="line.105"></a>
+<span class="sourceLineNo">106</span><a name="line.106"></a>
+<span class="sourceLineNo">107</span>  @After<a name="line.107"></a>
+<span class="sourceLineNo">108</span>  public void tearDown() throws Exception {<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    for (TableDescriptor htd : UTIL.getAdmin().listTableDescriptors()) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>      UTIL.deleteTable(htd.getTableName());<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    }<a name="line.111"></a>
+<span class="sourceLineNo">112</span>  }<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span>  @Test<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  public void testSplitTableRegion() throws Exception {<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    final TableName tableName = TableName.valueOf(name.getMethodName());<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    final ProcedureExecutor&lt;MasterProcedureEnv&gt; procExec = getMasterProcedureExecutor();<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span>    RegionInfo[] regions =<a name="line.119"></a>
+<span class="sourceLineNo">120</span>      MasterProcedureTestingUtility.createTable(procExec, tableName, null, columnFamilyName);<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    insertData(UTIL, tableName, rowCount, startRowNum, columnFamilyName);<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    int splitRowNum = startRowNum + rowCount / 2;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    byte[] splitKey = Bytes.toBytes("" + splitRowNum);<a name="line.123"></a>
 <span class="sourceLineNo">124</span><a name="line.124"></a>
-<span class="sourceLineNo">125</span>    // Split region of the table<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    long procId = procExec.submitProcedure(<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      new SplitTableRegionProcedure(procExec.getEnvironment(), regions[0], splitKey));<a name="line.127"></a>
-<span class="sourceLineNo">128</span>    // Wait the completion<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    ProcedureTestingUtility.waitProcedure(procExec, procId);<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    ProcedureTestingUtility.assertProcNotFailed(procExec, procId);<a name="line.130"></a>
-<span class="sourceLineNo">131</span><a name="line.131"></a>
-<span class="sourceLineNo">132</span>    assertTrue("not able to split table", UTIL.getHBaseCluster().getRegions(tableName).size() == 2);<a name="line.132"></a>
-<span class="sourceLineNo">133</span><a name="line.133"></a>
-<span class="sourceLineNo">134</span>    //disable table<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    UTIL.getAdmin().disableTable(tableName);<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    Thread.sleep(500);<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>    //stop master<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    UTIL.getHBaseCluster().stopMaster(0);<a name="line.139"></a>
-<span class="sourceLineNo">140</span>    UTIL.getHBaseCluster().waitOnMaster(0);<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    Thread.sleep(500);<a name="line.141"></a>
-<span class="sourceLineNo">142</span><a name="line.142"></a>
-<span class="sourceLineNo">143</span>    //restart master<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    JVMClusterUtil.MasterThread t = UTIL.getHBaseCluster().startMaster();<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    Thread.sleep(500);<a name="line.145"></a>
-<span class="sourceLineNo">146</span><a name="line.146"></a>
-<span class="sourceLineNo">147</span>    UTIL.invalidateConnection();<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    // enable table<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    UTIL.getAdmin().enableTable(tableName);<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    Thread.sleep(500);<a name="line.150"></a>
-<span class="sourceLineNo">151</span><a name="line.151"></a>
-<span class="sourceLineNo">152</span>    List&lt;HRegion&gt; tableRegions = UTIL.getHBaseCluster().getRegions(tableName);<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    assertEquals("Table region not correct.", 2, tableRegions.size());<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    Map&lt;RegionInfo, ServerName&gt; regionInfoMap = UTIL.getHBaseCluster().getMaster()<a name="line.154"></a>
-<span class="sourceLineNo">155</span>      .getAssignmentManager().getRegionStates().getRegionAssignments();<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    assertEquals(regionInfoMap.get(tableRegions.get(0).getRegionInfo()),<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      regionInfoMap.get(tableRegions.get(1).getRegionInfo()));<a name="line.157"></a>
-<span class="sourceLineNo">158</span>  }<a name="line.158"></a>
-<span class="sourceLineNo">159</span><a name="line.159"></a>
-<span class="sourceLineNo">160</span>  private ProcedureExecutor&lt;MasterProcedureEnv&gt; getMasterProcedureExecutor() {<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    return UTIL.getHBaseCluster().getMaster().getMasterProcedureExecutor();<a name="line.161"></a>
-<span class="sourceLineNo">162</span>  }<a name="line.162"></a>
-<span class="sourceLineNo">163</span>}<a name="line.163"></a>
+<span class="sourceLineNo">125</span>    assertTrue("not able to find a splittable region", regions != null);<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    assertTrue("not able to find a splittable region", regions.length == 1);<a name="line.126"></a>
+<span class="sourceLineNo">127</span><a name="line.127"></a>
+<span class="sourceLineNo">128</span>    // Split region of the table<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    long procId = procExec.submitProcedure(<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      new SplitTableRegionProcedure(procExec.getEnvironment(), regions[0], splitKey));<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    // Wait the completion<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    ProcedureTestingUtility.waitProcedure(procExec, procId);<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    ProcedureTestingUtility.assertProcNotFailed(procExec, procId);<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span>    assertTrue("not able to split table", UTIL.getHBaseCluster().getRegions(tableName).size() == 2);<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>    //disable table<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    UTIL.getAdmin().disableTable(tableName);<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    Thread.sleep(500);<a name="line.139"></a>
+<span class="sourceLineNo">140</span><a name="line.140"></a>
+<span class="sourceLineNo">141</span>    //stop master<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    UTIL.getHBaseCluster().stopMaster(0);<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    UTIL.getHBaseCluster().waitOnMaster(0);<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    Thread.sleep(500);<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>    //restart master<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    JVMClusterUtil.MasterThread t = UTIL.getHBaseCluster().startMaster();<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    Thread.sleep(500);<a name="line.148"></a>
+<span class="sourceLineNo">149</span><a name="line.149"></a>
+<span class="sourceLineNo">150</span>    UTIL.invalidateConnection();<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    // enable table<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    UTIL.getAdmin().enableTable(tableName);<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    Thread.sleep(500);<a name="line.153"></a>
+<span class="sourceLineNo">154</span><a name="line.154"></a>
+<span class="sourceLineNo">155</span>    List&lt;HRegion&gt; tableRegions = UTIL.getHBaseCluster().getRegions(tableName);<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    assertEquals("Table region not correct.", 2, tableRegions.size());<a name="line.156"></a>
+<span class="sourceLineNo">157</span>    Map&lt;RegionInfo, ServerName&gt; regionInfoMap = UTIL.getHBaseCluster().getMaster()<a name="line.157"></a>
+<span class="sourceLineNo">158</span>      .getAssignmentManager().getRegionStates().getRegionAssignments();<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    assertEquals(regionInfoMap.get(tableRegions.get(0).getRegionInfo()),<a name="line.159"></a>
+<span class="sourceLineNo">160</span>      regionInfoMap.get(tableRegions.get(1).getRegionInfo()));<a name="line.160"></a>
+<span class="sourceLineNo">161</span>  }<a name="line.161"></a>
+<span class="sourceLineNo">162</span><a name="line.162"></a>
+<span class="sourceLineNo">163</span>  @Test<a name="line.163"></a>
+<span class="sourceLineNo">164</span>  public void testSplitStoreFiles() throws Exception {<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    final TableName tableName = TableName.valueOf(name.getMethodName());<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    final ProcedureExecutor&lt;MasterProcedureEnv&gt; procExec = getMasterProcedureExecutor();<a name="line.166"></a>
+<span class="sourceLineNo">167</span><a name="line.167"></a>
+<span class="sourceLineNo">168</span>    RegionInfo[] regions = MasterProcedureTestingUtility.createTable(procExec, tableName,<a name="line.168"></a>
+<span class="sourceLineNo">169</span>      null, columnFamilyName);<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    // flush the memstore<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    insertData(UTIL, tableName, rowCount, startRowNum, true, columnFamilyName);<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span>    // assert the hfile count of the table<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    int storeFilesCountSum = 0;<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    for(HRegion region : UTIL.getHBaseCluster().getRegions(tableName)){<a name="line.175"></a>
+<span class="sourceLineNo">176</span>      storeFilesCountSum += region.getStore(Bytes.toBytes(columnFamilyName)).getStorefiles().size();<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    }<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    assertEquals(1, storeFilesCountSum);<a name="line.178"></a>
+<span class="sourceLineNo">179</span><a name="line.179"></a>
+<span class="sourceLineNo">180</span>    // split at the start row<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    byte[] splitKey = Bytes.toBytes("" + startRowNum);<a name="line.181"></a>
+<span class="sourceLineNo">182</span><a name="line.182"></a>
+<span class="sourceLineNo">183</span>    assertNotNull("Not able to find a splittable region", regions);<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    assertEquals("Not able to find a splittable region", 1, regions.length);<a name="line.184"></a>
+<span class="sourceLineNo">185</span><a name="line.185"></a>
+<span class="sourceLineNo">186</span>    // Split region of the table<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    long procId = procExec.submitProcedure(<a name="line.187"></a>
+<span class="sourceLineNo">188</span>      new SplitTableRegionProcedure(procExec.getEnvironment(), regions[0], splitKey));<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    // Wait the completion<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    ProcedureTestingUtility.waitProcedure(procExec, procId);<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    ProcedureTestingUtility.assertProcNotFailed(procExec, procId);<a name="line.191"></a>
+<span class="sourceLineNo">192</span><a name="line.192"></a>
+<span class="sourceLineNo">193</span>    assertEquals("Not able to split table",<a name="line.193"></a>
+<span class="sourceLineNo">194</span>      2, UTIL.getHBaseCluster().getRegions(tableName).size());<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span>    // assert sum of the hfiles of all regions<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    int childStoreFilesSum = 0;<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    for(HRegion region : UTIL.getHBaseCluster().getRegions(tableName)){<a name="line.198"></a>
+<span class="sourceLineNo">199</span>      childStoreFilesSum += region.getStore(Bytes.toBytes(columnFamilyName)).getStorefiles().size();<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    }<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    assertEquals(1, childStoreFilesSum);<a name="line.201"></a>
+<span class="sourceLineNo">202</span><a name="line.202"></a>
+<span class="sourceLineNo">203</span>    List&lt;HRegion&gt; tableRegions = UTIL.getHBaseCluster().getRegions(tableName);<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    assertEquals("Table region not correct.", 2, tableRegions.size());<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    Map&lt;RegionInfo, ServerName&gt; regionInfoMap = UTIL.getHBaseCluster().getMaster()<a name="line.205"></a>
+<span class="sourceLineNo">206</span>      .getAssignmentManager().getRegionStates().getRegionAssignments();<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    assertEquals(regionInfoMap.get(tableRegions.get(0).getRegionInfo()),<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      regionInfoMap.get(tableRegions.get(1).getRegionInfo()));<a name="line.208"></a>
+<span class="sourceLineNo">209</span>  }<a name="line.209"></a>
+<span class="sourceLineNo">210</span><a name="line.210"></a>
+<span class="sourceLineNo">211</span>  private ProcedureExecutor&lt;MasterProcedureEnv&gt; getMasterProcedureExecutor() {<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    return UTIL.getHBaseCluster().getMaster().getMasterProcedureExecutor();<a name="line.212"></a>
+<span class="sourceLineNo">213</span>  }<a name="line.213"></a>
+<span class="sourceLineNo">214</span>}<a name="line.214"></a>