hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [09/21] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd.
Date Sat, 01 Jul 2017 23:44:02 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/640333c3/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html b/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html
index c7e322a..950656a 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public static class <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.468">SnapshotTestingUtils.SnapshotMock</a>
+<pre>public static class <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.472">SnapshotTestingUtils.SnapshotMock</a>
 extends <a href="http://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>
@@ -290,7 +290,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>TEST_FAMILY</h4>
-<pre>protected static final&nbsp;<a href="http://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/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.469">TEST_FAMILY</a></pre>
+<pre>protected static final&nbsp;<a href="http://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/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.473">TEST_FAMILY</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils.SnapshotMock.TEST_FAMILY">Constant Field Values</a></dd>
@@ -303,7 +303,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>TEST_NUM_REGIONS</h4>
-<pre>public static final&nbsp;int <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.470">TEST_NUM_REGIONS</a></pre>
+<pre>public static final&nbsp;int <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.474">TEST_NUM_REGIONS</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils.SnapshotMock.TEST_NUM_REGIONS">Constant Field Values</a></dd>
@@ -316,7 +316,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>conf</h4>
-<pre>private final&nbsp;org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.472">conf</a></pre>
+<pre>private final&nbsp;org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.476">conf</a></pre>
 </li>
 </ul>
 <a name="fs">
@@ -325,7 +325,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>fs</h4>
-<pre>private final&nbsp;org.apache.hadoop.fs.FileSystem <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.473">fs</a></pre>
+<pre>private final&nbsp;org.apache.hadoop.fs.FileSystem <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.477">fs</a></pre>
 </li>
 </ul>
 <a name="rootDir">
@@ -334,7 +334,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>rootDir</h4>
-<pre>private final&nbsp;org.apache.hadoop.fs.Path <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.474">rootDir</a></pre>
+<pre>private final&nbsp;org.apache.hadoop.fs.Path <a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.478">rootDir</a></pre>
 </li>
 </ul>
 </li>
@@ -351,7 +351,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>SnapshotMock</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.646">SnapshotMock</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.650">SnapshotMock</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
                     org.apache.hadoop.fs.FileSystem&nbsp;fs,
                     org.apache.hadoop.fs.Path&nbsp;rootDir)</pre>
 </li>
@@ -370,7 +370,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createSnapshotV1</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.652">createSnapshotV1</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
+<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.656">createSnapshotV1</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
                                                                           <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)
                                                                    throws <a href="http://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>
@@ -385,7 +385,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createSnapshotV1</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.657">createSnapshotV1</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
+<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.661">createSnapshotV1</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
                                                                           <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
                                                                           int&nbsp;numRegions)
                                                                    throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -401,7 +401,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createSnapshotV2</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.662">createSnapshotV2</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
+<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.666">createSnapshotV2</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
                                                                           <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)
                                                                    throws <a href="http://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>
@@ -416,7 +416,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createSnapshotV2</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.667">createSnapshotV2</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
+<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.671">createSnapshotV2</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
                                                                           <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
                                                                           int&nbsp;numRegions)
                                                                    throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -432,7 +432,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createSnapshot</h4>
-<pre>private&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.672">createSnapshot</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
+<pre>private&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.676">createSnapshot</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
                                                                          <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
                                                                          int&nbsp;version)
                                                                   throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -448,7 +448,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createSnapshot</h4>
-<pre>private&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.677">createSnapshot</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
+<pre>private&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.SnapshotBuilder.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.SnapshotBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.681">createSnapshot</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName,
                                                                          <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
                                                                          int&nbsp;numRegions,
                                                                          int&nbsp;version)
@@ -465,7 +465,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createHtd</h4>
-<pre>public&nbsp;org.apache.hadoop.hbase.HTableDescriptor&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.693">createHtd</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</pre>
+<pre>public&nbsp;org.apache.hadoop.hbase.HTableDescriptor&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.697">createHtd</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</pre>
 </li>
 </ul>
 <a name="createTable-org.apache.hadoop.hbase.HTableDescriptor-int-">
@@ -474,7 +474,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createTable</h4>
-<pre>private&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.RegionData.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.RegionData</a>[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.699">createTable</a>(org.apache.hadoop.hbase.HTableDescriptor&nbsp;htd,
+<pre>private&nbsp;<a href="../../../../../org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.RegionData.html" title="class in org.apache.hadoop.hbase.snapshot">SnapshotTestingUtils.SnapshotMock.RegionData</a>[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.703">createTable</a>(org.apache.hadoop.hbase.HTableDescriptor&nbsp;htd,
                                                                    int&nbsp;nregions)
                                                             throws <a href="http://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>
@@ -489,7 +489,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>createStoreFile</h4>
-<pre>private&nbsp;org.apache.hadoop.fs.Path&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.735">createStoreFile</a>(org.apache.hadoop.fs.Path&nbsp;storeFile)
+<pre>private&nbsp;org.apache.hadoop.fs.Path&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.SnapshotMock.html#line.739">createStoreFile</a>(org.apache.hadoop.fs.Path&nbsp;storeFile)
                                            throws <a href="http://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>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/640333c3/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html b/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html
index d0583b2..36e57e3 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html
@@ -826,7 +826,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>corruptSnapshot</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.433">corruptSnapshot</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.437">corruptSnapshot</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                                         <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;snapshotName)
                                  throws <a href="http://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">Corrupt the specified snapshot by deleting some files.</div>
