Repository: hbase-site
Updated Branches:
  refs/heads/asf-site e24cce11e -> 99c53df15


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html
----------------------------------------------------------------------
diff --git 
a/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html
new file mode 100644
index 0000000..73ea2c4
--- /dev/null
+++ 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html
@@ -0,0 +1,470 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>TestRegionSnapshotTask (Apache HBase 3.0.0-SNAPSHOT Test API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="TestRegionSnapshotTask (Apache HBase 
3.0.0-SNAPSHOT Test API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":9,"i5":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";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TestRegionSnapshotTask.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestMobSecureExportSnapshot.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 target="_top">Frames</a></li>
+<li><a href="TestRegionSnapshotTask.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.hadoop.hbase.snapshot</div>
+<h2 title="Class TestRegionSnapshotTask" class="title">Class 
TestRegionSnapshotTask</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.hadoop.hbase.snapshot.TestRegionSnapshotTask</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.63">TestRegionSnapshotTask</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>
+<div class="block">Testing the region snapshot task on a cluster.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><code>FlushSnapshotSubprocedure.RegionSnapshotTask</code></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private static 
org.apache.hadoop.conf.Configuration</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#conf">conf</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private static 
org.apache.hadoop.fs.FileSystem</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#fs">fs</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private org.apache.commons.logging.Log</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#LOG">LOG</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private static org.apache.hadoop.fs.Path</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#rootDir">rootDir</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private static <a 
href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" 
title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#TEST_UTIL">TEST_UTIL</a></span></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#TestRegionSnapshotTask--">TestRegionSnapshotTask</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a 
href="javascript:show(1);">Static Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>private void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#addRegionToSnapshot-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-org.apache.hadoop.hbase.regionserver.HRegion-org.apache.hadoop.hbase.snapshot.SnapshotManifest-">addRegionToSnapshot</a></span>(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription&nbsp;snapshot,
+                   org.apache.hadoop.hbase.regionserver.HRegion&nbsp;region,
+                   
org.apache.hadoop.hbase.snapshot.SnapshotManifest&nbsp;manifest)</code>&nbsp;</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>private 
org.apache.hadoop.hbase.snapshot.SnapshotManifest.RegionVisitor</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#createRegionVisitorWithDelay-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-org.apache.hadoop.fs.Path-">createRegionVisitorWithDelay</a></span>(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription&nbsp;desc,
+                            
org.apache.hadoop.fs.Path&nbsp;workingDir)</code>&nbsp;</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#setupBeforeClass--">setupBeforeClass</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>private 
org.apache.hadoop.hbase.client.Table</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#setupTable-org.apache.hadoop.hbase.TableName-">setupTable</a></span>(org.apache.hadoop.hbase.TableName&nbsp;tableName)</code>&nbsp;</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#tearDown--">tearDown</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#testAddRegionWithCompactions--">testAddRegionWithCompactions</a></span>()</code>
+<div class="block">Tests adding a region to the snapshot manifest while 
compactions are running on the region.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<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></h3>
+<code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-";
 title="class or interface in java.lang">equals</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in 
java.lang">notifyAll</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--";
 title="class or interface in java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-";
 title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="LOG">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>LOG</h4>
