hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [02/49] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd.
Date Fri, 14 Jul 2017 15:02:11 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b17bf22b/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html b/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html
index e2963cb..79b6e56 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.45">TestRegionServerHostname</a>
+<pre>public class <a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.48">TestRegionServerHostname</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">Tests for the hostname specification by region server</div>
 </li>
@@ -134,6 +134,18 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <td class="colFirst"><code>private static org.apache.commons.logging.Log</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#LOG">LOG</a></span></code>&nbsp;</td>
 </tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#NUM_MASTERS">NUM_MASTERS</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>private static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#NUM_RS">NUM_RS</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>private <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/regionserver/TestRegionServerHostname.html#TEST_UTIL">TEST_UTIL</a></span></code>&nbsp;</td>
+</tr>
 </table>
 </li>
 </ul>
@@ -168,18 +180,26 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 </tr>
 <tr id="i0" class="altColor">
 <td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#testConflictRegionServerHostnameConfigurationsAbortServer--">testConflictRegionServerHostnameConfigurationsAbortServer</a></span>()</code>&nbsp;</td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#setup--">setup</a></span>()</code>&nbsp;</td>
 </tr>
 <tr id="i1" class="rowColor">
 <td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#testInvalidRegionServerHostnameAbortsServer--">testInvalidRegionServerHostnameAbortsServer</a></span>()</code>&nbsp;</td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#teardown--">teardown</a></span>()</code>&nbsp;</td>
 </tr>
 <tr id="i2" class="altColor">
 <td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#testRegionServerHostname--">testRegionServerHostname</a></span>()</code>&nbsp;</td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#testConflictRegionServerHostnameConfigurationsAbortServer--">testConflictRegionServerHostnameConfigurationsAbortServer</a></span>()</code>&nbsp;</td>
 </tr>
 <tr id="i3" class="rowColor">
 <td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#testInvalidRegionServerHostnameAbortsServer--">testInvalidRegionServerHostnameAbortsServer</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#testRegionServerHostname--">testRegionServerHostname</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/regionserver/TestRegionServerHostname.html#testRegionServerHostnameReportedToMaster--">testRegionServerHostnameReportedToMaster</a></span>()</code>&nbsp;</td>
 </tr>
 </table>
@@ -207,10 +227,45 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <a name="LOG">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>LOG</h4>
-<pre>private static final&nbsp;org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.46">LOG</a></pre>
+<pre>private static final&nbsp;org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.49">LOG</a></pre>
+</li>
+</ul>
+<a name="TEST_UTIL">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>TEST_UTIL</h4>
+<pre>private&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/regionserver/TestRegionServerHostname.html#line.51">TEST_UTIL</a></pre>
+</li>
+</ul>
+<a name="NUM_MASTERS">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>NUM_MASTERS</h4>
+<pre>private static final&nbsp;int <a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.53">NUM_MASTERS</a></pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.TestRegionServerHostname.NUM_MASTERS">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="NUM_RS">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>NUM_RS</h4>
+<pre>private static final&nbsp;int <a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.54">NUM_RS</a></pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.TestRegionServerHostname.NUM_RS">Constant Field Values</a></dd>
+</dl>
 </li>
 </ul>
 </li>
@@ -227,7 +282,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>TestRegionServerHostname</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.45">TestRegionServerHostname</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.48">TestRegionServerHostname</a>()</pre>
 </li>
 </ul>
 </li>
@@ -238,13 +293,36 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <!--   -->
 </a>
 <h3>Method Detail</h3>