@@ -847,7 +847,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>waitForTableToBeOnline</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.750">waitForTableToBeOnline</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.754">waitForTableToBeOnline</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                                           org.apache.hadoop.hbase.TableName&nbsp;tableName)
                                    throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                                           <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
@@ -864,7 +864,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createTable</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.762">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.766">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                                org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                int&nbsp;regionReplication,
                                int&nbsp;nRegions,
@@ -884,7 +884,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>getSplitKeys</h4>
-<pre>public static&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.777">getSplitKeys</a>()</pre>
+<pre>public static&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.781">getSplitKeys</a>()</pre>
 </li>
 </ul>
 <a name="getSplitKeys-int-">
@@ -893,7 +893,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>getSplitKeys</h4>
-<pre>public static&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.781">getSplitKeys</a>(int&nbsp;nRegions)</pre>
+<pre>public static&nbsp;byte[][]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.785">getSplitKeys</a>(int&nbsp;nRegions)</pre>
 </li>
 </ul>
 <a name="createTable-org.apache.hadoop.hbase.HBaseTestingUtility-org.apache.hadoop.hbase.TableName-byte:A...-">
@@ -902,7 +902,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createTable</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.793">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.797">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                                org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                byte[]...&nbsp;families)
                         throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
@@ -920,7 +920,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createTable</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.798">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.802">createTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                                org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                int&nbsp;regionReplication,
                                byte[]...&nbsp;families)
@@ -939,7 +939,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createPreSplitTable</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.803">createPreSplitTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.807">createPreSplitTable</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                                        org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                        int&nbsp;nRegions,
                                        byte[]...&nbsp;families)
@@ -958,7 +958,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>loadData</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.808">loadData</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.812">loadData</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                             org.apache.hadoop.hbase.TableName&nbsp;tableName,
                             int&nbsp;rows,
                             byte[]...&nbsp;families)
@@ -977,7 +977,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>loadData</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.814">loadData</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.818">loadData</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                             org.apache.hadoop.hbase.client.BufferedMutator&nbsp;mutator,
                             int&nbsp;rows,
                             byte[]...&nbsp;families)
@@ -996,7 +996,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createPut</h4>
-<pre>private static&nbsp;org.apache.hadoop.hbase.client.Put&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.843">createPut</a>(byte[][]&nbsp;families,
+<pre>private static&nbsp;org.apache.hadoop.hbase.client.Put&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.847">createPut</a>(byte[][]&nbsp;families,
                                                             byte[]&nbsp;key,
                                                             byte[]&nbsp;value)</pre>
 </li>
@@ -1007,7 +1007,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>deleteAllSnapshots</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.853">deleteAllSnapshots</a>(org.apache.hadoop.hbase.client.Admin&nbsp;admin)
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.857">deleteAllSnapshots</a>(org.apache.hadoop.hbase.client.Admin&nbsp;admin)
                                throws <a href="http://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>
@@ -1021,7 +1021,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>deleteArchiveDirectory</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.862">deleteArchiveDirectory</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util)
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.866">deleteArchiveDirectory</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util)
                                    throws <a href="http://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>
@@ -1035,7 +1035,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>verifyRowCount</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.870">verifyRowCount</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.874">verifyRowCount</a>(<a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a>&nbsp;util,
                                   org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                   long&nbsp;expectedRows)
                            throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -1051,7 +1051,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>verifyReplicasCameOnline</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.880">verifyReplicasCameOnline</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.html#line.884">verifyReplicasCameOnline</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                             org.apache.hadoop.hbase.client.Admin&nbsp;admin,
                                             int&nbsp;regionReplication)
                                      throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/640333c3/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
index 802b05a..7afb980 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
@@ -248,10 +248,10 @@
 <ul>
 <li type="circle">java.lang.<a href="http://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="http://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="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <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/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/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/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/IntegrationTestBigLinkedList.Verify.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Verify.Counts</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/640333c3/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
index af22306..8e1c1ad 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
@@ -140,9 +140,9 @@
 <ul>
 <li type="circle">java.lang.<a href="http://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="http://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="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/FaultyFSLog.FailureType.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">FaultyFSLog.FailureType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/IOTestProvider.AllowedOperations.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">IOTestProvider.AllowedOperations</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/TestWALSplit.Corruptions.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">TestWALSplit.Corruptions</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/IOTestProvider.AllowedOperations.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">IOTestProvider.AllowedOperations</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/FaultyFSLog.FailureType.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">FaultyFSLog.FailureType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/640333c3/testdevapidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatTestBase.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatTestBase.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatTestBase.html
