Repository: hbase-site Updated Branches: refs/heads/asf-site 63f0a694b -> b707139ae
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/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 8ada05d..91b57b2 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html +++ b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html @@ -655,8 +655,8 @@ <ul> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://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/DataBlockEncodingTool.Manipulation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DataBlockEncodingTool.Manipulation</span></a></li> <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li> +<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/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/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/TestMultiLogThreshold.ActionType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestMultiLogThreshold.ActionType</span></a></li> <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestAtomicOperation.TestStep.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestAtomicOperation.TestStep</span></a></li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html b/testdevapidocs/org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html index 79d7d56..61809c0 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html @@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <dl> <dt>Direct Known Subclasses:</dt> -<dd><a href="../../../../../org/apache/hadoop/hbase/replication/TestAddToSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication">TestAddToSerialReplicationPeer</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplication.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplication</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplicationFailover.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplicationFailover</a></dd> +<dd><a href="../../../../../org/apache/hadoop/hbase/replication/TestAddToSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication">TestAddToSerialReplicationPeer</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication">TestRemoveFromSerialReplicationPeer</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplication.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplication</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplicationFailover.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplicationFailover</a></dd> </dl> <hr> <br> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html b/testdevapidocs/org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html index 1cc217a..86ffc2b 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/replication/TestNamespaceReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationBase.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html" target="_top">Frames</a></li> @@ -746,7 +746,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/replication/TestNamespaceReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationBase.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html" target="_top">Frames</a></li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html b/testdevapidocs/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html new file mode 100644 index 0000000..5876125 --- /dev/null +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html @@ -0,0 +1,404 @@ +<!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>TestRemoveFromSerialReplicationPeer (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="TestRemoveFromSerialReplicationPeer (Apache HBase 3.0.0-SNAPSHOT Test API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; +var tabs = {65535:["t0","All 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/TestRemoveFromSerialReplicationPeer.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/replication/TestPerTableCFReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationBase.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" target="_top">Frames</a></li> +<li><a href="TestRemoveFromSerialReplicationPeer.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All 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: </li> +<li><a href="#nested.classes.inherited.from.class.org.apache.hadoop.hbase.replication.SerialReplicationTestBase">Nested</a> | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </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.replication</div> +<h2 title="Class TestRemoveFromSerialReplicationPeer" class="title">Class TestRemoveFromSerialReplicationPeer</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="https://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><a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html" title="class in org.apache.hadoop.hbase.replication">org.apache.hadoop.hbase.replication.SerialReplicationTestBase</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.replication.TestRemoveFromSerialReplicationPeer</li> +</ul> +</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/replication/TestRemoveFromSerialReplicationPeer.html#line.46">TestRemoveFromSerialReplicationPeer</a> +extends <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html" title="class in org.apache.hadoop.hbase.replication">SerialReplicationTestBase</a></pre> +<div class="block">Testcase for HBASE-20296.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.hadoop.hbase.replication.SerialReplicationTestBase"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html" title="class in org.apache.hadoop.hbase.replication">SerialReplicationTestBase</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.LocalReplicationEndpoint.html" title="class in org.apache.hadoop.hbase.replication">SerialReplicationTestBase.LocalReplicationEndpoint</a></code></li> +</ul> +</li> +</ul> +<!-- =========== 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"> </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>static <a href="../../../../../org/apache/hadoop/hbase/HBaseClassTestRule.html" title="class in org.apache.hadoop.hbase">HBaseClassTestRule</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#CLASS_RULE">CLASS_RULE</a></span></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.replication.SerialReplicationTestBase"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html" title="class in org.apache.hadoop.hbase.replication">SerialReplicationTestBase</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#CF">CF</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#CQ">CQ</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#FS">FS</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#LOG_DIR">LOG_DIR</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#logPath">logPath</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#name">name</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#PEER_ID">PEER_ID</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#UTIL">UTIL</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#WRITER">WRITER</a></code></li> +</ul> +</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"> </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/replication/TestRemoveFromSerialReplicationPeer.html#TestRemoveFromSerialReplicationPeer--">TestRemoveFromSerialReplicationPeer</a></span>()</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#setUp--">setUp</a></span>()</code> </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/replication/TestRemoveFromSerialReplicationPeer.html#testRemoveSerialFlag--">testRemoveSerialFlag</a></span>()</code> </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/replication/TestRemoveFromSerialReplicationPeer.html#testRemoveTable--">testRemoveTable</a></span>()</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>private void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#waitUntilHasLastPushedSequenceId-org.apache.hadoop.hbase.client.RegionInfo-">waitUntilHasLastPushedSequenceId</a></span>(org.apache.hadoop.hbase.client.RegionInfo region)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.replication.SerialReplicationTestBase"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html" title="class in org.apache.hadoop.hbase.replication">SerialReplicationTestBase</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#addPeer-boolean-">addPeer</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#checkOrder-int-">checkOrder</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#createTable--">createTable</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#enablePeerAndWaitUntilReplicationDone-int-">enablePeerAndWaitUntilReplicationDone</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#moveRegion-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.regionserver.HRegionServer-">moveRegion</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#rollAllWALs--">rollAllWALs</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#setUpBeforeClass- -">setUpBeforeClass</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#setupWALWriter--">setupWALWriter</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#tearDown--">tearDown</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#tearDownAfterClass--">tearDownAfterClass</a>, <a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html#waitUntilReplicationDone-int-">waitUntilReplicationDone</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://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="https://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="https://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="https://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="https://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="https://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="https://docs.oracle.com/javase/8/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://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="https://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="https://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="https://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="CLASS_RULE"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>CLASS_RULE</h4> +<pre>public static final <a href="../../../../../org/apache/hadoop/hbase/HBaseClassTestRule.html" title="class in org.apache.hadoop.hbase">HBaseClassTestRule</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#line.49">CLASS_RULE</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="TestRemoveFromSerialReplicationPeer--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TestRemoveFromSerialReplicationPeer</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#line.46">TestRemoveFromSerialReplicationPeer</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="setUp--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setUp</h4> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#line.53">setUp</a>() + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, + org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException</pre> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +<dd><code>org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException</code></dd> +</dl> +</li> +</ul> +<a name="waitUntilHasLastPushedSequenceId-org.apache.hadoop.hbase.client.RegionInfo-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>waitUntilHasLastPushedSequenceId</h4> +<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#line.57">waitUntilHasLastPushedSequenceId</a>(org.apache.hadoop.hbase.client.RegionInfo region) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> +</dl> +</li> +</ul> +<a name="testRemoveTable--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>testRemoveTable</h4> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#line.75">testRemoveTable</a>() + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> +</dl> +</li> +</ul> +<a name="testRemoveSerialFlag--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>testRemoveSerialFlag</h4> +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html#line.101">testRemoveSerialFlag</a>() + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> +</dl> +</li> +</ul> +</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/TestRemoveFromSerialReplicationPeer.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/replication/TestPerTableCFReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationBase.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" target="_top">Frames</a></li> +<li><a href="TestRemoveFromSerialReplicationPeer.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All 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: </li> +<li><a href="#nested.classes.inherited.from.class.org.apache.hadoop.hbase.replication.SerialReplicationTestBase">Nested</a> | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </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 © 2007–2018 <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/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationBase.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationBase.html b/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationBase.html index 6b5a57e..25f375a 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationBase.html +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationBase.html @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestPerTableCFReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationChangingPeerRegionservers.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> @@ -697,7 +697,7 @@ extends <a href="https://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/replication/TestPerTableCFReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationChangingPeerRegionservers.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/SerialReplicationTestBase.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/SerialReplicationTestBase.html b/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/SerialReplicationTestBase.html index aece801..4504702 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/SerialReplicationTestBase.html +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/SerialReplicationTestBase.html @@ -110,10 +110,16 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>class </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/TestSerialReplication.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplication</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication">TestRemoveFromSerialReplicationPeer</a></span></code> +<div class="block">Testcase for HBASE-20296.</div> +</td> </tr> <tr class="altColor"> <td class="colFirst"><code>class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/TestSerialReplication.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplication</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/replication/TestSerialReplicationFailover.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplicationFailover</a></span></code> </td> </tr> </tbody> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/TestRemoveFromSerialReplicationPeer.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/TestRemoveFromSerialReplicationPeer.html b/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/TestRemoveFromSerialReplicationPeer.html new file mode 100644 index 0000000..ac2f5eb --- /dev/null +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/class-use/TestRemoveFromSerialReplicationPeer.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.replication.TestRemoveFromSerialReplicationPeer (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.replication.TestRemoveFromSerialReplicationPeer (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/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication">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/replication/class-use/TestRemoveFromSerialReplicationPeer.html" target="_top">Frames</a></li> +<li><a href="TestRemoveFromSerialReplicationPeer.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All 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.replication.TestRemoveFromSerialReplicationPeer" class="title">Uses of Class<br>org.apache.hadoop.hbase.replication.TestRemoveFromSerialReplicationPeer</h2> +</div> +<div class="classUseContainer">No usage of org.apache.hadoop.hbase.replication.TestRemoveFromSerialReplicationPeer</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/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication">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/replication/class-use/TestRemoveFromSerialReplicationPeer.html" target="_top">Frames</a></li> +<li><a href="TestRemoveFromSerialReplicationPeer.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All 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 © 2007–2018 <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/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/package-frame.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/package-frame.html b/testdevapidocs/org/apache/hadoop/hbase/replication/package-frame.html index 842eba6..08b5e4f 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/replication/package-frame.html +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/package-frame.html @@ -22,6 +22,7 @@ <li><a href="TestMultiSlaveReplication.html" title="class in org.apache.hadoop.hbase.replication" target="classFrame">TestMultiSlaveReplication</a></li> <li><a href="TestNamespaceReplication.html" title="class in org.apache.hadoop.hbase.replication" target="classFrame">TestNamespaceReplication</a></li> <li><a href="TestPerTableCFReplication.html" title="class in org.apache.hadoop.hbase.replication" target="classFrame">TestPerTableCFReplication</a></li> +<li><a href="TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication" target="classFrame">TestRemoveFromSerialReplicationPeer</a></li> <li><a href="TestReplicationBase.html" title="class in org.apache.hadoop.hbase.replication" target="classFrame">TestReplicationBase</a></li> <li><a href="TestReplicationChangingPeerRegionservers.html" title="class in org.apache.hadoop.hbase.replication" target="classFrame">TestReplicationChangingPeerRegionservers</a></li> <li><a href="TestReplicationDisableInactivePeer.html" title="class in org.apache.hadoop.hbase.replication" target="classFrame">TestReplicationDisableInactivePeer</a></li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/package-summary.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/package-summary.html b/testdevapidocs/org/apache/hadoop/hbase/replication/package-summary.html index 1edc3b1..162abbe 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/replication/package-summary.html +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/package-summary.html @@ -127,177 +127,183 @@ <td class="colLast"> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication">TestRemoveFromSerialReplicationPeer</a></td> +<td class="colLast"> +<div class="block">Testcase for HBASE-20296.</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationBase.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationBase</a></td> <td class="colLast"> <div class="block">This class is only a base for other integration-level replication tests.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationChangingPeerRegionservers.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationChangingPeerRegionservers</a></td> <td class="colLast"> <div class="block">Test handling of changes to the number of a peer's regionservers.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationDisableInactivePeer.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationDisableInactivePeer</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationDroppedTables.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationDroppedTables</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEmptyWALRecovery.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEmptyWALRecovery</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEndpoint.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEndpoint</a></td> <td class="colLast"> <div class="block">Tests ReplicationSource and ReplicationEndpoint interactions</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEndpoint.EverythingPassesWALEntryFilter.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEndpoint.EverythingPassesWALEntryFilter</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEndpoint.EverythingPassesWALEntryFilterSubclass.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEndpoint.EverythingPassesWALEntryFilterSubclass</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEndpoint.InterClusterReplicationEndpointForTest.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEndpoint.InterClusterReplicationEndpointForTest</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEndpoint.ReplicationEndpointForTest.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEndpoint.ReplicationEndpointForTest</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEndpoint.ReplicationEndpointReturningFalse.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEndpoint.ReplicationEndpointReturningFalse</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationEndpoint.ReplicationEndpointWithWALEntryFilter.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationEndpoint.ReplicationEndpointWithWALEntryFilter</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationKillMasterRS.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationKillMasterRS</a></td> <td class="colLast"> <div class="block">Runs the TestReplicationKillRS test and selects the RS to kill in the master cluster Do not add other tests in this class.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationKillMasterRSCompressed</a></td> <td class="colLast"> <div class="block">Run the same test as TestReplicationKillMasterRS but with WAL compression enabled Do not add other tests in this class.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationKillRS.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationKillRS</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRS.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationKillSlaveRS</a></td> <td class="colLast"> <div class="block">Runs the TestReplicationKillRS test and selects the RS to kill in the slave cluster Do not add other tests in this class.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationPeerConfig.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationPeerConfig</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationProcedureRetry.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationProcedureRetry</a></td> <td class="colLast"> <div class="block">All the modification method will fail once in the test and should finally succeed.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationProcedureRetry.MockHMaster.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationProcedureRetry.MockHMaster</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationSmallTests</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationSource.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationSource</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationSource.ShutdownDelayRegionServer.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationSource.ShutdownDelayRegionServer</a></td> <td class="colLast"> <div class="block">Regionserver implementation that adds a delay on the graceful shutdown.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationStateBasic.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationStateBasic</a></td> <td class="colLast"> <div class="block">White box testing for replication state interfaces.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationStateZKImpl.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationStateZKImpl</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationStatus.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationStatus</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationSyncUpTool.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationSyncUpTool</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationSyncUpToolWithBulkLoadedData.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationSyncUpToolWithBulkLoadedData</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationTrackerZKImpl.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationTrackerZKImpl</a></td> <td class="colLast"> <div class="block">This class tests the ReplicationTrackerZKImpl class and ReplicationListener interface.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationUtil.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationUtil</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationWALEntryFilters.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationWALEntryFilters</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationWithTags.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationWithTags</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationWithTags.TestCoprocessorForTagsAtSink.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationWithTags.TestCoprocessorForTagsAtSink</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationWithTags.TestCoprocessorForTagsAtSource.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationWithTags.TestCoprocessorForTagsAtSource</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplication.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplication</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplicationFailover.html" title="class in org.apache.hadoop.hbase.replication">TestSerialReplicationFailover</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestVerifyReplication.html" title="class in org.apache.hadoop.hbase.replication">TestVerifyReplication</a></td> <td class="colLast"> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestZKReplicationPeerStorage.html" title="class in org.apache.hadoop.hbase.replication">TestZKReplicationPeerStorage</a></td> <td class="colLast"> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/replication/TestZKReplicationQueueStorage.html" title="class in org.apache.hadoop.hbase.replication">TestZKReplicationQueueStorage</a></td> <td class="colLast"> </td> </tr> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/org/apache/hadoop/hbase/replication/package-tree.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/replication/package-tree.html index 0dc0b68..efc7c02 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/replication/package-tree.html +++ b/testdevapidocs/org/apache/hadoop/hbase/replication/package-tree.html @@ -123,6 +123,7 @@ <li type="circle">org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">SerialReplicationTestBase</span></a> <ul> <li type="circle">org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/TestAddToSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestAddToSerialReplicationPeer</span></a></li> +<li type="circle">org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestRemoveFromSerialReplicationPeer</span></a></li> <li type="circle">org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestSerialReplication</span></a></li> <li type="circle">org.apache.hadoop.hbase.replication.<a href="../../../../../org/apache/hadoop/hbase/replication/TestSerialReplicationFailover.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestSerialReplicationFailover</span></a></li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/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 1a628fe..5936719 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html +++ b/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html @@ -254,9 +254,9 @@ <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://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/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.Generator.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Generator.Counts</span></a></li> <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadAndVerify.Counters</span></a></li> <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/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/b707139a/testdevapidocs/overview-tree.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/overview-tree.html b/testdevapidocs/overview-tree.html index 6f4a2ec..3372329 100644 --- a/testdevapidocs/overview-tree.html +++ b/testdevapidocs/overview-tree.html @@ -2014,6 +2014,7 @@ <li type="circle">org.apache.hadoop.hbase.replication.<a href="org/apache/hadoop/hbase/replication/SerialReplicationTestBase.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">SerialReplicationTestBase</span></a> <ul> <li type="circle">org.apache.hadoop.hbase.replication.<a href="org/apache/hadoop/hbase/replication/TestAddToSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestAddToSerialReplicationPeer</span></a></li> +<li type="circle">org.apache.hadoop.hbase.replication.<a href="org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestRemoveFromSerialReplicationPeer</span></a></li> <li type="circle">org.apache.hadoop.hbase.replication.<a href="org/apache/hadoop/hbase/replication/TestSerialReplication.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestSerialReplication</span></a></li> <li type="circle">org.apache.hadoop.hbase.replication.<a href="org/apache/hadoop/hbase/replication/TestSerialReplicationFailover.html" title="class in org.apache.hadoop.hbase.replication"><span class="typeNameLink">TestSerialReplicationFailover</span></a></li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.MasterSyncObserver.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.MasterSyncObserver.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.MasterSyncObserver.html index 25b55e2..4ddb632 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.MasterSyncObserver.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.MasterSyncObserver.html @@ -194,8 +194,8 @@ <span class="sourceLineNo">186</span> fail("Got an exception while deleting " + tableName);<a name="line.186"></a> <span class="sourceLineNo">187</span> }<a name="line.187"></a> <span class="sourceLineNo">188</span> int rowCount = 0;<a name="line.188"></a> -<span class="sourceLineNo">189</span> try (ResultScanner scanner =<a name="line.189"></a> -<span class="sourceLineNo">190</span> metaTable.getScanner(MetaTableAccessor.getScanForTableName(TEST_UTIL.getConnection(), tableName))) {<a name="line.190"></a> +<span class="sourceLineNo">189</span> try (ResultScanner scanner = metaTable<a name="line.189"></a> +<span class="sourceLineNo">190</span> .getScanner(MetaTableAccessor.getScanForTableName(TEST_UTIL.getConnection(), tableName))) {<a name="line.190"></a> <span class="sourceLineNo">191</span> for (Result result : scanner) {<a name="line.191"></a> <span class="sourceLineNo">192</span> LOG.info("Found when none expected: " + result);<a name="line.192"></a> <span class="sourceLineNo">193</span> rowCount++;<a name="line.193"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.html index 25b55e2..4ddb632 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/client/TestEnableTable.html @@ -194,8 +194,8 @@ <span class="sourceLineNo">186</span> fail("Got an exception while deleting " + tableName);<a name="line.186"></a> <span class="sourceLineNo">187</span> }<a name="line.187"></a> <span class="sourceLineNo">188</span> int rowCount = 0;<a name="line.188"></a> -<span class="sourceLineNo">189</span> try (ResultScanner scanner =<a name="line.189"></a> -<span class="sourceLineNo">190</span> metaTable.getScanner(MetaTableAccessor.getScanForTableName(TEST_UTIL.getConnection(), tableName))) {<a name="line.190"></a> +<span class="sourceLineNo">189</span> try (ResultScanner scanner = metaTable<a name="line.189"></a> +<span class="sourceLineNo">190</span> .getScanner(MetaTableAccessor.getScanForTableName(TEST_UTIL.getConnection(), tableName))) {<a name="line.190"></a> <span class="sourceLineNo">191</span> for (Result result : scanner) {<a name="line.191"></a> <span class="sourceLineNo">192</span> LOG.info("Found when none expected: " + result);<a name="line.192"></a> <span class="sourceLineNo">193</span> rowCount++;<a name="line.193"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b707139a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html new file mode 100644 index 0000000..bb2102b --- /dev/null +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestRemoveFromSerialReplicationPeer.html @@ -0,0 +1,192 @@ +<!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.replication;<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><a name="line.21"></a> +<span class="sourceLineNo">022</span>import java.io.IOException;<a name="line.22"></a> +<span class="sourceLineNo">023</span>import java.util.Collections;<a name="line.23"></a> +<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.HBaseClassTestRule;<a name="line.24"></a> +<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.HConstants;<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.Waiter.ExplainingPredicate;<a name="line.27"></a> +<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.client.Put;<a name="line.28"></a> +<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.client.RegionInfo;<a name="line.29"></a> +<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.client.Table;<a name="line.30"></a> +<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.testclassification.MediumTests;<a name="line.31"></a> +<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.testclassification.ReplicationTests;<a name="line.32"></a> +<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.33"></a> +<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException;<a name="line.34"></a> +<span class="sourceLineNo">035</span>import org.junit.Before;<a name="line.35"></a> +<span class="sourceLineNo">036</span>import org.junit.ClassRule;<a name="line.36"></a> +<span class="sourceLineNo">037</span>import org.junit.Test;<a name="line.37"></a> +<span class="sourceLineNo">038</span>import org.junit.experimental.categories.Category;<a name="line.38"></a> +<span class="sourceLineNo">039</span><a name="line.39"></a> +<span class="sourceLineNo">040</span>import org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap;<a name="line.40"></a> +<span class="sourceLineNo">041</span><a name="line.41"></a> +<span class="sourceLineNo">042</span>/**<a name="line.42"></a> +<span class="sourceLineNo">043</span> * Testcase for HBASE-20296.<a name="line.43"></a> +<span class="sourceLineNo">044</span> */<a name="line.44"></a> +<span class="sourceLineNo">045</span>@Category({ ReplicationTests.class, MediumTests.class })<a name="line.45"></a> +<span class="sourceLineNo">046</span>public class TestRemoveFromSerialReplicationPeer extends SerialReplicationTestBase {<a name="line.46"></a> +<span class="sourceLineNo">047</span><a name="line.47"></a> +<span class="sourceLineNo">048</span> @ClassRule<a name="line.48"></a> +<span class="sourceLineNo">049</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.49"></a> +<span class="sourceLineNo">050</span> HBaseClassTestRule.forClass(TestRemoveFromSerialReplicationPeer.class);<a name="line.50"></a> +<span class="sourceLineNo">051</span><a name="line.51"></a> +<span class="sourceLineNo">052</span> @Before<a name="line.52"></a> +<span class="sourceLineNo">053</span> public void setUp() throws IOException, StreamLacksCapabilityException {<a name="line.53"></a> +<span class="sourceLineNo">054</span> setupWALWriter();<a name="line.54"></a> +<span class="sourceLineNo">055</span> }<a name="line.55"></a> +<span class="sourceLineNo">056</span><a name="line.56"></a> +<span class="sourceLineNo">057</span> private void waitUntilHasLastPushedSequenceId(RegionInfo region) throws Exception {<a name="line.57"></a> +<span class="sourceLineNo">058</span> ReplicationQueueStorage queueStorage =<a name="line.58"></a> +<span class="sourceLineNo">059</span> UTIL.getMiniHBaseCluster().getMaster().getReplicationPeerManager().getQueueStorage();<a name="line.59"></a> +<span class="sourceLineNo">060</span> UTIL.waitFor(30000, new ExplainingPredicate<Exception>() {<a name="line.60"></a> +<span class="sourceLineNo">061</span><a name="line.61"></a> +<span class="sourceLineNo">062</span> @Override<a name="line.62"></a> +<span class="sourceLineNo">063</span> public boolean evaluate() throws Exception {<a name="line.63"></a> +<span class="sourceLineNo">064</span> return queueStorage.getLastSequenceId(region.getEncodedName(), PEER_ID) > 0;<a name="line.64"></a> +<span class="sourceLineNo">065</span> }<a name="line.65"></a> +<span class="sourceLineNo">066</span><a name="line.66"></a> +<span class="sourceLineNo">067</span> @Override<a name="line.67"></a> +<span class="sourceLineNo">068</span> public String explainFailure() throws Exception {<a name="line.68"></a> +<span class="sourceLineNo">069</span> return "Still no last pushed sequence id for " + region;<a name="line.69"></a> +<span class="sourceLineNo">070</span> }<a name="line.70"></a> +<span class="sourceLineNo">071</span> });<a name="line.71"></a> +<span class="sourceLineNo">072</span> }<a name="line.72"></a> +<span class="sourceLineNo">073</span><a name="line.73"></a> +<span class="sourceLineNo">074</span> @Test<a name="line.74"></a> +<span class="sourceLineNo">075</span> public void testRemoveTable() throws Exception {<a name="line.75"></a> +<span class="sourceLineNo">076</span> TableName tableName = createTable();<a name="line.76"></a> +<span class="sourceLineNo">077</span> ReplicationPeerConfig peerConfig = ReplicationPeerConfig.newBuilder()<a name="line.77"></a> +<span class="sourceLineNo">078</span> .setClusterKey("127.0.0.1:2181:/hbase")<a name="line.78"></a> +<span class="sourceLineNo">079</span> .setReplicationEndpointImpl(LocalReplicationEndpoint.class.getName())<a name="line.79"></a> +<span class="sourceLineNo">080</span> .setReplicateAllUserTables(false)<a name="line.80"></a> +<span class="sourceLineNo">081</span> .setTableCFsMap(ImmutableMap.of(tableName, Collections.emptyList())).setSerial(true).build();<a name="line.81"></a> +<span class="sourceLineNo">082</span> UTIL.getAdmin().addReplicationPeer(PEER_ID, peerConfig, true);<a name="line.82"></a> +<span class="sourceLineNo">083</span> try (Table table = UTIL.getConnection().getTable(tableName)) {<a name="line.83"></a> +<span class="sourceLineNo">084</span> for (int i = 0; i < 100; i++) {<a name="line.84"></a> +<span class="sourceLineNo">085</span> table.put(new Put(Bytes.toBytes(i)).addColumn(CF, CQ, Bytes.toBytes(i)));<a name="line.85"></a> +<span class="sourceLineNo">086</span> }<a name="line.86"></a> +<span class="sourceLineNo">087</span> }<a name="line.87"></a> +<span class="sourceLineNo">088</span> RegionInfo region = UTIL.getMiniHBaseCluster().getRegions(tableName).get(0).getRegionInfo();<a name="line.88"></a> +<span class="sourceLineNo">089</span> waitUntilHasLastPushedSequenceId(region);<a name="line.89"></a> +<span class="sourceLineNo">090</span><a name="line.90"></a> +<span class="sourceLineNo">091</span> UTIL.getAdmin().updateReplicationPeerConfig(PEER_ID,<a name="line.91"></a> +<span class="sourceLineNo">092</span> ReplicationPeerConfig.newBuilder(peerConfig).setTableCFsMap(Collections.emptyMap()).build());<a name="line.92"></a> +<span class="sourceLineNo">093</span><a name="line.93"></a> +<span class="sourceLineNo">094</span> ReplicationQueueStorage queueStorage =<a name="line.94"></a> +<span class="sourceLineNo">095</span> UTIL.getMiniHBaseCluster().getMaster().getReplicationPeerManager().getQueueStorage();<a name="line.95"></a> +<span class="sourceLineNo">096</span> assertEquals(HConstants.NO_SEQNUM,<a name="line.96"></a> +<span class="sourceLineNo">097</span> queueStorage.getLastSequenceId(region.getEncodedName(), PEER_ID));<a name="line.97"></a> +<span class="sourceLineNo">098</span> }<a name="line.98"></a> +<span class="sourceLineNo">099</span><a name="line.99"></a> +<span class="sourceLineNo">100</span> @Test<a name="line.100"></a> +<span class="sourceLineNo">101</span> public void testRemoveSerialFlag() throws Exception {<a name="line.101"></a> +<span class="sourceLineNo">102</span> TableName tableName = createTable();<a name="line.102"></a> +<span class="sourceLineNo">103</span> addPeer(true);<a name="line.103"></a> +<span class="sourceLineNo">104</span> try (Table table = UTIL.getConnection().getTable(tableName)) {<a name="line.104"></a> +<span class="sourceLineNo">105</span> for (int i = 0; i < 100; i++) {<a name="line.105"></a> +<span class="sourceLineNo">106</span> table.put(new Put(Bytes.toBytes(i)).addColumn(CF, CQ, Bytes.toBytes(i)));<a name="line.106"></a> +<span class="sourceLineNo">107</span> }<a name="line.107"></a> +<span class="sourceLineNo">108</span> }<a name="line.108"></a> +<span class="sourceLineNo">109</span> RegionInfo region = UTIL.getMiniHBaseCluster().getRegions(tableName).get(0).getRegionInfo();<a name="line.109"></a> +<span class="sourceLineNo">110</span> waitUntilHasLastPushedSequenceId(region);<a name="line.110"></a> +<span class="sourceLineNo">111</span> UTIL.getAdmin().updateReplicationPeerConfig(PEER_ID, ReplicationPeerConfig<a name="line.111"></a> +<span class="sourceLineNo">112</span> .newBuilder(UTIL.getAdmin().getReplicationPeerConfig(PEER_ID)).setSerial(false).build());<a name="line.112"></a> +<span class="sourceLineNo">113</span> waitUntilReplicationDone(100);<a name="line.113"></a> +<span class="sourceLineNo">114</span><a name="line.114"></a> +<span class="sourceLineNo">115</span> ReplicationQueueStorage queueStorage =<a name="line.115"></a> +<span class="sourceLineNo">116</span> UTIL.getMiniHBaseCluster().getMaster().getReplicationPeerManager().getQueueStorage();<a name="line.116"></a> +<span class="sourceLineNo">117</span> assertEquals(HConstants.NO_SEQNUM,<a name="line.117"></a> +<span class="sourceLineNo">118</span> queueStorage.getLastSequenceId(region.getEncodedName(), PEER_ID));<a name="line.118"></a> +<span class="sourceLineNo">119</span> }<a name="line.119"></a> +<span class="sourceLineNo">120</span>}<a name="line.120"></a> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</pre> +</div> +</body> +</html>
