Repository: hbase-site Updated Branches: refs/heads/asf-site a44d79699 -> 7cf6034ba
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/7cf6034b/testdevapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html b/testdevapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html index 88d8c36..996b13a 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html +++ b/testdevapidocs/org/apache/hadoop/hbase/MiniHBaseCluster.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -119,7 +119,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>@InterfaceAudience.Public -public class <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.56">MiniHBaseCluster</a> +public class <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.57">MiniHBaseCluster</a> extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="class in org.apache.hadoop.hbase">HBaseCluster</a></pre> <div class="block">This class creates a single process HBase cluster. each server. The master uses the 'default' FileSystem. The RegionServers, @@ -463,38 +463,45 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c </tr> <tr id="i38" class="altColor"> <td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#killNameNode-org.apache.hadoop.hbase.ServerName-">killNameNode</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> +<div class="block">Kills the namenode process if this is a distributed cluster, otherwise, this causes master to + exit doing basic clean up only.</div> +</td> +</tr> +<tr id="i39" class="rowColor"> +<td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#killRegionServer-org.apache.hadoop.hbase.ServerName-">killRegionServer</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> <div class="block">Kills the region server process if this is a distributed cluster, otherwise this causes the region server to exit doing basic clean up only.</div> </td> </tr> -<tr id="i39" class="rowColor"> +<tr id="i40" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#killZkNode-org.apache.hadoop.hbase.ServerName-">killZkNode</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> <div class="block">Kills the zookeeper node process if this is a distributed cluster, otherwise, this causes master to exit doing basic clean up only.</div> </td> </tr> -<tr id="i40" class="altColor"> +<tr id="i41" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#shutdown--">shutdown</a></span>()</code> <div class="block">Shut down the mini HBase cluster</div> </td> </tr> -<tr id="i41" class="rowColor"> +<tr id="i42" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startDataNode-org.apache.hadoop.hbase.ServerName-">startDataNode</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> <div class="block">Starts a new datanode on the given hostname or if this is a mini/local cluster, silently logs warning message.</div> </td> </tr> -<tr id="i42" class="altColor"> +<tr id="i43" class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startMaster--">startMaster</a></span>()</code> <div class="block">Starts a master thread running</div> </td> </tr> -<tr id="i43" class="rowColor"> +<tr id="i44" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startMaster-java.lang.String-int-">startMaster</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, int port)</code> @@ -502,13 +509,20 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c starts a master locally.</div> </td> </tr> -<tr id="i44" class="altColor"> +<tr id="i45" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startNameNode-org.apache.hadoop.hbase.ServerName-">startNameNode</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> +<div class="block">Starts a new namenode on the given hostname or if this is a mini/local cluster, silently logs + warning message.</div> +</td> +</tr> +<tr id="i46" class="altColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startRegionServer--">startRegionServer</a></span>()</code> <div class="block">Starts a region server thread running</div> </td> </tr> -<tr id="i45" class="rowColor"> +<tr id="i47" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startRegionServer-java.lang.String-int-">startRegionServer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, int port)</code> @@ -516,13 +530,13 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c starts a region server locally.</div> </td> </tr> -<tr id="i46" class="altColor"> +<tr id="i48" class="altColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startRegionServerAndWait-long-">startRegionServerAndWait</a></span>(long timeout)</code> <div class="block">Starts a region server thread and waits until its processed by master.</div> </td> </tr> -<tr id="i47" class="rowColor"> +<tr id="i49" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#startZkNode-java.lang.String-int-">startZkNode</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, int port)</code> @@ -530,120 +544,140 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c silently logs warning message.</div> </td> </tr> -<tr id="i48" class="altColor"> +<tr id="i50" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopDataNode-org.apache.hadoop.hbase.ServerName-">stopDataNode</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> <div class="block">Stops the datanode if this is a distributed cluster, otherwise silently logs warning message.</div> </td> </tr> -<tr id="i49" class="rowColor"> +<tr id="i51" class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopMaster-int-">stopMaster</a></span>(int serverNumber)</code> <div class="block">Shut down the specified master cleanly</div> </td> </tr> -<tr id="i50" class="altColor"> +<tr id="i52" class="altColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopMaster-int-boolean-">stopMaster</a></span>(int serverNumber, boolean shutdownFS)</code> <div class="block">Shut down the specified master cleanly</div> </td> </tr> -<tr id="i51" class="rowColor"> +<tr id="i53" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopMaster-org.apache.hadoop.hbase.ServerName-">stopMaster</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> <div class="block">Stops the given master, by attempting a gradual stop.</div> </td> </tr> -<tr id="i52" class="altColor"> +<tr id="i54" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopNameNode-org.apache.hadoop.hbase.ServerName-">stopNameNode</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> +<div class="block">Stops the namenode if this is a distributed cluster, otherwise silently logs warning message.</div> +</td> +</tr> +<tr id="i55" class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopRegionServer-int-">stopRegionServer</a></span>(int serverNumber)</code> <div class="block">Shut down the specified region server cleanly</div> </td> </tr> -<tr id="i53" class="rowColor"> +<tr id="i56" class="altColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopRegionServer-int-boolean-">stopRegionServer</a></span>(int serverNumber, boolean shutdownFS)</code> <div class="block">Shut down the specified region server cleanly</div> </td> </tr> -<tr id="i54" class="altColor"> +<tr id="i57" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopRegionServer-org.apache.hadoop.hbase.ServerName-">stopRegionServer</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> <div class="block">Stops the given region server, by attempting a gradual stop.</div> </td> </tr> -<tr id="i55" class="rowColor"> +<tr id="i58" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#stopZkNode-org.apache.hadoop.hbase.ServerName-">stopZkNode</a></span>(org.apache.hadoop.hbase.ServerName serverName)</code> <div class="block">Stops the region zookeeper if this is a distributed cluster, otherwise silently logs warning message.</div> </td> </tr> -<tr id="i56" class="altColor"> +<tr id="i59" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForActiveAndReadyMaster-long-">waitForActiveAndReadyMaster</a></span>(long timeout)</code> <div class="block">Blocks until there is an active master and that master has completed initialization.</div> </td> </tr> -<tr id="i57" class="rowColor"> +<tr id="i60" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForDataNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForDataNodeToStart</a></span>(org.apache.hadoop.hbase.ServerName serverName, long timeout)</code> <div class="block">Wait for the specified datanode to join the cluster</div> </td> </tr> -<tr id="i58" class="altColor"> +<tr id="i61" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForDataNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForDataNodeToStop</a></span>(org.apache.hadoop.hbase.ServerName serverName, long timeout)</code> <div class="block">Wait for the specified datanode to stop the thread / process.</div> </td> </tr> -<tr id="i59" class="rowColor"> +<tr id="i62" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForMasterToStop-org.apache.hadoop.hbase.ServerName-long-">waitForMasterToStop</a></span>(org.apache.hadoop.hbase.ServerName serverName, long timeout)</code> <div class="block">Wait for the specified master to stop the thread / process.</div> </td> </tr> -<tr id="i60" class="altColor"> +<tr id="i63" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForNameNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStart</a></span>(org.apache.hadoop.hbase.ServerName serverName, + long timeout)</code> +<div class="block">Wait for the specified namenode to join the cluster</div> +</td> +</tr> +<tr id="i64" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForNameNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStop</a></span>(org.apache.hadoop.hbase.ServerName serverName, + long timeout)</code> +<div class="block">Wait for the specified namenode to stop</div> +</td> +</tr> +<tr id="i65" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForRegionServerToStop-org.apache.hadoop.hbase.ServerName-long-">waitForRegionServerToStop</a></span>(org.apache.hadoop.hbase.ServerName serverName, long timeout)</code> <div class="block">Wait for the specified region server to stop the thread / process.</div> </td> </tr> -<tr id="i61" class="rowColor"> +<tr id="i66" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForZkNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForZkNodeToStart</a></span>(org.apache.hadoop.hbase.ServerName serverName, long timeout)</code> <div class="block">Wait for the specified zookeeper node to join the cluster</div> </td> </tr> -<tr id="i62" class="altColor"> +<tr id="i67" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitForZkNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForZkNodeToStop</a></span>(org.apache.hadoop.hbase.ServerName serverName, long timeout)</code> <div class="block">Wait for the specified zookeeper node to stop the thread / process.</div> </td> </tr> -<tr id="i63" class="rowColor"> +<tr id="i68" class="altColor"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitOnMaster-int-">waitOnMaster</a></span>(int serverNumber)</code> <div class="block">Wait for the specified master to stop.</div> </td> </tr> -<tr id="i64" class="altColor"> +<tr id="i69" class="rowColor"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitOnRegionServer-int-">waitOnRegionServer</a></span>(int serverNumber)</code> <div class="block">Wait for the specified region server to stop.</div> </td> </tr> -<tr id="i65" class="rowColor"> +<tr id="i70" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#waitUntilShutDown--">waitUntilShutDown</a></span>()</code> <div class="block">Wait for HBase Cluster to shut down.</div> @@ -684,7 +718,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.slf4j.Logger <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.57">LOG</a></pre> +<pre>private static final org.slf4j.Logger <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.58">LOG</a></pre> </li> </ul> <a name="hbaseCluster"> @@ -693,7 +727,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>hbaseCluster</h4> -<pre>public org.apache.hadoop.hbase.LocalHBaseCluster <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.58">hbaseCluster</a></pre> +<pre>public org.apache.hadoop.hbase.LocalHBaseCluster <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.59">hbaseCluster</a></pre> </li> </ul> <a name="index"> @@ -702,7 +736,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockListLast"> <li class="blockList"> <h4>index</h4> -<pre>private static int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.59">index</a></pre> +<pre>private static int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.60">index</a></pre> </li> </ul> </li> @@ -719,7 +753,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>MiniHBaseCluster</h4> -<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.67">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, +<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.68">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, int numRegionServers) 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>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre> @@ -740,7 +774,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>MiniHBaseCluster</h4> -<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.79">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, +<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.80">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, int numMasters, int numRegionServers) 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>, @@ -763,7 +797,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>MiniHBaseCluster</h4> -<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.90">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, +<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.91">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, int numMasters, int numRegionServers, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends org.apache.hadoop.hbase.master.HMaster> masterClass, @@ -788,7 +822,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockListLast"> <li class="blockList"> <h4>MiniHBaseCluster</h4> -<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.105">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, +<pre>public <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.106">MiniHBaseCluster</a>(org.apache.hadoop.conf.Configuration conf, int numMasters, int numRegionServers, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> rsPorts, @@ -822,7 +856,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>getConfiguration</h4> -<pre>public org.apache.hadoop.conf.Configuration <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.119">getConfiguration</a>()</pre> +<pre>public org.apache.hadoop.conf.Configuration <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.120">getConfiguration</a>()</pre> </li> </ul> <a name="init-int-int-java.util.List-java.lang.Class-java.lang.Class-"> @@ -831,7 +865,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>init</h4> -<pre>private void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.231">init</a>(int nMasterNodes, +<pre>private void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.232">init</a>(int nMasterNodes, int nRegionNodes, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> rsPorts, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends org.apache.hadoop.hbase.master.HMaster> masterClass, @@ -851,7 +885,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>startRegionServer</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.270">startRegionServer</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.271">startRegionServer</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, int port) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#startRegionServer-java.lang.String-int-">HBaseCluster</a></code></span></div> @@ -873,7 +907,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>killRegionServer</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.275">killRegionServer</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.276">killRegionServer</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#killRegionServer-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Kills the region server process if this is a distributed cluster, otherwise @@ -892,7 +926,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>isKilledRS</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.286">isKilledRS</a>(org.apache.hadoop.hbase.ServerName serverName)</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.287">isKilledRS</a>(org.apache.hadoop.hbase.ServerName serverName)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#isKilledRS-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Keeping track of killed servers and being able to check if a particular server was killed makes it possible to do fault tolerance testing for dead servers in a deterministic way. A concrete @@ -911,7 +945,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopRegionServer</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.291">stopRegionServer</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.292">stopRegionServer</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#stopRegionServer-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Stops the given region server, by attempting a gradual stop.</div> @@ -929,7 +963,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitForRegionServerToStop</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.296">waitForRegionServerToStop</a>(org.apache.hadoop.hbase.ServerName serverName, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.297">waitForRegionServerToStop</a>(org.apache.hadoop.hbase.ServerName serverName, long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForRegionServerToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> @@ -948,7 +982,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>startZkNode</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.302">startZkNode</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.303">startZkNode</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, int port) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#startZkNode-java.lang.String-int-">HBaseCluster</a></code></span></div> @@ -970,7 +1004,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>killZkNode</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.307">killZkNode</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.308">killZkNode</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#killZkNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Kills the zookeeper node process if this is a distributed cluster, otherwise, @@ -989,7 +1023,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopZkNode</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.312">stopZkNode</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.313">stopZkNode</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#stopZkNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Stops the region zookeeper if this is a distributed cluster, otherwise @@ -1008,7 +1042,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitForZkNodeToStart</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.317">waitForZkNodeToStart</a>(org.apache.hadoop.hbase.ServerName serverName, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.318">waitForZkNodeToStart</a>(org.apache.hadoop.hbase.ServerName serverName, long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForZkNodeToStart-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> @@ -1027,7 +1061,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitForZkNodeToStop</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.322">waitForZkNodeToStop</a>(org.apache.hadoop.hbase.ServerName serverName, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.323">waitForZkNodeToStop</a>(org.apache.hadoop.hbase.ServerName serverName, long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForZkNodeToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> @@ -1046,7 +1080,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>startDataNode</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.327">startDataNode</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.328">startDataNode</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#startDataNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Starts a new datanode on the given hostname or if this is a mini/local cluster, @@ -1065,7 +1099,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>killDataNode</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.332">killDataNode</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.333">killDataNode</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#killDataNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Kills the datanode process if this is a distributed cluster, otherwise, @@ -1084,7 +1118,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopDataNode</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.337">stopDataNode</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.338">stopDataNode</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#stopDataNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Stops the datanode if this is a distributed cluster, otherwise @@ -1103,7 +1137,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitForDataNodeToStart</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.342">waitForDataNodeToStart</a>(org.apache.hadoop.hbase.ServerName serverName, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.343">waitForDataNodeToStart</a>(org.apache.hadoop.hbase.ServerName serverName, long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForDataNodeToStart-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> @@ -1122,7 +1156,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitForDataNodeToStop</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.347">waitForDataNodeToStop</a>(org.apache.hadoop.hbase.ServerName serverName, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.348">waitForDataNodeToStop</a>(org.apache.hadoop.hbase.ServerName serverName, long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForDataNodeToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> @@ -1135,13 +1169,107 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c </dl> </li> </ul> +<a name="startNameNode-org.apache.hadoop.hbase.ServerName-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startNameNode</h4> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.353">startNameNode</a>(org.apache.hadoop.hbase.ServerName serverName) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#startNameNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> +<div class="block">Starts a new namenode on the given hostname or if this is a mini/local cluster, silently logs + warning message.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#startNameNode-org.apache.hadoop.hbase.ServerName-">startNameNode</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="class in org.apache.hadoop.hbase">HBaseCluster</a></code></dd> +<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> - if something goes wrong</dd> +</dl> +</li> +</ul> +<a name="killNameNode-org.apache.hadoop.hbase.ServerName-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>killNameNode</h4> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.358">killNameNode</a>(org.apache.hadoop.hbase.ServerName serverName) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#killNameNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> +<div class="block">Kills the namenode process if this is a distributed cluster, otherwise, this causes master to + exit doing basic clean up only.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#killNameNode-org.apache.hadoop.hbase.ServerName-">killNameNode</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="class in org.apache.hadoop.hbase">HBaseCluster</a></code></dd> +<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> - if something goes wrong</dd> +</dl> +</li> +</ul> +<a name="stopNameNode-org.apache.hadoop.hbase.ServerName-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>stopNameNode</h4> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.363">stopNameNode</a>(org.apache.hadoop.hbase.ServerName serverName) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#stopNameNode-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> +<div class="block">Stops the namenode if this is a distributed cluster, otherwise silently logs warning message.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#stopNameNode-org.apache.hadoop.hbase.ServerName-">stopNameNode</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="class in org.apache.hadoop.hbase">HBaseCluster</a></code></dd> +<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> - if something goes wrong</dd> +</dl> +</li> +</ul> +<a name="waitForNameNodeToStart-org.apache.hadoop.hbase.ServerName-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>waitForNameNodeToStart</h4> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.368">waitForNameNodeToStart</a>(org.apache.hadoop.hbase.ServerName serverName, + long timeout) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForNameNodeToStart-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> +<div class="block">Wait for the specified namenode to join the cluster</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForNameNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStart</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="class in org.apache.hadoop.hbase">HBaseCluster</a></code></dd> +<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> - if something goes wrong or timeout occurs</dd> +</dl> +</li> +</ul> +<a name="waitForNameNodeToStop-org.apache.hadoop.hbase.ServerName-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>waitForNameNodeToStop</h4> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.373">waitForNameNodeToStop</a>(org.apache.hadoop.hbase.ServerName serverName, + long timeout) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForNameNodeToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> +<div class="block">Wait for the specified namenode to stop</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForNameNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStop</a></code> in class <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="class in org.apache.hadoop.hbase">HBaseCluster</a></code></dd> +<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> - if something goes wrong or timeout occurs</dd> +</dl> +</li> +</ul> <a name="startMaster-java.lang.String-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>startMaster</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.352">startMaster</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.378">startMaster</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> hostname, int port) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#startMaster-java.lang.String-int-">HBaseCluster</a></code></span></div> @@ -1163,7 +1291,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>killMaster</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.357">killMaster</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.383">killMaster</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#killMaster-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Kills the master process if this is a distributed cluster, otherwise, @@ -1182,7 +1310,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopMaster</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.362">stopMaster</a>(org.apache.hadoop.hbase.ServerName serverName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.388">stopMaster</a>(org.apache.hadoop.hbase.ServerName serverName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#stopMaster-org.apache.hadoop.hbase.ServerName-">HBaseCluster</a></code></span></div> <div class="block">Stops the given master, by attempting a gradual stop.</div> @@ -1200,7 +1328,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitForMasterToStop</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.367">waitForMasterToStop</a>(org.apache.hadoop.hbase.ServerName serverName, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.393">waitForMasterToStop</a>(org.apache.hadoop.hbase.ServerName serverName, long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitForMasterToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseCluster</a></code></span></div> @@ -1219,7 +1347,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>startRegionServer</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.378">startRegionServer</a>() +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.404">startRegionServer</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Starts a region server thread running</div> <dl> @@ -1236,7 +1364,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>startRegionServerAndWait</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.402">startRegionServerAndWait</a>(long timeout) +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.428">startRegionServerAndWait</a>(long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Starts a region server thread and waits until its processed by master. Throws an exception when it can't start a region server or when the region server is not processed by master @@ -1255,7 +1383,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>abortRegionServer</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.427">abortRegionServer</a>(int serverNumber)</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.453">abortRegionServer</a>(int serverNumber)</pre> <div class="block">Cause a region server to exit doing basic clean up only on its way out.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1269,7 +1397,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopRegionServer</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.440">stopRegionServer</a>(int serverNumber)</pre> +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.466">stopRegionServer</a>(int serverNumber)</pre> <div class="block">Shut down the specified region server cleanly</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1285,7 +1413,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopRegionServer</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.454">stopRegionServer</a>(int serverNumber, +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.480">stopRegionServer</a>(int serverNumber, boolean shutdownFS)</pre> <div class="block">Shut down the specified region server cleanly</div> <dl> @@ -1306,7 +1434,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitOnRegionServer</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.469">waitOnRegionServer</a>(int serverNumber)</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.495">waitOnRegionServer</a>(int serverNumber)</pre> <div class="block">Wait for the specified region server to stop. Removes this thread from list of running threads.</div> <dl> @@ -1323,7 +1451,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>startMaster</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.479">startMaster</a>() +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.505">startMaster</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Starts a master thread running</div> <dl> @@ -1340,7 +1468,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>getMasterAdminService</h4> -<pre>public org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.499">getMasterAdminService</a>()</pre> +<pre>public org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.525">getMasterAdminService</a>()</pre> <div class="block">Returns the current active master, if available.</div> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> @@ -1356,7 +1484,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>getMaster</h4> -<pre>public org.apache.hadoop.hbase.master.HMaster <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.507">getMaster</a>()</pre> +<pre>public org.apache.hadoop.hbase.master.HMaster <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.533">getMaster</a>()</pre> <div class="block">Returns the current active master, if available.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1370,7 +1498,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>getMasterThread</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.515">getMasterThread</a>()</pre> +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.541">getMasterThread</a>()</pre> <div class="block">Returns the current active master thread, if available.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1384,7 +1512,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>getMaster</h4> -<pre>public org.apache.hadoop.hbase.master.HMaster <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.528">getMaster</a>(int serverNumber)</pre> +<pre>public org.apache.hadoop.hbase.master.HMaster <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.554">getMaster</a>(int serverNumber)</pre> <div class="block">Returns the master at the specified index, if available.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1398,7 +1526,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>abortMaster</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.536">abortMaster</a>(int serverNumber)</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.562">abortMaster</a>(int serverNumber)</pre> <div class="block">Cause a master to exit without shutting down entire cluster.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1412,7 +1540,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopMaster</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.549">stopMaster</a>(int serverNumber)</pre> +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.575">stopMaster</a>(int serverNumber)</pre> <div class="block">Shut down the specified master cleanly</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1428,7 +1556,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>stopMaster</h4> -<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.563">stopMaster</a>(int serverNumber, +<pre>public org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.589">stopMaster</a>(int serverNumber, boolean shutdownFS)</pre> <div class="block">Shut down the specified master cleanly</div> <dl> @@ -1449,7 +1577,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitOnMaster</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.578">waitOnMaster</a>(int serverNumber)</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.604">waitOnMaster</a>(int serverNumber)</pre> <div class="block">Wait for the specified master to stop. Removes this thread from list of running threads.</div> <dl> @@ -1466,7 +1594,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>waitForActiveAndReadyMaster</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.591">waitForActiveAndReadyMaster</a>(long timeout) +<pre>public boolean <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.617">waitForActiveAndReadyMaster</a>(long timeout) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Blocks until there is an active master and that master has completed initialization.</div> @@ -1490,7 +1618,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>getMasterThreads</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.610">getMasterThreads</a>()</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.636">getMasterThreads</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>List of master threads.</dd> @@ -1503,7 +1631,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>getLiveMasterThreads</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.617">getLiveMasterThreads</a>()</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.643">getLiveMasterThreads</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>List of live master threads (skips the aborted and the killed)</dd> @@ -1516,7 +1644,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>join</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.624">join</a>()</pre> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.650">join</a>()</pre> <div class="block">Wait for Mini HBase Cluster to shut down.</div> </li> </ul> @@ -1526,7 +1654,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>shutdown</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.632">shutdown</a>() +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.658">shutdown</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Shut down the mini HBase cluster</div> <dl> @@ -1543,7 +1671,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <ul class="blockList"> <li class="blockList"> <h4>close</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.639">close</a>() +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.665">close</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#close--">HBaseCluster</a></code></span></div> <div class="block">Closes all the resources held open for this cluster. Note that this call does not shutdown @@ -1569,7 +1697,7 @@ extends <a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html" title="c <li class="blockList"> <h4>getClusterStatus</h4> <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.647">getClusterStatus</a>() +public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.673">getClusterStatus</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of release 2.0.0, this will be removed in HBase 3.0.0 Use <a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#getClusterMetrics--"><code>getClusterMetrics()</code></a> instead.</span></div> @@ -1585,7 +1713,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getClusterMetrics</h4> -<pre>public org.apache.hadoop.hbase.ClusterMetrics <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.653">getClusterMetrics</a>() +<pre>public org.apache.hadoop.hbase.ClusterMetrics <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.679">getClusterMetrics</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#getClusterMetrics--">HBaseCluster</a></code></span></div> <div class="block">Returns a ClusterMetrics for this HBase cluster.</div> @@ -1605,7 +1733,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>executeFlush</h4> -<pre>private void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.658">executeFlush</a>(org.apache.hadoop.hbase.regionserver.HRegion region) +<pre>private void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.684">executeFlush</a>(org.apache.hadoop.hbase.regionserver.HRegion region) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -1619,7 +1747,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>flushcache</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.672">flushcache</a>() +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.698">flushcache</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Call flushCache on all regions on all participating regionservers.</div> <dl> @@ -1634,7 +1762,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>flushcache</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.683">flushcache</a>(org.apache.hadoop.hbase.TableName tableName) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.709">flushcache</a>(org.apache.hadoop.hbase.TableName tableName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Call flushCache on all regions of the specified table.</div> <dl> @@ -1649,7 +1777,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>compact</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.697">compact</a>(boolean major) +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.723">compact</a>(boolean major) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Call flushCache on all regions on all participating regionservers.</div> <dl> @@ -1664,7 +1792,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>compact</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.710">compact</a>(org.apache.hadoop.hbase.TableName tableName, +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.736">compact</a>(org.apache.hadoop.hbase.TableName tableName, boolean major) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Call flushCache on all regions of the specified table.</div> @@ -1680,7 +1808,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getRegionServerThreads</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.725">getRegionServerThreads</a>()</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.751">getRegionServerThreads</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>List of region server threads. Does not return the master even though it is also @@ -1694,7 +1822,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getLiveRegionServerThreads</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.732">getLiveRegionServerThreads</a>()</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.758">getLiveRegionServerThreads</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>List of live region server threads (skips the aborted and the killed)</dd> @@ -1707,7 +1835,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getRegionServer</h4> -<pre>public org.apache.hadoop.hbase.regionserver.HRegionServer <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.741">getRegionServer</a>(int serverNumber)</pre> +<pre>public org.apache.hadoop.hbase.regionserver.HRegionServer <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.767">getRegionServer</a>(int serverNumber)</pre> <div class="block">Grab a numbered region server of your choice.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1723,7 +1851,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getRegionServer</h4> -<pre>public org.apache.hadoop.hbase.regionserver.HRegionServer <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.745">getRegionServer</a>(org.apache.hadoop.hbase.ServerName serverName)</pre> +<pre>public org.apache.hadoop.hbase.regionserver.HRegionServer <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.771">getRegionServer</a>(org.apache.hadoop.hbase.ServerName serverName)</pre> </li> </ul> <a name="getRegions-byte:A-"> @@ -1732,7 +1860,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getRegions</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.regionserver.HRegion> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.752">getRegions</a>(byte[] tableName)</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.regionserver.HRegion> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.778">getRegions</a>(byte[] tableName)</pre> </li> </ul> <a name="getRegions-org.apache.hadoop.hbase.TableName-"> @@ -1741,7 +1869,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getRegions</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.regionserver.HRegion> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.756">getRegions</a>(org.apache.hadoop.hbase.TableName tableName)</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.regionserver.HRegion> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.782">getRegions</a>(org.apache.hadoop.hbase.TableName tableName)</pre> </li> </ul> <a name="getServerWithMeta--"> @@ -1750,7 +1878,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getServerWithMeta</h4> -<pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.773">getServerWithMeta</a>()</pre> +<pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.799">getServerWithMeta</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>Index into List of <a href="../../../../org/apache/hadoop/hbase/MiniHBaseCluster.html#getRegionServerThreads--"><code>getRegionServerThreads()</code></a> @@ -1764,7 +1892,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getServerWith</h4> -<pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.783">getServerWith</a>(byte[] regionName)</pre> +<pre>public int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.809">getServerWith</a>(byte[] regionName)</pre> <div class="block">Get the location of the specified region</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1781,7 +1909,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getServerHoldingRegion</h4> -<pre>public org.apache.hadoop.hbase.ServerName <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.801">getServerHoldingRegion</a>(org.apache.hadoop.hbase.TableName tn, +<pre>public org.apache.hadoop.hbase.ServerName <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.827">getServerHoldingRegion</a>(org.apache.hadoop.hbase.TableName tn, byte[] regionName) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#getServerHoldingRegion-org.apache.hadoop.hbase.TableName-byte:A-">HBaseCluster</a></code></span></div> @@ -1805,7 +1933,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>countServedRegions</h4> -<pre>public long <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.825">countServedRegions</a>()</pre> +<pre>public long <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.851">countServedRegions</a>()</pre> <div class="block">Counts the total numbers of regions being served by the currently online region servers by asking each how many regions they have. Does not look at hbase:meta at all. Count includes catalog tables.</div> @@ -1821,7 +1949,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>killAll</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.840">killAll</a>()</pre> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.866">killAll</a>()</pre> <div class="block">Do a simulated kill all masters and regionservers. Useful when it is impossible to bring the mini-cluster back for clean shutdown.</div> </li> @@ -1832,7 +1960,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>waitUntilShutDown</h4> -<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.860">waitUntilShutDown</a>()</pre> +<pre>public void <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.886">waitUntilShutDown</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/hadoop/hbase/HBaseCluster.html#waitUntilShutDown--">HBaseCluster</a></code></span></div> <div class="block">Wait for HBase Cluster to shut down.</div> <dl> @@ -1847,7 +1975,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>findRegionsForTable</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.regionserver.HRegion> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.864">findRegionsForTable</a>(org.apache.hadoop.hbase.TableName tableName)</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.regionserver.HRegion> <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.890">findRegionsForTable</a>(org.apache.hadoop.hbase.TableName tableName)</pre> </li> </ul> <a name="getRegionServerIndex-org.apache.hadoop.hbase.ServerName-"> @@ -1856,7 +1984,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getRegionServerIndex</h4> -<pre>protected int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.878">getRegionServerIndex</a>(org.apache.hadoop.hbase.ServerName serverName)</pre> +<pre>protected int <a href="../../../../src-html/org/apache/hadoop/hbase/MiniHBaseCluster.html#line.904">getRegionServerIndex</a>(org.apache.hadoop.hbase.ServerName serverName)</pre> </li> </ul> <a name="getMasterIndex-org.apache.hadoop.hbase.ServerName-"> @@ -1865,7 +1993,7 @@ public org.apache.hadoop.hbase.ClusterStatus <a href="../../../../src- <ul class="blockList"> <li class="blockList"> <h4>getMasterIndex</h4> -<pre>protected int <a href="../../ <TRUNCATED>