index ee4d912..9e5b854 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatTestBase.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatTestBase.html
@@ -26,211 +26,217 @@
 <span class="sourceLineNo">018</span><a name="line.18"></a>
 <span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.mapreduce;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.hadoop.conf.Configuration;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.hadoop.fs.FileStatus;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import org.apache.hadoop.fs.FileSystem;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.hadoop.fs.Path;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.CategoryBasedTimeout;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.Cell;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.CellScanner;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.HBaseTestingUtility;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.TableName;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.client.Result;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.Table;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.io.HFileLink;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.io.ImmutableBytesWritable;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.master.snapshot.SnapshotManager;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.regionserver.StoreFileInfo;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.util.FSUtils;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.util.HFileArchiveUtil;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.junit.Assert;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.junit.Rule;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.junit.Test;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.junit.rules.TestRule;<a name="line.44"></a>
-<span class="sourceLineNo">045</span><a name="line.45"></a>
-<span class="sourceLineNo">046</span>import static org.junit.Assert.assertFalse;<a name="line.46"></a>
+<span class="sourceLineNo">021</span>import org.apache.commons.logging.Log;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import org.apache.commons.logging.LogFactory;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.hadoop.conf.Configuration;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.hadoop.fs.FileStatus;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.fs.FileSystem;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.fs.Path;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.CategoryBasedTimeout;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.Cell;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.CellScanner;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.HBaseTestingUtility;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.TableName;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.client.Result;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.client.Table;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.io.HFileLink;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.io.ImmutableBytesWritable;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.master.snapshot.SnapshotManager;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.regionserver.StoreFileInfo;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils;<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.FSUtils;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.util.HFileArchiveUtil;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.junit.Assert;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.junit.Rule;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.junit.Test;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.junit.rules.TestRule;<a name="line.46"></a>
 <span class="sourceLineNo">047</span><a name="line.47"></a>