+<a name="setup--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setup</h4>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.57">setup</a>()</pre>
+</li>
+</ul>
+<a name="teardown--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>teardown</h4>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.63">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="testInvalidRegionServerHostnameAbortsServer--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>testInvalidRegionServerHostnameAbortsServer</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.49">testInvalidRegionServerHostnameAbortsServer</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.68">testInvalidRegionServerHostnameAbortsServer</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>
@@ -258,7 +336,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>testRegionServerHostname</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.72">testRegionServerHostname</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.83">testRegionServerHostname</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>
@@ -272,7 +350,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>testConflictRegionServerHostnameConfigurationsAbortServer</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.111">testConflictRegionServerHostnameConfigurationsAbortServer</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.118">testConflictRegionServerHostnameConfigurationsAbortServer</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>
@@ -286,7 +364,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>testRegionServerHostnameReportedToMaster</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.152">testRegionServerHostnameReportedToMaster</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.html#line.155">testRegionServerHostnameReportedToMaster</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>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b17bf22b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
index ef2be2b..6401433 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
@@ -625,11 +625,11 @@
 <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.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestCacheOnWriteInSchema.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestCacheOnWriteInSchema.CacheOnWriteType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestAtomicOperation.TestStep.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestAtomicOperation.TestStep</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.ActionType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestMultiLogThreshold.ActionType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DataBlockEncodingTool.Manipulation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DataBlockEncodingTool.Manipulation</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestAtomicOperation.TestStep.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestAtomicOperation.TestStep</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b17bf22b/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 274b049..0178c73 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.Generator.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Generator.Counts</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestWithCellVisibilityLoadAndVerify.Counters</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadAndVerify.Counters</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/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/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>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b17bf22b/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 ea1befb..8e1c1ad 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
@@ -140,8 +140,8 @@
 <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/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>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b17bf22b/testdevapidocs/overview-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/overview-tree.html b/testdevapidocs/overview-tree.html
index 123afb7..4a1ef11 100644
--- a/testdevapidocs/overview-tree.html
+++ b/testdevapidocs/overview-tree.html
@@ -929,6 +929,7 @@
 <li type="circle">org.apache.hadoop.hbase.rest.<a href="org/apache/hadoop/hbase/rest/DummyFilter.html" title="class in org.apache.hadoop.hbase.rest"><span class="typeNameLink">DummyFilter</span></a> (implements javax.servlet.Filter)</li>
 <li type="circle">org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyService (implements com.google.protobuf.Service)
 <ul>
+<li type="circle">org.apache.hadoop.hbase.coprocessor.<a href="org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.DummyRegionServerEndpoint.html" title="class in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">TestAsyncCoprocessorEndpoint.DummyRegionServerEndpoint</span></a> (implements org.apache.hadoop.hbase.Coprocessor, org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService)</li>
 <li type="circle">org.apache.hadoop.hbase.coprocessor.<a href="org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorEndpoint.DummyRegionServerEndpoint.html" title="class in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">TestRegionServerCoprocessorEndpoint.DummyRegionServerEndpoint</span></a> (implements org.apache.hadoop.hbase.Coprocessor, org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService)</li>
 </ul>
 </li>
@@ -2093,6 +2094,7 @@
 <ul>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestAsyncClusterAdminApi.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">TestAsyncClusterAdminApi</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestAsyncClusterAdminApi2.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">TestAsyncClusterAdminApi2</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.coprocessor.<a href="org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.html" title="class in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">TestAsyncCoprocessorEndpoint</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestAsyncDrainAdminApi.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">TestAsyncDrainAdminApi</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestAsyncNamespaceAdminApi.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">TestAsyncNamespaceAdminApi</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestAsyncProcedureAdminApi.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">TestAsyncProcedureAdminApi</span></a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b17bf22b/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.DummyRegionServerEndpoint.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.DummyRegionServerEndpoint.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.DummyRegionServerEndpoint.html