+<pre>private final&nbsp;org.apache.commons.logging.Log <a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.64">LOG</a></pre>
+</li>
+</ul>
+<a name="TEST_UTIL">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>TEST_UTIL</h4>
+<pre>private static&nbsp;<a 
href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" 
title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a> <a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.66">TEST_UTIL</a></pre>
+</li>
+</ul>
+<a name="conf">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>conf</h4>
+<pre>private static&nbsp;org.apache.hadoop.conf.Configuration <a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.67">conf</a></pre>
+</li>
+</ul>
+<a name="fs">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>fs</h4>
+<pre>private static&nbsp;org.apache.hadoop.fs.FileSystem <a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.68">fs</a></pre>
+</li>
+</ul>
+<a name="rootDir">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>rootDir</h4>
+<pre>private static&nbsp;org.apache.hadoop.fs.Path <a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.69">rootDir</a></pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="TestRegionSnapshotTask--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>TestRegionSnapshotTask</h4>
+<pre>public&nbsp;<a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.63">TestRegionSnapshotTask</a>()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="setupBeforeClass--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setupBeforeClass</h4>
+<pre>public static&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.72">setupBeforeClass</a>()
+                             throws <a 
href="http://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="http://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="tearDown--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>tearDown</h4>
+<pre>public static&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.90">tearDown</a>()
+                     throws <a 
href="http://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="http://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="testAddRegionWithCompactions--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testAddRegionWithCompactions</h4>
+<pre>public&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.104">testAddRegionWithCompactions</a>()
+                                  throws <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></pre>
+<div class="block">Tests adding a region to the snapshot manifest while 
compactions are running on the region.
+ The idea is to slow down the process of adding a store file to the manifest 
while
+ triggering compactions on the region, allowing the store files to be marked 
for archival while
+ snapshot operation is running.
+ This test checks for the correct behavior in such a case that the compacted 
files should
+ not be moved around if a snapshot operation is in progress.
+ See HBASE-18398</div>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://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="addRegionToSnapshot-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-org.apache.hadoop.hbase.regionserver.HRegion-org.apache.hadoop.hbase.snapshot.SnapshotManifest-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addRegionToSnapshot</h4>
+<pre>private&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.160">addRegionToSnapshot</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription&nbsp;snapshot,
+                                 
org.apache.hadoop.hbase.regionserver.HRegion&nbsp;region,
+                                 
org.apache.hadoop.hbase.snapshot.SnapshotManifest&nbsp;manifest)
+                          throws <a 
href="http://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="http://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="createRegionVisitorWithDelay-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-org.apache.hadoop.fs.Path-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createRegionVisitorWithDelay</h4>
+<pre>private&nbsp;org.apache.hadoop.hbase.snapshot.SnapshotManifest.RegionVisitor&nbsp;<a
 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.169">createRegionVisitorWithDelay</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription&nbsp;desc,
+                                                                               
                      org.apache.hadoop.fs.Path&nbsp;workingDir)</pre>
+</li>
+</ul>
+<a name="setupTable-org.apache.hadoop.hbase.TableName-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>setupTable</h4>
+<pre>private&nbsp;org.apache.hadoop.hbase.client.Table&nbsp;<a 
href="../../../../../src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html#line.187">setupTable</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName)
+                                                 throws <a 
href="http://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="http://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>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TestRegionSnapshotTask.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestMobSecureExportSnapshot.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 target="_top">Frames</a></li>
+<li><a href="TestRegionSnapshotTask.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2017 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html
----------------------------------------------------------------------
diff --git 
a/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html
 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html
index 8024178..69c1326 100644
--- 
a/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html
+++ 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestMobSecureExportSnapshot.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRestoreSnapshotHelper.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
@@ -663,7 +663,7 @@ extends <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestMobSecureExportSnapshot.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRestoreSnapshotHelper.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/org/apache/hadoop/hbase/snapshot/class-use/TestRegionSnapshotTask.html
----------------------------------------------------------------------
diff --git 
a/testdevapidocs/org/apache/hadoop/hbase/snapshot/class-use/TestRegionSnapshotTask.html
 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/class-use/TestRegionSnapshotTask.html