-<span class="sourceLineNo">048</span>import java.io.IOException;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import java.util.Arrays;<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>public abstract class TableSnapshotInputFormatTestBase {<a name="line.51"></a>
-<span class="sourceLineNo">052</span>  @Rule public final TestRule timeout = CategoryBasedTimeout.builder().<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      withTimeout(this.getClass()).withLookingForStuckThread(true).build();<a name="line.53"></a>
-<span class="sourceLineNo">054</span>  protected final HBaseTestingUtility UTIL = new HBaseTestingUtility();<a name="line.54"></a>
-<span class="sourceLineNo">055</span>  protected static final int NUM_REGION_SERVERS = 2;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  protected static final byte[][] FAMILIES = {Bytes.toBytes("f1"), Bytes.toBytes("f2")};<a name="line.56"></a>
-<span class="sourceLineNo">057</span><a name="line.57"></a>
-<span class="sourceLineNo">058</span>  protected FileSystem fs;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>  protected Path rootDir;<a name="line.59"></a>
+<span class="sourceLineNo">048</span>import static org.junit.Assert.assertFalse;<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span>import java.io.IOException;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import java.util.Arrays;<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>public abstract class TableSnapshotInputFormatTestBase {<a name="line.53"></a>
+<span class="sourceLineNo">054</span>  private static final Log LOG = LogFactory.getLog(TableSnapshotInputFormatTestBase.class);<a name="line.54"></a>
+<span class="sourceLineNo">055</span>  @Rule public final TestRule timeout = CategoryBasedTimeout.builder().<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      withTimeout(this.getClass()).withLookingForStuckThread(true).build();<a name="line.56"></a>
+<span class="sourceLineNo">057</span>  protected final HBaseTestingUtility UTIL = new HBaseTestingUtility();<a name="line.57"></a>
+<span class="sourceLineNo">058</span>  protected static final int NUM_REGION_SERVERS = 2;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>  protected static final byte[][] FAMILIES = {Bytes.toBytes("f1"), Bytes.toBytes("f2")};<a name="line.59"></a>
 <span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span>  public void setupCluster() throws Exception {<a name="line.61"></a>
-<span class="sourceLineNo">062</span>    setupConf(UTIL.getConfiguration());<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    UTIL.startMiniCluster(NUM_REGION_SERVERS, true);<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    rootDir = UTIL.getHBaseCluster().getMaster().getMasterFileSystem().getRootDir();<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    fs = rootDir.getFileSystem(UTIL.getConfiguration());<a name="line.65"></a>
-<span class="sourceLineNo">066</span>  }<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span>  public void tearDownCluster() throws Exception {<a name="line.68"></a>
-<span class="sourceLineNo">069</span>    UTIL.shutdownMiniCluster();<a name="line.69"></a>
-<span class="sourceLineNo">070</span>  }<a name="line.70"></a>
-<span class="sourceLineNo">071</span><a name="line.71"></a>
-<span class="sourceLineNo">072</span>  private static void setupConf(Configuration conf) {<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    // Enable snapshot<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    conf.setBoolean(SnapshotManager.HBASE_SNAPSHOT_ENABLED, true);<a name="line.74"></a>
-<span class="sourceLineNo">075</span>  }<a name="line.75"></a>
-<span class="sourceLineNo">076</span><a name="line.76"></a>
-<span class="sourceLineNo">077</span>  protected abstract void testWithMockedMapReduce(HBaseTestingUtility util, String snapshotName,<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    int numRegions, int expectedNumSplits) throws Exception;<a name="line.78"></a>
+<span class="sourceLineNo">061</span>  protected FileSystem fs;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>  protected Path rootDir;<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>  public void setupCluster() throws Exception {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    setupConf(UTIL.getConfiguration());<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    UTIL.startMiniCluster(NUM_REGION_SERVERS, true);<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    rootDir = UTIL.getHBaseCluster().getMaster().getMasterFileSystem().getRootDir();<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    fs = rootDir.getFileSystem(UTIL.getConfiguration());<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  }<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span>  public void tearDownCluster() throws Exception {<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    UTIL.shutdownMiniCluster();<a name="line.72"></a>
+<span class="sourceLineNo">073</span>  }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>  private static void setupConf(Configuration conf) {<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    // Enable snapshot<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    conf.setBoolean(SnapshotManager.HBASE_SNAPSHOT_ENABLED, true);<a name="line.77"></a>
+<span class="sourceLineNo">078</span>  }<a name="line.78"></a>
 <span class="sourceLineNo">079</span><a name="line.79"></a>
-<span class="sourceLineNo">080</span>  protected abstract void testWithMapReduceImpl(HBaseTestingUtility util, TableName tableName,<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    String snapshotName, Path tableDir, int numRegions, int expectedNumSplits,<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    boolean shutdownCluster) throws Exception;<a name="line.82"></a>
-<span class="sourceLineNo">083</span><a name="line.83"></a>
-<span class="sourceLineNo">084</span>  protected abstract byte[] getStartRow();<a name="line.84"></a>
-<span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span>  protected abstract byte[] getEndRow();<a name="line.86"></a>
-<span class="sourceLineNo">087</span><a name="line.87"></a>
-<span class="sourceLineNo">088</span>  @Test<a name="line.88"></a>
-<span class="sourceLineNo">089</span>  public void testWithMockedMapReduceSingleRegion() throws Exception {<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    testWithMockedMapReduce(UTIL, "testWithMockedMapReduceSingleRegion", 1, 1);<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>  @Test<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  public void testWithMockedMapReduceMultiRegion() throws Exception {<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    testWithMockedMapReduce(UTIL, "testWithMockedMapReduceMultiRegion", 10, 8);<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  }<a name="line.96"></a>
-<span class="sourceLineNo">097</span><a name="line.97"></a>
-<span class="sourceLineNo">098</span>  @Test<a name="line.98"></a>
-<span class="sourceLineNo">099</span>  public void testWithMapReduceSingleRegion() throws Exception {<a name="line.99"></a>
-<span class="sourceLineNo">100</span>    testWithMapReduce(UTIL, "testWithMapReduceSingleRegion", 1, 1, 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>  @Test<a name="line.103"></a>
-<span class="sourceLineNo">104</span>  public void testWithMapReduceMultiRegion() throws Exception {<a name="line.104"></a>
-<span class="sourceLineNo">105</span>    testWithMapReduce(UTIL, "testWithMapReduceMultiRegion", 10, 8, false);<a name="line.105"></a>
-<span class="sourceLineNo">106</span>  }<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span>  @Test<a name="line.108"></a>
-<span class="sourceLineNo">109</span>  // run the MR job while HBase is offline<a name="line.109"></a>
-<span class="sourceLineNo">110</span>  public void testWithMapReduceAndOfflineHBaseMultiRegion() throws Exception {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    testWithMapReduce(UTIL, "testWithMapReduceAndOfflineHBaseMultiRegion", 10, 8, true);<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 that snapshot restore does not create back references in the HBase root dir.<a name="line.114"></a>
-<span class="sourceLineNo">115</span>  @Test<a name="line.115"></a>
-<span class="sourceLineNo">116</span>  public void testRestoreSnapshotDoesNotCreateBackRefLinks() throws Exception {<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    setupCluster();<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    TableName tableName = TableName.valueOf("testRestoreSnapshotDoesNotCreateBackRefLinks");<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    String snapshotName = "foo";<a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>    try {<a name="line.121"></a>
-<span class="sourceLineNo">122</span>      createTableAndSnapshot(UTIL, tableName, snapshotName, getStartRow(), getEndRow(), 1);<a name="line.122"></a>
+<span class="sourceLineNo">080</span>  protected abstract void testWithMockedMapReduce(HBaseTestingUtility util, String snapshotName,<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    int numRegions, int expectedNumSplits) throws Exception;<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span>  protected abstract void testWithMapReduceImpl(HBaseTestingUtility util, TableName tableName,<a name="line.83"></a>
+<span class="sourceLineNo">084</span>    String snapshotName, Path tableDir, int numRegions, int expectedNumSplits,<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    boolean shutdownCluster) throws Exception;<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>  protected abstract byte[] getStartRow();<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span>  protected abstract byte[] getEndRow();<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span>  @Test<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  public void testWithMockedMapReduceSingleRegion() throws Exception {<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    testWithMockedMapReduce(UTIL, "testWithMockedMapReduceSingleRegion", 1, 1);<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>  @Test<a name="line.96"></a>
+<span class="sourceLineNo">097</span>  public void testWithMockedMapReduceMultiRegion() throws Exception {<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    testWithMockedMapReduce(UTIL, "testWithMockedMapReduceMultiRegion", 10, 8);<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  }<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  @Test<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  public void testWithMapReduceSingleRegion() throws Exception {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    testWithMapReduce(UTIL, "testWithMapReduceSingleRegion", 1, 1, 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>  @Test<a name="line.106"></a>
+<span class="sourceLineNo">107</span>  public void testWithMapReduceMultiRegion() throws Exception {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    testWithMapReduce(UTIL, "testWithMapReduceMultiRegion", 10, 8, false);<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>  // run the MR job while HBase is offline<a name="line.112"></a>
+<span class="sourceLineNo">113</span>  public void testWithMapReduceAndOfflineHBaseMultiRegion() throws Exception {<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    testWithMapReduce(UTIL, "testWithMapReduceAndOfflineHBaseMultiRegion", 10, 8, true);<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  }<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span>  // Test that snapshot restore does not create back references in the HBase root dir.<a name="line.117"></a>
+<span class="sourceLineNo">118</span>  @Test<a name="line.118"></a>
+<span class="sourceLineNo">119</span>  public void testRestoreSnapshotDoesNotCreateBackRefLinks() throws Exception {<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    setupCluster();<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    TableName tableName = TableName.valueOf("testRestoreSnapshotDoesNotCreateBackRefLinks");<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    String snapshotName = "foo";<a name="line.122"></a>
 <span class="sourceLineNo">123</span><a name="line.123"></a>
-<span class="sourceLineNo">124</span>      Path tmpTableDir = UTIL.getDataTestDirOnTestFS(snapshotName);<a name="line.124"></a>
-<span class="sourceLineNo">125</span><a name="line.125"></a>
-<span class="sourceLineNo">126</span>      testRestoreSnapshotDoesNotCreateBackRefLinksInit(tableName, snapshotName,tmpTableDir);<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span>      Path rootDir = FSUtils.getRootDir(UTIL.getConfiguration());<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      for (Path regionDir : FSUtils.getRegionDirs(fs, FSUtils.getTableDir(rootDir, tableName))) {<a name="line.129"></a>
-<span class="sourceLineNo">130</span>        for (Path storeDir : FSUtils.getFamilyDirs(fs, regionDir)) {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>          for (FileStatus status : fs.listStatus(storeDir)) {<a name="line.131"></a>
-<span class="sourceLineNo">132</span>            System.out.println(status.getPath());<a name="line.132"></a>
-<span class="sourceLineNo">133</span>            if (StoreFileInfo.isValid(status)) {<a name="line.133"></a>
-<span class="sourceLineNo">134</span>              Path archiveStoreDir = HFileArchiveUtil.getStoreArchivePath(UTIL.getConfiguration(),<a name="line.134"></a>
-<span class="sourceLineNo">135</span>                tableName, regionDir.getName(), storeDir.getName());<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span>              Path path = HFileLink.getBackReferencesDir(storeDir, status.getPath().getName());<a name="line.137"></a>
-<span class="sourceLineNo">138</span>              // assert back references directory is empty<a name="line.138"></a>
-<span class="sourceLineNo">139</span>              assertFalse("There is a back reference in " + path, fs.exists(path));<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>              path = HFileLink.getBackReferencesDir(archiveStoreDir, status.getPath().getName());<a name="line.141"></a>
-<span class="sourceLineNo">142</span>              // assert back references directory is empty<a name="line.142"></a>
-<span class="sourceLineNo">143</span>              assertFalse("There is a back reference in " + path, fs.exists(path));<a name="line.143"></a>
-<span class="sourceLineNo">144</span>            }<a name="line.144"></a>
-<span class="sourceLineNo">145</span>          }<a name="line.145"></a>
-<span class="sourceLineNo">146</span>        }<a name="line.146"></a>
-<span class="sourceLineNo">147</span>      }<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    } finally {<a name="line.148"></a>
-<span class="sourceLineNo">149</span>      UTIL.getAdmin().deleteSnapshot(snapshotName);<a name="line.149"></a>
-<span class="sourceLineNo">150</span>      UTIL.deleteTable(tableName);<a name="line.150"></a>
-<span class="sourceLineNo">151</span>      tearDownCluster();<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    }<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  }<a name="line.153"></a>
-<span class="sourceLineNo">154</span><a name="line.154"></a>
-<span class="sourceLineNo">155</span>  public abstract void testRestoreSnapshotDoesNotCreateBackRefLinksInit(TableName tableName,<a name="line.155"></a>
-<span class="sourceLineNo">156</span>      String snapshotName, Path tmpTableDir) throws Exception;<a name="line.156"></a>
+<span class="sourceLineNo">124</span>    try {<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      createTableAndSnapshot(UTIL, tableName, snapshotName, getStartRow(), getEndRow(), 1);<a name="line.125"></a>
+<span class="sourceLineNo">126</span><a name="line.126"></a>
+<span class="sourceLineNo">127</span>      Path tmpTableDir = UTIL.getDataTestDirOnTestFS(snapshotName);<a name="line.127"></a>
+<span class="sourceLineNo">128</span><a name="line.128"></a>
+<span class="sourceLineNo">129</span>      testRestoreSnapshotDoesNotCreateBackRefLinksInit(tableName, snapshotName,tmpTableDir);<a name="line.129"></a>
+<span class="sourceLineNo">130</span><a name="line.130"></a>
+<span class="sourceLineNo">131</span>      Path rootDir = FSUtils.getRootDir(UTIL.getConfiguration());<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      for (Path regionDir : FSUtils.getRegionDirs(fs, FSUtils.getTableDir(rootDir, tableName))) {<a name="line.132"></a>
+<span class="sourceLineNo">133</span>        for (Path storeDir : FSUtils.getFamilyDirs(fs, regionDir)) {<a name="line.133"></a>
+<span class="sourceLineNo">134</span>          for (FileStatus status : fs.listStatus(storeDir)) {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>            System.out.println(status.getPath());<a name="line.135"></a>
+<span class="sourceLineNo">136</span>            if (StoreFileInfo.isValid(status)) {<a name="line.136"></a>
+<span class="sourceLineNo">137</span>              Path archiveStoreDir = HFileArchiveUtil.getStoreArchivePath(UTIL.getConfiguration(),<a name="line.137"></a>
+<span class="sourceLineNo">138</span>                tableName, regionDir.getName(), storeDir.getName());<a name="line.138"></a>
+<span class="sourceLineNo">139</span><a name="line.139"></a>
+<span class="sourceLineNo">140</span>              Path path = HFileLink.getBackReferencesDir(storeDir, status.getPath().getName());<a name="line.140"></a>
+<span class="sourceLineNo">141</span>              // assert back references directory is empty<a name="line.141"></a>
+<span class="sourceLineNo">142</span>              assertFalse("There is a back reference in " + path, fs.exists(path));<a name="line.142"></a>
+<span class="sourceLineNo">143</span><a name="line.143"></a>
+<span class="sourceLineNo">144</span>              path = HFileLink.getBackReferencesDir(archiveStoreDir, status.getPath().getName());<a name="line.144"></a>
+<span class="sourceLineNo">145</span>              // assert back references directory is empty<a name="line.145"></a>
+<span class="sourceLineNo">146</span>              assertFalse("There is a back reference in " + path, fs.exists(path));<a name="line.146"></a>
+<span class="sourceLineNo">147</span>            }<a name="line.147"></a>
+<span class="sourceLineNo">148</span>          }<a name="line.148"></a>
+<span class="sourceLineNo">149</span>        }<a name="line.149"></a>
+<span class="sourceLineNo">150</span>      }<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    } finally {<a name="line.151"></a>
+<span class="sourceLineNo">152</span>      UTIL.getAdmin().deleteSnapshot(snapshotName);<a name="line.152"></a>
+<span class="sourceLineNo">153</span>      UTIL.deleteTable(tableName);<a name="line.153"></a>
+<span class="sourceLineNo">154</span>      tearDownCluster();<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    }<a name="line.155"></a>
+<span class="sourceLineNo">156</span>  }<a name="line.156"></a>
 <span class="sourceLineNo">157</span><a name="line.157"></a>
-<span class="sourceLineNo">158</span>  protected void testWithMapReduce(HBaseTestingUtility util, String snapshotName,<a name="line.158"></a>
-<span class="sourceLineNo">159</span>      int numRegions, int expectedNumSplits, boolean shutdownCluster) throws Exception {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>    setupCluster();<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    try {<a name="line.161"></a>
-<span class="sourceLineNo">162</span>      Path tableDir = util.getDataTestDirOnTestFS(snapshotName);<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      TableName tableName = TableName.valueOf("testWithMapReduce");<a name="line.163"></a>
-<span class="sourceLineNo">164</span>      testWithMapReduceImpl(util, tableName, snapshotName, tableDir, numRegions,<a name="line.164"></a>
-<span class="sourceLineNo">165</span>        expectedNumSplits, shutdownCluster);<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    } finally {<a name="line.166"></a>
-<span class="sourceLineNo">167</span>      tearDownCluster();<a name="line.167"></a>
-<span class="sourceLineNo">168</span>    }<a name="line.168"></a>
-<span class="sourceLineNo">169</span>  }<a name="line.169"></a>
-<span class="sourceLineNo">170</span><a name="line.170"></a>
-<span class="sourceLineNo">171</span>  protected static void verifyRowFromMap(ImmutableBytesWritable key, Result result)<a name="line.171"></a>
-<span class="sourceLineNo">172</span>    throws IOException {<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    byte[] row = key.get();<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    CellScanner scanner = result.cellScanner();<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    while (scanner.advance()) {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>      Cell cell = scanner.current();<a name="line.176"></a>
-<span class="sourceLineNo">177</span><a name="line.177"></a>
-<span class="sourceLineNo">178</span>      //assert that all Cells in the Result have the same key<a name="line.178"></a>
-<span class="sourceLineNo">179</span>      Assert.assertEquals(0, Bytes.compareTo(row, 0, row.length,<a name="line.179"></a>
-<span class="sourceLineNo">180</span>        cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()));<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    }<a name="line.181"></a>
-<span class="sourceLineNo">182</span><a name="line.182"></a>
-<span class="sourceLineNo">183</span>    for (int j = 0; j &lt; FAMILIES.length; j++) {<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      byte[] actual = result.getValue(FAMILIES[j], FAMILIES[j]);<a name="line.184"></a>
-<span class="sourceLineNo">185</span>      Assert.assertArrayEquals("Row in snapshot does not match, expected:" + Bytes.toString(row)<a name="line.185"></a>
-<span class="sourceLineNo">186</span>        + " ,actual:" + Bytes.toString(actual), row, actual);<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>
-<span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span>  protected static void createTableAndSnapshot(HBaseTestingUtility util, TableName tableName,<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    String snapshotName, byte[] startRow, byte[] endRow, int numRegions)<a name="line.191"></a>
-<span class="sourceLineNo">192</span>    throws Exception {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    try {<a name="line.193"></a>
-<span class="sourceLineNo">194</span>      util.deleteTable(tableName);<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    } catch(Exception ex) {<a name="line.195"></a>
-<span class="sourceLineNo">196</span>      // ignore<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    }<a name="line.197"></a>
-<span class="sourceLineNo">198</span><a name="line.198"></a>
-<span class="sourceLineNo">199</span>    if (numRegions &gt; 1) {<a name="line.199"></a>
-<span class="sourceLineNo">200</span>      util.createTable(tableName, FAMILIES, 1, startRow, endRow, numRegions);<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    } else {<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      util.createTable(tableName, FAMILIES);<a name="line.202"></a>
-<span class="sourceLineNo">203</span>    }<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    Admin admin = util.getAdmin();<a name="line.204"></a>
-<span class="sourceLineNo">205</span><a name="line.205"></a>
-<span class="sourceLineNo">206</span>    // put some stuff in the table<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    Table table = util.getConnection().getTable(tableName);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    util.loadTable(table, FAMILIES);<a name="line.208"></a>
-<span class="sourceLineNo">209</span><a name="line.209"></a>
-<span class="sourceLineNo">210</span>    Path rootDir = FSUtils.getRootDir(util.getConfiguration());<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    FileSystem fs = rootDir.getFileSystem(util.getConfiguration());<a name="line.211"></a>
-<span class="sourceLineNo">212</span><a name="line.212"></a>
-<span class="sourceLineNo">213</span>    SnapshotTestingUtils.createSnapshotAndValidate(admin, tableName,<a name="line.213"></a>
-<span class="sourceLineNo">214</span>      Arrays.asList(FAMILIES), null, snapshotName, rootDir, fs, true);<a name="line.214"></a>
-<span class="sourceLineNo">215</span><a name="line.215"></a>
-<span class="sourceLineNo">216</span>    // load different values<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    byte[] value = Bytes.toBytes("after_snapshot_value");<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    util.loadTable(table, FAMILIES, value);<a name="line.218"></a>
-<span class="sourceLineNo">219</span><a name="line.219"></a>
-<span class="sourceLineNo">220</span>    // cause flush to create new files in the region<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    admin.flush(tableName);<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    table.close();<a name="line.222"></a>
-<span class="sourceLineNo">223</span>  }<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>}<a name="line.225"></a>
+<span class="sourceLineNo">158</span>  public abstract void testRestoreSnapshotDoesNotCreateBackRefLinksInit(TableName tableName,<a name="line.158"></a>
+<span class="sourceLineNo">159</span>      String snapshotName, Path tmpTableDir) throws Exception;<a name="line.159"></a>
+<span class="sourceLineNo">160</span><a name="line.160"></a>
+<span class="sourceLineNo">161</span>  protected void testWithMapReduce(HBaseTestingUtility util, String snapshotName,<a name="line.161"></a>
+<span class="sourceLineNo">162</span>      int numRegions, int expectedNumSplits, boolean shutdownCluster) throws Exception {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    setupCluster();<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    try {<a name="line.164"></a>
+<span class="sourceLineNo">165</span>      Path tableDir = util.getDataTestDirOnTestFS(snapshotName);<a name="line.165"></a>
+<span class="sourceLineNo">166</span>      TableName tableName = TableName.valueOf("testWithMapReduce");<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      testWithMapReduceImpl(util, tableName, snapshotName, tableDir, numRegions,<a name="line.167"></a>
+<span class="sourceLineNo">168</span>        expectedNumSplits, shutdownCluster);<a name="line.168"></a>
+<span class="sourceLineNo">169</span>    } finally {<a name="line.169"></a>
+<span class="sourceLineNo">170</span>      tearDownCluster();<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    }<a name="line.171"></a>
+<span class="sourceLineNo">172</span>  }<a name="line.172"></a>
+<span class="sourceLineNo">173</span><a name="line.173"></a>
+<span class="sourceLineNo">174</span>  protected static void verifyRowFromMap(ImmutableBytesWritable key, Result result)<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    throws IOException {<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    byte[] row = key.get();<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    CellScanner scanner = result.cellScanner();<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    while (scanner.advance()) {<a name="line.178"></a>
+<span class="sourceLineNo">179</span>      Cell cell = scanner.current();<a name="line.179"></a>
+<span class="sourceLineNo">180</span><a name="line.180"></a>
+<span class="sourceLineNo">181</span>      //assert that all Cells in the Result have the same key<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      Assert.assertEquals(0, Bytes.compareTo(row, 0, row.length,<a name="line.182"></a>
+<span class="sourceLineNo">183</span>        cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()));<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    }<a name="line.184"></a>
+<span class="sourceLineNo">185</span><a name="line.185"></a>
+<span class="sourceLineNo">186</span>    for (int j = 0; j &lt; FAMILIES.length; j++) {<a name="line.186"></a>
+<span class="sourceLineNo">187</span>      byte[] actual = result.getValue(FAMILIES[j], FAMILIES[j]);<a name="line.187"></a>
+<span class="sourceLineNo">188</span>      Assert.assertArrayEquals("Row in snapshot does not match, expected:" + Bytes.toString(row)<a name="line.188"></a>
+<span class="sourceLineNo">189</span>        + " ,actual:" + Bytes.toString(actual), row, actual);<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    }<a name="line.190"></a>
+<span class="sourceLineNo">191</span>  }<a name="line.191"></a>
+<span class="sourceLineNo">192</span><a name="line.192"></a>
+<span class="sourceLineNo">193</span>  protected static void createTableAndSnapshot(HBaseTestingUtility util, TableName tableName,<a name="line.193"></a>
+<span class="sourceLineNo">194</span>    String snapshotName, byte[] startRow, byte[] endRow, int numRegions)<a name="line.194"></a>
+<span class="sourceLineNo">195</span>    throws Exception {<a name="line.195"></a>
+<span class="sourceLineNo">196</span>    try {<a name="line.196"></a>
+<span class="sourceLineNo">197</span>      LOG.debug("Ensuring table doesn't exist.");<a name="line.197"></a>
+<span class="sourceLineNo">198</span>      util.deleteTable(tableName);<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    } catch(Exception ex) {<a name="line.199"></a>
+<span class="sourceLineNo">200</span>      // ignore<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    }<a name="line.201"></a>
+<span class="sourceLineNo">202</span><a name="line.202"></a>
+<span class="sourceLineNo">203</span>    LOG.info("creating table '" + tableName + "'");<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    if (numRegions &gt; 1) {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>      util.createTable(tableName, FAMILIES, 1, startRow, endRow, numRegions);<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    } else {<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      util.createTable(tableName, FAMILIES);<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    }<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    Admin admin = util.getAdmin();<a name="line.209"></a>
+<span class="sourceLineNo">210</span><a name="line.210"></a>
+<span class="sourceLineNo">211</span>    LOG.info("put some stuff in the table");<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    Table table = util.getConnection().getTable(tableName);<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    util.loadTable(table, FAMILIES);<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span>    Path rootDir = FSUtils.getRootDir(util.getConfiguration());<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    FileSystem fs = rootDir.getFileSystem(util.getConfiguration());<a name="line.216"></a>
+<span class="sourceLineNo">217</span><a name="line.217"></a>
+<span class="sourceLineNo">218</span>    LOG.info("snapshot");<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    SnapshotTestingUtils.createSnapshotAndValidate(admin, tableName,<a name="line.219"></a>
+<span class="sourceLineNo">220</span>      Arrays.asList(FAMILIES), null, snapshotName, rootDir, fs, true);<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>    LOG.info("load different values");<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    byte[] value = Bytes.toBytes("after_snapshot_value");<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    util.loadTable(table, FAMILIES, value);<a name="line.224"></a>
+<span class="sourceLineNo">225</span><a name="line.225"></a>
+<span class="sourceLineNo">226</span>    LOG.info("cause flush to create new files in the region");<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    admin.flush(tableName);<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    table.close();<a name="line.228"></a>
+<span class="sourceLineNo">229</span>  }<a name="line.229"></a>
+<span class="sourceLineNo">230</span><a name="line.230"></a>
+<span class="sourceLineNo">231</span>}<a name="line.231"></a>
 
 
 


Mime
View raw message