new file mode 100644
index 0000000..5a0b1be
--- /dev/null
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.DummyRegionServerEndpoint.html
@@ -0,0 +1,239 @@
+<!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.coprocessor;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import static org.junit.Assert.assertEquals;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import static org.junit.Assert.assertTrue;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.fail;<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.io.FileNotFoundException;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.io.IOException;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.conf.Configuration;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.Coprocessor;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.CoprocessorEnvironment;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.HConstants;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.ServerName;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.client.RetriesExhaustedException;<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.client.TestAsyncAdminBase;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint.DummyRegionServerEndpoint;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyRequest;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyResponse;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyService;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcUtils;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.ipc.RemoteWithExtrasException;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.ipc.ServerRpcController;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.ipc.protobuf.generated.TestRpcServiceProtos;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.protobuf.ProtobufUtil;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.testclassification.ClientTests;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.testclassification.MediumTests;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.junit.BeforeClass;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.junit.Test;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.junit.experimental.categories.Category;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.junit.runner.RunWith;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.junit.runners.Parameterized;<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>import com.google.protobuf.RpcCallback;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import com.google.protobuf.RpcController;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>import com.google.protobuf.Service;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>import com.google.protobuf.ServiceException;<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span>@RunWith(Parameterized.class)<a name="line.61"></a>
+<span class="sourceLineNo">062</span>@Category({ ClientTests.class, MediumTests.class })<a name="line.62"></a>
+<span class="sourceLineNo">063</span>public class TestAsyncCoprocessorEndpoint extends TestAsyncAdminBase {<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span>  private static final FileNotFoundException WHAT_TO_THROW = new FileNotFoundException("/file.txt");<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  private static final String DUMMY_VALUE = "val";<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  @BeforeClass<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  public static void setUpBeforeClass() throws Exception {<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_RPC_TIMEOUT_KEY, 60000);<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_OPERATION_TIMEOUT, 120000);<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 2);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    TEST_UTIL.getConfiguration().setStrings(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY,<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      ProtobufCoprocessorService.class.getName());<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    TEST_UTIL.getConfiguration().setStrings(CoprocessorHost.REGIONSERVER_COPROCESSOR_CONF_KEY,<a name="line.75"></a>
+<span class="sourceLineNo">076</span>      DummyRegionServerEndpoint.class.getName());<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    TEST_UTIL.startMiniCluster(2);<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    ASYNC_CONN = ConnectionFactory.createAsyncConnection(TEST_UTIL.getConfiguration()).get();<a name="line.78"></a>
+<span class="sourceLineNo">079</span>  }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>  @Test<a name="line.81"></a>
+<span class="sourceLineNo">082</span>  public void testMasterCoprocessorService() throws Exception {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    TestProtos.EchoRequestProto request =<a name="line.83"></a>
+<span class="sourceLineNo">084</span>        TestProtos.EchoRequestProto.newBuilder().setMessage("hello").build();<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    TestProtos.EchoResponseProto response =<a name="line.85"></a>
+<span class="sourceLineNo">086</span>        admin<a name="line.86"></a>
+<span class="sourceLineNo">087</span>            .&lt;TestRpcServiceProtos.TestProtobufRpcProto.Stub, TestProtos.EchoResponseProto&gt; coprocessorService(<a name="line.87"></a>
+<span class="sourceLineNo">088</span>              TestRpcServiceProtos.TestProtobufRpcProto::newStub,<a name="line.88"></a>
+<span class="sourceLineNo">089</span>              (s, c, done) -&gt; s.echo(c, request, done)).get();<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    assertEquals("hello", response.getMessage());<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 testMasterCoprocessorError() throws Exception {<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    TestProtos.EmptyRequestProto emptyRequest = TestProtos.EmptyRequestProto.getDefaultInstance();<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    try {<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      admin<a name="line.97"></a>
+<span class="sourceLineNo">098</span>          .&lt;TestRpcServiceProtos.TestProtobufRpcProto.Stub, TestProtos.EmptyResponseProto&gt; coprocessorService(<a name="line.98"></a>
+<span class="sourceLineNo">099</span>            TestRpcServiceProtos.TestProtobufRpcProto::newStub,<a name="line.99"></a>
+<span class="sourceLineNo">100</span>            (s, c, done) -&gt; s.error(c, emptyRequest, done)).get();<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      fail("Should have thrown an exception");<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    } catch (Exception e) {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    }<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 testRegionServerCoprocessorService() throws Exception {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    final ServerName serverName = TEST_UTIL.getHBaseCluster().getRegionServer(0).getServerName();<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    DummyRegionServerEndpointProtos.DummyRequest request =<a name="line.109"></a>
+<span class="sourceLineNo">110</span>        DummyRegionServerEndpointProtos.DummyRequest.getDefaultInstance();<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    DummyRegionServerEndpointProtos.DummyResponse response =<a name="line.111"></a>
+<span class="sourceLineNo">112</span>        admin<a name="line.112"></a>
+<span class="sourceLineNo">113</span>            .&lt;DummyRegionServerEndpointProtos.DummyService.Stub, DummyRegionServerEndpointProtos.DummyResponse&gt; coprocessorService(<a name="line.113"></a>
+<span class="sourceLineNo">114</span>              DummyRegionServerEndpointProtos.DummyService::newStub,<a name="line.114"></a>
+<span class="sourceLineNo">115</span>              (s, c, done) -&gt; s.dummyCall(c, request, done), serverName).get();<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    assertEquals(DUMMY_VALUE, response.getValue());<a name="line.116"></a>
+<span class="sourceLineNo">117</span>  }<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span>  @Test<a name="line.119"></a>
+<span class="sourceLineNo">120</span>  public void testRegionServerCoprocessorServiceError() throws Exception {<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    final ServerName serverName = TEST_UTIL.getHBaseCluster().getRegionServer(0).getServerName();<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    DummyRegionServerEndpointProtos.DummyRequest request =<a name="line.122"></a>
+<span class="sourceLineNo">123</span>        DummyRegionServerEndpointProtos.DummyRequest.getDefaultInstance();<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    try {<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      admin<a name="line.125"></a>
+<span class="sourceLineNo">126</span>          .&lt;DummyRegionServerEndpointProtos.DummyService.Stub, DummyRegionServerEndpointProtos.DummyResponse&gt; coprocessorService(<a name="line.126"></a>
+<span class="sourceLineNo">127</span>            DummyRegionServerEndpointProtos.DummyService::newStub,<a name="line.127"></a>
+<span class="sourceLineNo">128</span>            (s, c, done) -&gt; s.dummyThrow(c, request, done), serverName).get();<a name="line.128"></a>
+<span class="sourceLineNo">129</span>      fail("Should have thrown an exception");<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    } catch (Exception e) {<a name="line.130"></a>
+<span class="sourceLineNo">131</span>      assertTrue(e.getCause() instanceof RetriesExhaustedException);<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      assertTrue(e.getCause().getMessage().contains(WHAT_TO_THROW.getClass().getName().trim()));<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    }<a name="line.133"></a>
+<span class="sourceLineNo">134</span>  }<a name="line.134"></a>
+<span class="sourceLineNo">135</span><a name="line.135"></a>
+<span class="sourceLineNo">136</span>  static class DummyRegionServerEndpoint extends DummyService implements Coprocessor, SingletonCoprocessorService {<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>    public DummyRegionServerEndpoint() {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    }<a name="line.139"></a>
+<span class="sourceLineNo">140</span><a name="line.140"></a>
+<span class="sourceLineNo">141</span>    @Override<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    public Service getService() {<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return this;<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>    @Override<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    public void start(CoprocessorEnvironment env) throws IOException {<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>    @Override<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    public void stop(CoprocessorEnvironment env) throws IOException {<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>    @Override<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    public void dummyCall(RpcController controller, DummyRequest request,<a name="line.155"></a>
+<span class="sourceLineNo">156</span>        RpcCallback&lt;DummyResponse&gt; callback) {<a name="line.156"></a>
+<span class="sourceLineNo">157</span>      callback.run(DummyResponse.newBuilder().setValue(DUMMY_VALUE).build());<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>    @Override<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    public void dummyThrow(RpcController controller,<a name="line.161"></a>
+<span class="sourceLineNo">162</span>        DummyRequest request,<a name="line.162"></a>
+<span class="sourceLineNo">163</span>        RpcCallback&lt;DummyResponse&gt; done) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>      CoprocessorRpcUtils.setControllerException(controller, WHAT_TO_THROW);<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    }<a name="line.165"></a>
+<span class="sourceLineNo">166</span>  }<a name="line.166"></a>
+<span class="sourceLineNo">167</span>}<a name="line.167"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b17bf22b/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.html
new file mode 100644
index 0000000..5a0b1be
--- /dev/null
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/coprocessor/TestAsyncCoprocessorEndpoint.html
@@ -0,0 +1,239 @@
+<!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.coprocessor;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import static org.junit.Assert.assertEquals;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import static org.junit.Assert.assertTrue;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.fail;<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.io.FileNotFoundException;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.io.IOException;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.conf.Configuration;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.Coprocessor;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.CoprocessorEnvironment;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.HConstants;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.ServerName;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.client.RetriesExhaustedException;<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.client.TestAsyncAdminBase;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint.DummyRegionServerEndpoint;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyRequest;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyResponse;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyService;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.ipc.CoprocessorRpcUtils;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.ipc.RemoteWithExtrasException;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.ipc.ServerRpcController;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.ipc.protobuf.generated.TestRpcServiceProtos;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.protobuf.ProtobufUtil;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.testclassification.ClientTests;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.testclassification.MediumTests;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.junit.BeforeClass;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.junit.Test;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.junit.experimental.categories.Category;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.junit.runner.RunWith;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.junit.runners.Parameterized;<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>import com.google.protobuf.RpcCallback;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import com.google.protobuf.RpcController;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>import com.google.protobuf.Service;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>import com.google.protobuf.ServiceException;<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span>@RunWith(Parameterized.class)<a name="line.61"></a>
+<span class="sourceLineNo">062</span>@Category({ ClientTests.class, MediumTests.class })<a name="line.62"></a>
+<span class="sourceLineNo">063</span>public class TestAsyncCoprocessorEndpoint extends TestAsyncAdminBase {<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span>  private static final FileNotFoundException WHAT_TO_THROW = new FileNotFoundException("/file.txt");<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  private static final String DUMMY_VALUE = "val";<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  @BeforeClass<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  public static void setUpBeforeClass() throws Exception {<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_RPC_TIMEOUT_KEY, 60000);<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_OPERATION_TIMEOUT, 120000);<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 2);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    TEST_UTIL.getConfiguration().setStrings(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY,<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      ProtobufCoprocessorService.class.getName());<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    TEST_UTIL.getConfiguration().setStrings(CoprocessorHost.REGIONSERVER_COPROCESSOR_CONF_KEY,<a name="line.75"></a>
+<span class="sourceLineNo">076</span>      DummyRegionServerEndpoint.class.getName());<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    TEST_UTIL.startMiniCluster(2);<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    ASYNC_CONN = ConnectionFactory.createAsyncConnection(TEST_UTIL.getConfiguration()).get();<a name="line.78"></a>
+<span class="sourceLineNo">079</span>  }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>  @Test<a name="line.81"></a>
+<span class="sourceLineNo">082</span>  public void testMasterCoprocessorService() throws Exception {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    TestProtos.EchoRequestProto request =<a name="line.83"></a>
+<span class="sourceLineNo">084</span>        TestProtos.EchoRequestProto.newBuilder().setMessage("hello").build();<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    TestProtos.EchoResponseProto response =<a name="line.85"></a>
+<span class="sourceLineNo">086</span>        admin<a name="line.86"></a>
+<span class="sourceLineNo">087</span>            .&lt;TestRpcServiceProtos.TestProtobufRpcProto.Stub, TestProtos.EchoResponseProto&gt; coprocessorService(<a name="line.87"></a>
+<span class="sourceLineNo">088</span>              TestRpcServiceProtos.TestProtobufRpcProto::newStub,<a name="line.88"></a>
+<span class="sourceLineNo">089</span>              (s, c, done) -&gt; s.echo(c, request, done)).get();<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    assertEquals("hello", response.getMessage());<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 testMasterCoprocessorError() throws Exception {<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    TestProtos.EmptyRequestProto emptyRequest = TestProtos.EmptyRequestProto.getDefaultInstance();<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    try {<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      admin<a name="line.97"></a>
+<span class="sourceLineNo">098</span>          .&lt;TestRpcServiceProtos.TestProtobufRpcProto.Stub, TestProtos.EmptyResponseProto&gt; coprocessorService(<a name="line.98"></a>
+<span class="sourceLineNo">099</span>            TestRpcServiceProtos.TestProtobufRpcProto::newStub,<a name="line.99"></a>
+<span class="sourceLineNo">100</span>            (s, c, done) -&gt; s.error(c, emptyRequest, done)).get();<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      fail("Should have thrown an exception");<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    } catch (Exception e) {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    }<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 testRegionServerCoprocessorService() throws Exception {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    final ServerName serverName = TEST_UTIL.getHBaseCluster().getRegionServer(0).getServerName();<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    DummyRegionServerEndpointProtos.DummyRequest request =<a name="line.109"></a>
+<span class="sourceLineNo">110</span>        DummyRegionServerEndpointProtos.DummyRequest.getDefaultInstance();<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    DummyRegionServerEndpointProtos.DummyResponse response =<a name="line.111"></a>
+<span class="sourceLineNo">112</span>        admin<a name="line.112"></a>
+<span class="sourceLineNo">113</span>            .&lt;DummyRegionServerEndpointProtos.DummyService.Stub, DummyRegionServerEndpointProtos.DummyResponse&gt; coprocessorService(<a name="line.113"></a>
+<span class="sourceLineNo">114</span>              DummyRegionServerEndpointProtos.DummyService::newStub,<a name="line.114"></a>
+<span class="sourceLineNo">115</span>              (s, c, done) -&gt; s.dummyCall(c, request, done), serverName).get();<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    assertEquals(DUMMY_VALUE, response.getValue());<a name="line.116"></a>
+<span class="sourceLineNo">117</span>  }<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span>  @Test<a name="line.119"></a>
+<span class="sourceLineNo">120</span>  public void testRegionServerCoprocessorServiceError() throws Exception {<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    final ServerName serverName = TEST_UTIL.getHBaseCluster().getRegionServer(0).getServerName();<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    DummyRegionServerEndpointProtos.DummyRequest request =<a name="line.122"></a>
+<span class="sourceLineNo">123</span>        DummyRegionServerEndpointProtos.DummyRequest.getDefaultInstance();<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    try {<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      admin<a name="line.125"></a>
+<span class="sourceLineNo">126</span>          .&lt;DummyRegionServerEndpointProtos.DummyService.Stub, DummyRegionServerEndpointProtos.DummyResponse&gt; coprocessorService(<a name="line.126"></a>
+<span class="sourceLineNo">127</span>            DummyRegionServerEndpointProtos.DummyService::newStub,<a name="line.127"></a>
+<span class="sourceLineNo">128</span>            (s, c, done) -&gt; s.dummyThrow(c, request, done), serverName).get();<a name="line.128"></a>
+<span class="sourceLineNo">129</span>      fail("Should have thrown an exception");<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    } catch (Exception e) {<a name="line.130"></a>
+<span class="sourceLineNo">131</span>      assertTrue(e.getCause() instanceof RetriesExhaustedException);<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      assertTrue(e.getCause().getMessage().contains(WHAT_TO_THROW.getClass().getName().trim()));<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    }<a name="line.133"></a>
+<span class="sourceLineNo">134</span>  }<a name="line.134"></a>
+<span class="sourceLineNo">135</span><a name="line.135"></a>
+<span class="sourceLineNo">136</span>  static class DummyRegionServerEndpoint extends DummyService implements Coprocessor, SingletonCoprocessorService {<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>    public DummyRegionServerEndpoint() {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    }<a name="line.139"></a>
+<span class="sourceLineNo">140</span><a name="line.140"></a>
+<span class="sourceLineNo">141</span>    @Override<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    public Service getService() {<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return this;<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>    @Override<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    public void start(CoprocessorEnvironment env) throws IOException {<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>    @Override<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    public void stop(CoprocessorEnvironment env) throws IOException {<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>    @Override<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    public void dummyCall(RpcController controller, DummyRequest request,<a name="line.155"></a>
+<span class="sourceLineNo">156</span>        RpcCallback&lt;DummyResponse&gt; callback) {<a name="line.156"></a>
+<span class="sourceLineNo">157</span>      callback.run(DummyResponse.newBuilder().setValue(DUMMY_VALUE).build());<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>    @Override<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    public void dummyThrow(RpcController controller,<a name="line.161"></a>
+<span class="sourceLineNo">162</span>        DummyRequest request,<a name="line.162"></a>
+<span class="sourceLineNo">163</span>        RpcCallback&lt;DummyResponse&gt; done) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>      CoprocessorRpcUtils.setControllerException(controller, WHAT_TO_THROW);<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    }<a name="line.165"></a>
+<span class="sourceLineNo">166</span>  }<a name="line.166"></a>
+<span class="sourceLineNo">167</span>}<a name="line.167"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>


Mime
View raw message