new file mode 100644
index 0000000..9b074f5
--- /dev/null
+++ 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/class-use/TestRegionSnapshotTask.html
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Uses of Class org.apache.hadoop.hbase.snapshot.TestRegionSnapshotTask 
(Apache HBase 3.0.0-SNAPSHOT Test API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Uses of Class 
org.apache.hadoop.hbase.snapshot.TestRegionSnapshotTask (Apache HBase 
3.0.0-SNAPSHOT Test API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a 
href="../../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 title="class in org.apache.hadoop.hbase.snapshot">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../../../../../../overview-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../index.html?org/apache/hadoop/hbase/snapshot/class-use/TestRegionSnapshotTask.html"
 target="_top">Frames</a></li>
+<li><a href="TestRegionSnapshotTask.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a 
href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class 
org.apache.hadoop.hbase.snapshot.TestRegionSnapshotTask" class="title">Uses of 
Class<br>org.apache.hadoop.hbase.snapshot.TestRegionSnapshotTask</h2>
+</div>
+<div class="classUseContainer">No usage of 
org.apache.hadoop.hbase.snapshot.TestRegionSnapshotTask</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a 
href="../../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 title="class in org.apache.hadoop.hbase.snapshot">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../../../../../../overview-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../index.html?org/apache/hadoop/hbase/snapshot/class-use/TestRegionSnapshotTask.html"
 target="_top">Frames</a></li>
+<li><a href="TestRegionSnapshotTask.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a 
href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2017 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-frame.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-frame.html 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-frame.html
index bffc7ee..bb6f0c9 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-frame.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-frame.html
@@ -32,6 +32,7 @@
 <li><a href="TestMobRestoreFlushSnapshotFromClient.html" title="class in 
org.apache.hadoop.hbase.snapshot" 
target="classFrame">TestMobRestoreFlushSnapshotFromClient</a></li>
 <li><a href="TestMobRestoreSnapshotHelper.html" title="class in 
org.apache.hadoop.hbase.snapshot" 
target="classFrame">TestMobRestoreSnapshotHelper</a></li>
 <li><a href="TestMobSecureExportSnapshot.html" title="class in 
org.apache.hadoop.hbase.snapshot" 
target="classFrame">TestMobSecureExportSnapshot</a></li>
+<li><a href="TestRegionSnapshotTask.html" title="class in 
org.apache.hadoop.hbase.snapshot" 
target="classFrame">TestRegionSnapshotTask</a></li>
 <li><a href="TestRestoreFlushSnapshotFromClient.html" title="class in 
org.apache.hadoop.hbase.snapshot" 
target="classFrame">TestRestoreFlushSnapshotFromClient</a></li>
 <li><a href="TestRestoreSnapshotHelper.html" title="class in 
org.apache.hadoop.hbase.snapshot" 
target="classFrame">TestRestoreSnapshotHelper</a></li>
 <li><a href="TestSecureExportSnapshot.html" title="class in 
org.apache.hadoop.hbase.snapshot" 
target="classFrame">TestSecureExportSnapshot</a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-summary.html
----------------------------------------------------------------------
diff --git 
a/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-summary.html 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-summary.html
index 1ee4f78..7d817a4 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-summary.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-summary.html
@@ -180,6 +180,12 @@
 </td>
 </tr>
 <tr class="rowColor">
+<td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 title="class in 
org.apache.hadoop.hbase.snapshot">TestRegionSnapshotTask</a></td>
+<td class="colLast">
+<div class="block">Testing the region snapshot task on a cluster.</div>
+</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html"
 title="class in 
org.apache.hadoop.hbase.snapshot">TestRestoreFlushSnapshotFromClient</a></td>
 <td class="colLast">
 <div class="block">Test clone/restore snapshots from the client
@@ -187,33 +193,33 @@
  TODO This is essentially a clone of TestRestoreSnapshotFromClient.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRestoreSnapshotHelper.html"
 title="class in 
org.apache.hadoop.hbase.snapshot">TestRestoreSnapshotHelper</a></td>
 <td class="colLast">
 <div class="block">Test the restore/clone operation from a file-system point 
of view.</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestSecureExportSnapshot.html"
 title="class in 
org.apache.hadoop.hbase.snapshot">TestSecureExportSnapshot</a></td>
 <td class="colLast">
 <div class="block">Reruns TestExportSnapshot using ExportSnapshot in secure 
mode.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestSnapshotClientRetries.html"
 title="class in 
org.apache.hadoop.hbase.snapshot">TestSnapshotClientRetries</a></td>
 <td class="colLast">&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestSnapshotClientRetries.MasterSyncObserver.html"
 title="class in 
org.apache.hadoop.hbase.snapshot">TestSnapshotClientRetries.MasterSyncObserver</a></td>
 <td class="colLast">&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestSnapshotDescriptionUtils.html"
 title="class in 
org.apache.hadoop.hbase.snapshot">TestSnapshotDescriptionUtils</a></td>
 <td class="colLast">
 <div class="block">Test that the 
<code>SnapshotProtos.SnapshotDescription</code> helper is helping 
correctly.</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestSnapshotManifest.html"
 title="class in org.apache.hadoop.hbase.snapshot">TestSnapshotManifest</a></td>
 <td class="colLast">&nbsp;</td>
 </tr>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-tree.html 
b/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-tree.html
index 02152a9..9ab3810 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/snapshot/package-tree.html
@@ -107,6 +107,7 @@
 <li type="circle">org.apache.hadoop.hbase.snapshot.<a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestMobFlushSnapshotFromClient.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">TestMobFlushSnapshotFromClient</span></a></li>
 </ul>
 </li>
+<li type="circle">org.apache.hadoop.hbase.snapshot.<a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">TestRegionSnapshotTask</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.snapshot.<a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">TestRestoreFlushSnapshotFromClient</span></a>
 <ul>
 <li type="circle">org.apache.hadoop.hbase.snapshot.<a 
href="../../../../../org/apache/hadoop/hbase/snapshot/TestMobRestoreFlushSnapshotFromClient.html"
 title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">TestMobRestoreFlushSnapshotFromClient</span></a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/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 2573409..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/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/99c53df1/testdevapidocs/overview-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/overview-tree.html 
b/testdevapidocs/overview-tree.html
index 5c08b05..bb95615 100644
--- a/testdevapidocs/overview-tree.html
+++ b/testdevapidocs/overview-tree.html
@@ -2990,6 +2990,7 @@
 <li type="circle">org.apache.hadoop.hbase.quotas.<a 
href="org/apache/hadoop/hbase/quotas/TestRegionServerSpaceQuotaManager.html" 
title="class in org.apache.hadoop.hbase.quotas"><span 
class="typeNameLink">TestRegionServerSpaceQuotaManager</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a 
href="org/apache/hadoop/hbase/util/TestRegionSizeCalculator.html" title="class 
in org.apache.hadoop.hbase.util"><span 
class="typeNameLink">TestRegionSizeCalculator</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.quotas.<a 
href="org/apache/hadoop/hbase/quotas/TestRegionSizeUse.html" title="class in 
org.apache.hadoop.hbase.quotas"><span 
class="typeNameLink">TestRegionSizeUse</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.snapshot.<a 
href="org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html" 
title="class in org.apache.hadoop.hbase.snapshot"><span 
class="typeNameLink">TestRegionSnapshotTask</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a 
href="org/apache/hadoop/hbase/util/TestRegionSplitCalculator.html" title="class 
in org.apache.hadoop.hbase.util"><span 
class="typeNameLink">TestRegionSplitCalculator</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a 
href="org/apache/hadoop/hbase/util/TestRegionSplitCalculator.SimpleRange.html" 
title="class in org.apache.hadoop.hbase.util"><span 
class="typeNameLink">TestRegionSplitCalculator.SimpleRange</span></a> 
(implements org.apache.hadoop.hbase.util.KeyRange)</li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a 
href="org/apache/hadoop/hbase/regionserver/TestRegionSplitPolicy.html" 
title="class in org.apache.hadoop.hbase.regionserver"><span 
class="typeNameLink">TestRegionSplitPolicy</span></a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/src-html/org/apache/hadoop/hbase/master/TestMasterFailover.html
----------------------------------------------------------------------
diff --git 
a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/TestMasterFailover.html
 
b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/TestMasterFailover.html
index 6fccf45..16e4ca8 100644
--- 
a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/TestMasterFailover.html
+++ 
b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/TestMasterFailover.html
@@ -70,7 +70,7 @@
 <span class="sourceLineNo">062</span>import 
org.junit.experimental.categories.Category;<a name="line.62"></a>
 <span class="sourceLineNo">063</span><a name="line.63"></a>
 <span class="sourceLineNo">064</span>@Category({FlakeyTests.class, 
LargeTests.class})<a name="line.64"></a>
-<span class="sourceLineNo">065</span>//@Ignore // Needs to be rewritten for 
AMv2. Uses tricks not ordained when up on AMv2.<a name="line.65"></a>
+<span class="sourceLineNo">065</span>@Ignore // Needs to be rewritten for 
AMv2. Uses tricks not ordained when up on AMv2.<a name="line.65"></a>
 <span class="sourceLineNo">066</span>public class TestMasterFailover {<a 
name="line.66"></a>
 <span class="sourceLineNo">067</span>  private static final Log LOG = 
LogFactory.getLog(TestMasterFailover.class);<a name="line.67"></a>
 <span class="sourceLineNo">068</span><a name="line.68"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/99c53df1/testdevapidocs/src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html
----------------------------------------------------------------------
diff --git 
a/testdevapidocs/src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html
 
b/testdevapidocs/src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html
new file mode 100644
index 0000000..2de9f3c
--- /dev/null
+++ 
b/testdevapidocs/src-html/org/apache/hadoop/hbase/snapshot/TestRegionSnapshotTask.html
@@ -0,0 +1,276 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" 
title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software 
Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license 
agreements.  See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for 
additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership.  The 
ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, 
Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file 
except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License.  You may obtain a 
copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *     
http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or 
agreed to in writing, software<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * distributed under the License is 
distributed on an "AS IS" BASIS,<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express or implied.<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * See the License for the specific 
language governing permissions and<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * limitations under the License.<a 
name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>package 
org.apache.hadoop.hbase.snapshot;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.commons.logging.Log;<a 
name="line.20"></a>
+<span class="sourceLineNo">021</span>import 
org.apache.commons.logging.LogFactory;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import 
org.apache.hadoop.conf.Configuration;<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.HBaseTestingUtility;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import 
org.apache.hadoop.hbase.TableName;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import 
org.apache.hadoop.hbase.client.Table;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import 
org.apache.hadoop.hbase.client.TableDescriptor;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import 
org.apache.hadoop.hbase.client.TableDescriptorBuilder;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import 
org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher;<a 
name="line.30"></a>
+<span class="sourceLineNo">031</span>import 
org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy;<a 
name="line.31"></a>
+<span class="sourceLineNo">032</span>import 
org.apache.hadoop.hbase.regionserver.HRegion;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import 
org.apache.hadoop.hbase.regionserver.StoreFileInfo;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import 
org.apache.hadoop.hbase.regionserver.snapshot.FlushSnapshotSubprocedure;<a 
name="line.34"></a>
+<span class="sourceLineNo">035</span>import 
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos;<a 
name="line.35"></a>
+<span class="sourceLineNo">036</span>import 
org.apache.hadoop.hbase.testclassification.MediumTests;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import 
org.apache.hadoop.hbase.testclassification.RegionServerTests;<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><a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.junit.AfterClass;<a 
name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.junit.BeforeClass;<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.experimental.categories.Category;<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>import java.io.IOException;<a 
name="line.46"></a>
+<span class="sourceLineNo">047</span>import java.util.List;<a 
name="line.47"></a>
+<span class="sourceLineNo">048</span>import 
java.util.concurrent.ExecutorService;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import java.util.concurrent.Executors;<a 
name="line.49"></a>
+<span class="sourceLineNo">050</span>import java.util.concurrent.Future;<a 
name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span>import static 
org.junit.Assert.assertEquals;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import static 
org.junit.Assert.assertNotNull;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import static 
org.junit.Assert.assertTrue;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import static 
org.mockito.Mockito.doAnswer;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>import static org.mockito.Mockito.spy;<a 
name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>/**<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * Testing the region snapshot task on a 
cluster.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @see 
org.apache.hadoop.hbase.regionserver.snapshot.FlushSnapshotSubprocedure.RegionSnapshotTask<a
 name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>@Category({MediumTests.class, 
RegionServerTests.class})<a name="line.62"></a>
+<span class="sourceLineNo">063</span>public class TestRegionSnapshotTask {<a 
name="line.63"></a>
+<span class="sourceLineNo">064</span>  private final Log LOG = 
LogFactory.getLog(getClass());<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span>  private static HBaseTestingUtility 
TEST_UTIL;<a name="line.66"></a>
+<span class="sourceLineNo">067</span>  private static Configuration conf;<a 
name="line.67"></a>
+<span class="sourceLineNo">068</span>  private static FileSystem fs;<a 
name="line.68"></a>
+<span class="sourceLineNo">069</span>  private static Path rootDir;<a 
name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span>  @BeforeClass<a name="line.71"></a>
+<span class="sourceLineNo">072</span>  public static void setupBeforeClass() 
throws Exception {<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    TEST_UTIL = new 
HBaseTestingUtility();<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>    conf = 
TEST_UTIL.getConfiguration();<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>    // Try to frequently clean up 
compacted files<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    
conf.setInt("hbase.hfile.compaction.discharger.interval", 1000);<a 
name="line.78"></a>
+<span class="sourceLineNo">079</span>    
conf.setInt("hbase.master.hfilecleaner.ttl", 1000);<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>    TEST_UTIL.startMiniCluster(1);<a 
name="line.81"></a>
+<span class="sourceLineNo">082</span>    
TEST_UTIL.getHBaseCluster().waitForActiveAndReadyMaster();<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    
TEST_UTIL.waitUntilAllRegionsAssigned(TableName.META_TABLE_NAME);<a 
name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span>    rootDir = FSUtils.getRootDir(conf);<a 
name="line.85"></a>
+<span class="sourceLineNo">086</span>    fs = TEST_UTIL.getTestFileSystem();<a 
name="line.86"></a>
+<span class="sourceLineNo">087</span>  }<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span>  @AfterClass<a name="line.89"></a>
+<span class="sourceLineNo">090</span>  public static void tearDown() throws 
Exception {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    TEST_UTIL.shutdownMiniCluster();<a 
name="line.91"></a>
+<span class="sourceLineNo">092</span>  }<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>   * Tests adding a region to the 
snapshot manifest while compactions are running on the region.<a 
name="line.95"></a>
+<span class="sourceLineNo">096</span>   * The idea is to slow down the process 
of adding a store file to the manifest while<a name="line.96"></a>
+<span class="sourceLineNo">097</span>   * triggering compactions on the 
region, allowing the store files to be marked for archival while<a 
name="line.97"></a>
+<span class="sourceLineNo">098</span>   * snapshot operation is running.<a 
name="line.98"></a>
+<span class="sourceLineNo">099</span>   * This test checks for the correct 
behavior in such a case that the compacted files should<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   * not be moved around if a snapshot 
operation is in progress.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>   * See HBASE-18398<a 
name="line.101"></a>
+<span class="sourceLineNo">102</span>   */<a name="line.102"></a>
+<span class="sourceLineNo">103</span>  @Test(timeout = 30000)<a 
name="line.103"></a>
+<span class="sourceLineNo">104</span>  public void 
testAddRegionWithCompactions() throws Exception {<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    final TableName tableName = 
TableName.valueOf("test_table");<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    Table table = 
setupTable(tableName);<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span>    List&lt;HRegion&gt; hRegions = 
TEST_UTIL.getHBaseCluster().getRegions(tableName);<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span>    final 
SnapshotProtos.SnapshotDescription snapshot =<a name="line.110"></a>
+<span class="sourceLineNo">111</span>        
SnapshotProtos.SnapshotDescription.newBuilder()<a name="line.111"></a>
+<span class="sourceLineNo">112</span>        
.setTable(tableName.getNameAsString())<a name="line.112"></a>
+<span class="sourceLineNo">113</span>        
.setType(SnapshotProtos.SnapshotDescription.Type.FLUSH)<a name="line.113"></a>
+<span class="sourceLineNo">114</span>        .setName("test_table_snapshot")<a 
name="line.114"></a>
+<span class="sourceLineNo">115</span>        
.setVersion(SnapshotManifestV2.DESCRIPTOR_VERSION)<a name="line.115"></a>
+<span class="sourceLineNo">116</span>        .build();<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    ForeignExceptionDispatcher monitor = 
new ForeignExceptionDispatcher(snapshot.getName());<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span>    final HRegion region = 
spy(hRegions.get(0));<a name="line.119"></a>
+<span class="sourceLineNo">120</span><a name="line.120"></a>
+<span class="sourceLineNo">121</span>    Path workingDir = 
SnapshotDescriptionUtils.getWorkingSnapshotDir(snapshot, rootDir);<a 
name="line.121"></a>
+<span class="sourceLineNo">122</span>    final SnapshotManifest manifest =<a 
name="line.122"></a>
+<span class="sourceLineNo">123</span>        SnapshotManifest.create(conf, fs, 
workingDir, snapshot, monitor);<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    
manifest.addTableDescriptor(table.getTableDescriptor());<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span>    if (!fs.exists(workingDir)) {<a 
name="line.126"></a>
+<span class="sourceLineNo">127</span>      fs.mkdirs(workingDir);<a 
name="line.127"></a>
+<span class="sourceLineNo">128</span>    }<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    assertTrue(fs.exists(workingDir));<a 
name="line.129"></a>
+<span class="sourceLineNo">130</span>    
SnapshotDescriptionUtils.writeSnapshotInfo(snapshot, workingDir, fs);<a 
name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
+<span class="sourceLineNo">132</span>    doAnswer(__ -&gt; {<a 
name="line.132"></a>
+<span class="sourceLineNo">133</span>      addRegionToSnapshot(snapshot, 
region, manifest);<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      return null;<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    
}).when(region).addRegionToSnapshot(snapshot, monitor);<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>    
FlushSnapshotSubprocedure.RegionSnapshotTask snapshotTask =<a 
name="line.137"></a>
+<span class="sourceLineNo">138</span>        new 
FlushSnapshotSubprocedure.RegionSnapshotTask(region, snapshot, true, 
monitor);<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    ExecutorService executor = 
Executors.newFixedThreadPool(1);<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    Future f = 
executor.submit(snapshotTask);<a name="line.140"></a>
+<span class="sourceLineNo">141</span><a name="line.141"></a>
+<span class="sourceLineNo">142</span>    // Trigger major compaction and wait 
for snaphot operation to finish<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    LOG.info("Starting major 
compaction");<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    region.compact(true);<a 
name="line.144"></a>
+<span class="sourceLineNo">145</span>    LOG.info("Finished major 
compaction");<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    f.get();<a name="line.146"></a>
+<span class="sourceLineNo">147</span><a name="line.147"></a>
+<span class="sourceLineNo">148</span>    // Consolidate region manifests into 
a single snapshot manifest<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    manifest.consolidate();<a 
name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span>    // Make sure that the region manifest 
exists, which means the snapshot operation succeeded<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    
assertNotNull(manifest.getRegionManifests());<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    // Sanity check, there should be only 
one region<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    assertEquals(1, 
manifest.getRegionManifests().size());<a name="line.154"></a>
+<span class="sourceLineNo">155</span><a name="line.155"></a>
+<span class="sourceLineNo">156</span>    // Make sure that no files went 
missing after the snapshot operation<a name="line.156"></a>
+<span class="sourceLineNo">157</span>    
SnapshotReferenceUtil.verifySnapshot(conf, fs, manifest);<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 void 
addRegionToSnapshot(SnapshotProtos.SnapshotDescription snapshot,<a 
name="line.160"></a>
+<span class="sourceLineNo">161</span>      HRegion region, SnapshotManifest 
manifest) throws Exception {<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    LOG.info("Adding region to snapshot: 
" + region.getRegionInfo().getRegionNameAsString());<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    Path workingDir = 
SnapshotDescriptionUtils.getWorkingSnapshotDir(snapshot, rootDir);<a 
name="line.163"></a>
+<span class="sourceLineNo">164</span>    SnapshotManifest.RegionVisitor 
visitor = createRegionVisitorWithDelay(snapshot, workingDir);<a 
name="line.164"></a>
+<span class="sourceLineNo">165</span>    manifest.addRegion(region, 
visitor);<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    LOG.info("Added the region to 
snapshot: " + region.getRegionInfo().getRegionNameAsString());<a 
name="line.166"></a>
+<span class="sourceLineNo">167</span>  }<a name="line.167"></a>
+<span class="sourceLineNo">168</span><a name="line.168"></a>
+<span class="sourceLineNo">169</span>  private SnapshotManifest.RegionVisitor 
createRegionVisitorWithDelay(<a name="line.169"></a>
+<span class="sourceLineNo">170</span>      SnapshotProtos.SnapshotDescription 
desc, Path workingDir) {<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    return new 
SnapshotManifestV2.ManifestBuilder(conf, fs, workingDir) {<a 
name="line.171"></a>
+<span class="sourceLineNo">172</span>      @Override<a name="line.172"></a>
+<span class="sourceLineNo">173</span>      public void storeFile(final 
SnapshotProtos.SnapshotRegionManifest.Builder region,<a name="line.173"></a>
+<span class="sourceLineNo">174</span>          final 
SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder family,<a 
name="line.174"></a>
+<span class="sourceLineNo">175</span>          final StoreFileInfo storeFile) 
throws IOException {<a name="line.175"></a>
+<span class="sourceLineNo">176</span>        try {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>          LOG.debug("Introducing delay 
before adding store file to manifest");<a name="line.177"></a>
+<span class="sourceLineNo">178</span>          Thread.sleep(2000);<a 
name="line.178"></a>
+<span class="sourceLineNo">179</span>        } catch (InterruptedException ex) 
{<a name="line.179"></a>
+<span class="sourceLineNo">180</span>          LOG.error("Interrupted due to 
error: " + ex);<a name="line.180"></a>
+<span class="sourceLineNo">181</span>        }<a name="line.181"></a>
+<span class="sourceLineNo">182</span>        super.storeFile(region, family, 
storeFile);<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      }<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><a name="line.186"></a>
+<span class="sourceLineNo">187</span>  private Table setupTable(TableName 
tableName) throws Exception {<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    TableDescriptorBuilder builder = 
TableDescriptorBuilder.newBuilder(tableName);<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    // Flush many files, but do not 
compact immediately<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    // Make sure that the region does not 
split<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    builder<a name="line.191"></a>
+<span class="sourceLineNo">192</span>        .setMemStoreFlushSize(5000)<a 
name="line.192"></a>
+<span class="sourceLineNo">193</span>        
.setRegionSplitPolicyClassName(ConstantSizeRegionSplitPolicy.class.getName())<a 
name="line.193"></a>
+<span class="sourceLineNo">194</span>        .setMaxFileSize(100 * 1024 * 
1024)<a name="line.194"></a>
+<span class="sourceLineNo">195</span>        
.setConfiguration("hbase.hstore.compactionThreshold", "250");<a 
name="line.195"></a>
+<span class="sourceLineNo">196</span><a name="line.196"></a>
+<span class="sourceLineNo">197</span>    TableDescriptor td = 
builder.build();<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    byte[] fam = Bytes.toBytes("fam");<a 
name="line.198"></a>
+<span class="sourceLineNo">199</span>    Table table = 
TEST_UTIL.createTable(td, new byte[][] {fam},<a name="line.199"></a>
+<span class="sourceLineNo">200</span>        TEST_UTIL.getConfiguration());<a 
name="line.200"></a>
+<span class="sourceLineNo">201</span>    TEST_UTIL.loadTable(table, fam);<a 
name="line.201"></a>
+<span class="sourceLineNo">202</span>    return table;<a name="line.202"></a>
+<span class="sourceLineNo">203</span>  }<a name="line.203"></a>
+<span class="sourceLineNo">204</span>}<a name="line.204"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

Reply via email to