blob: 229e2e6875714dab39e1a7d52c58299088ae8ed9 [file] [log] [blame]
<!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>SingleProcessHBaseCluster (Apache HBase 3.0.0-alpha-2-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="SingleProcessHBaseCluster (Apache HBase 3.0.0-alpha-2-SNAPSHOT Test API)";
}
}
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":10,"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,"i71":10,"i72":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/SingleProcessHBaseCluster.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/ShellExecEndpointCoprocessor.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/hadoop/hbase/SingleProcessHBaseCluster.html" target="_top">Frames</a></li>
<li><a href="SingleProcessHBaseCluster.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.hadoop.hbase</div>
<h2 title="Class SingleProcessHBaseCluster" class="title">Class SingleProcessHBaseCluster</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/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">org.apache.hadoop.hbase.HBaseClusterInterface</a></li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.hbase.SingleProcessHBaseCluster</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, org.apache.hadoop.conf.Configurable</dd>
</dl>
<hr>
<br>
<pre>@InterfaceAudience.LimitedPrivate(value="Phoenix")
@InterfaceStability.Evolving
public class <a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.57">SingleProcessHBaseCluster</a>
extends <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></pre>
<div class="block">This class creates a single process HBase cluster.
each server. The master uses the 'default' FileSystem. The RegionServers,
if we are running on DistributedFilesystem, create a FileSystem instance
each and will close down their instance on the way out.</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>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.MiniHBaseClusterRegionServer</a></span></code>
<div class="block">Subclass so can get at protected methods (none at moment).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.SingleFileSystemShutdownThread.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.SingleFileSystemShutdownThread</a></span></code>
<div class="block">Alternate shutdown hook.</div>
</td>
</tr>
</table>
</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">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.hadoop.hbase.LocalHBaseCluster</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#hbaseCluster">hbaseCluster</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#index">index</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static org.slf4j.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#LOG">LOG</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.HBaseClusterInterface">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></h3>
<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#conf">conf</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#initialClusterStatus">initialClusterStatus</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">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-">SingleProcessHBaseCluster</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numRegionServers)</code>
<div class="block">Start a MiniHBaseCluster.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-int-">SingleProcessHBaseCluster</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numMasters,
int&nbsp;numRegionServers)</code>
<div class="block">Start a MiniHBaseCluster.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-int-java.lang.Class-java.lang.Class-">SingleProcessHBaseCluster</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numMasters,
int&nbsp;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>&lt;? extends org.apache.hadoop.hbase.master.HMaster&gt;&nbsp;masterClass,
<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>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.MiniHBaseClusterRegionServer</a>&gt;&nbsp;regionserverClass)</code>
<div class="block">Start a MiniHBaseCluster.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-int-int-java.util.List-java.lang.Class-java.lang.Class-">SingleProcessHBaseCluster</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numMasters,
int&nbsp;numAlwaysStandByMasters,
int&nbsp;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>&lt;<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>&gt;&nbsp;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>&lt;? extends org.apache.hadoop.hbase.master.HMaster&gt;&nbsp;masterClass,
<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>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.MiniHBaseClusterRegionServer</a>&gt;&nbsp;regionserverClass)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><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/SingleProcessHBaseCluster.html#abortMaster-int-">abortMaster</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Cause a master to exit without shutting down entire cluster.</div>
</td>
</tr>
<tr id="i1" 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/SingleProcessHBaseCluster.html#abortRegionServer-int-">abortRegionServer</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Cause a region server to exit doing basic clean up only on its way out.</div>
</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/SingleProcessHBaseCluster.html#close--">close</a></span>()</code>
<div class="block">Closes all the resources held open for this cluster.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#compact-boolean-">compact</a></span>(boolean&nbsp;major)</code>
<div class="block">Call flushCache on all regions on all participating regionservers.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#compact-org.apache.hadoop.hbase.TableName-boolean-">compact</a></span>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
boolean&nbsp;major)</code>
<div class="block">Call flushCache on all regions of the specified table.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#countServedRegions--">countServedRegions</a></span>()</code>
<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.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#executeFlush-org.apache.hadoop.hbase.regionserver.HRegion-">executeFlush</a></span>(org.apache.hadoop.hbase.regionserver.HRegion&nbsp;region)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><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>&lt;org.apache.hadoop.hbase.regionserver.HRegion&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#findRegionsForTable-org.apache.hadoop.hbase.TableName-">findRegionsForTable</a></span>(org.apache.hadoop.hbase.TableName&nbsp;tableName)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#flushcache--">flushcache</a></span>()</code>
<div class="block">Call flushCache on all regions on all participating regionservers.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#flushcache-org.apache.hadoop.hbase.TableName-">flushcache</a></span>(org.apache.hadoop.hbase.TableName&nbsp;tableName)</code>
<div class="block">Call flushCache on all regions of the specified table.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.hbase.ClusterMetrics</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getClusterMetrics--">getClusterMetrics</a></span>()</code>
<div class="block">Returns a ClusterMetrics for this HBase cluster.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getConfiguration--">getConfiguration</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getLiveMasterThreads--">getLiveMasterThreads</a></span>()</code>
<div class="block">Returns list of live master threads (skips the aborted and the killed)</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getLiveRegionServerThreads--">getLiveRegionServerThreads</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.hbase.master.HMaster</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getMaster--">getMaster</a></span>()</code>
<div class="block">Returns the current active master, if available.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.hbase.master.HMaster</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getMaster-int-">getMaster</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Returns the master at the specified index, if available.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getMasterIndex-org.apache.hadoop.hbase.ServerName-">getMasterIndex</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
</tr>
<tr id="i17" 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/SingleProcessHBaseCluster.html#getMasterThread--">getMasterThread</a></span>()</code>
<div class="block">Returns the current active master thread, if available.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getMasterThreads--">getMasterThreads</a></span>()</code>
<div class="block">Returns list of master threads.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getNumLiveRegionServers--">getNumLiveRegionServers</a></span>()</code>
<div class="block">Returns number of live region servers in the cluster currently.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><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>&lt;org.apache.hadoop.hbase.regionserver.HRegion&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegions-byte:A-">getRegions</a></span>(byte[]&nbsp;tableName)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><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>&lt;org.apache.hadoop.hbase.regionserver.HRegion&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegions-org.apache.hadoop.hbase.TableName-">getRegions</a></span>(org.apache.hadoop.hbase.TableName&nbsp;tableName)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.hbase.regionserver.HRegionServer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegionServer-int-">getRegionServer</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Grab a numbered region server of your choice.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.hbase.regionserver.HRegionServer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegionServer-org.apache.hadoop.hbase.ServerName-">getRegionServer</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegionServerIndex-org.apache.hadoop.hbase.ServerName-">getRegionServerIndex</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegionServerThreads--">getRegionServerThreads</a></span>()</code>
<div class="block">Returns list of region server threads.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.hbase.ServerName</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getServerHoldingRegion-org.apache.hadoop.hbase.TableName-byte:A-">getServerHoldingRegion</a></span>(org.apache.hadoop.hbase.TableName&nbsp;tn,
byte[]&nbsp;regionName)</code>
<div class="block">Get the ServerName of region server serving the specified region</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getServerWith-byte:A-">getServerWith</a></span>(byte[]&nbsp;regionName)</code>
<div class="block">Get the location of the specified region</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getServerWithMeta--">getServerWithMeta</a></span>()</code>
<div class="block">Returns index into List of <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegionServerThreads--"><code>getRegionServerThreads()</code></a> of HRS
carrying regionName.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#init-int-int-int-java.util.List-java.lang.Class-java.lang.Class-">init</a></span>(int&nbsp;nMasterNodes,
int&nbsp;numAlwaysStandByMasters,
int&nbsp;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>&lt;<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>&gt;&nbsp;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>&lt;? extends org.apache.hadoop.hbase.master.HMaster&gt;&nbsp;masterClass,
<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>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.MiniHBaseClusterRegionServer</a>&gt;&nbsp;regionserverClass)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#isKilledRS-org.apache.hadoop.hbase.ServerName-">isKilledRS</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<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.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#join--">join</a></span>()</code>
<div class="block">Wait for Mini HBase Cluster to shut down.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#killAll--">killAll</a></span>()</code>
<div class="block">Do a simulated kill all masters and regionservers.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#killDataNode-org.apache.hadoop.hbase.ServerName-">killDataNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<div class="block">Kills the datanode process if this is a distributed cluster, otherwise,
this causes master to exit doing basic clean up only.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#killMaster-org.apache.hadoop.hbase.ServerName-">killMaster</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<div class="block">Kills the master process if this is a distributed cluster, otherwise,
this causes master to exit doing basic clean up only.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#killNameNode-org.apache.hadoop.hbase.ServerName-">killNameNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;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="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#killRegionServer-org.apache.hadoop.hbase.ServerName-">killRegionServer</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;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="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#killZkNode-org.apache.hadoop.hbase.ServerName-">killZkNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;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="i38" 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/SingleProcessHBaseCluster.html#resumeRegionServer-int-">resumeRegionServer</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Resume the specified region server</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/SingleProcessHBaseCluster.html#resumeRegionServer-org.apache.hadoop.hbase.ServerName-">resumeRegionServer</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<div class="block">Resume the region server</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#shutdown--">shutdown</a></span>()</code>
<div class="block">Shut down the mini HBase cluster</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#startDataNode-org.apache.hadoop.hbase.ServerName-">startDataNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;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">
<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/SingleProcessHBaseCluster.html#startMaster--">startMaster</a></span>()</code>
<div class="block">Starts a master thread running</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.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>&nbsp;hostname,
int&nbsp;port)</code>
<div class="block">Starts a new master on the given hostname or if this is a mini/local cluster,
starts a master locally.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#startNameNode-org.apache.hadoop.hbase.ServerName-">startNameNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;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="i45" 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/SingleProcessHBaseCluster.html#startRegionServer--">startRegionServer</a></span>()</code>
<div class="block">Starts a region server thread running</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>private org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#startRegionServer-org.apache.hadoop.conf.Configuration-">startRegionServer</a></span>(org.apache.hadoop.conf.Configuration&nbsp;configuration)</code>&nbsp;</td>
</tr>
<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/SingleProcessHBaseCluster.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>&nbsp;hostname,
int&nbsp;port)</code>
<div class="block">Starts a new region server on the given hostname or if this is a mini/local cluster,
starts a region server locally.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#startRegionServerAndWait-long-">startRegionServerAndWait</a></span>(long&nbsp;timeout)</code>
<div class="block">Starts a region server thread and waits until its processed by master.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.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>&nbsp;hostname,
int&nbsp;port)</code>
<div class="block">Starts a new zookeeper node on the given hostname or if this is a mini/local cluster,
silently logs warning message.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopDataNode-org.apache.hadoop.hbase.ServerName-">stopDataNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<div class="block">Stops the datanode if this is a distributed cluster, otherwise
silently logs warning message.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopMaster-int-">stopMaster</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Shut down the specified master cleanly</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopMaster-int-boolean-">stopMaster</a></span>(int&nbsp;serverNumber,
boolean&nbsp;shutdownFS)</code>
<div class="block">Shut down the specified master cleanly</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopMaster-org.apache.hadoop.hbase.ServerName-">stopMaster</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<div class="block">Stops the given master, by attempting a gradual stop.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopNameNode-org.apache.hadoop.hbase.ServerName-">stopNameNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;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/SingleProcessHBaseCluster.html#stopRegionServer-int-">stopRegionServer</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Shut down the specified region server cleanly</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopRegionServer-int-boolean-">stopRegionServer</a></span>(int&nbsp;serverNumber,
boolean&nbsp;shutdownFS)</code>
<div class="block">Shut down the specified region server cleanly</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopRegionServer-org.apache.hadoop.hbase.ServerName-">stopRegionServer</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<div class="block">Stops the given region server, by attempting a gradual stop.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#stopZkNode-org.apache.hadoop.hbase.ServerName-">stopZkNode</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;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="i59" 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/SingleProcessHBaseCluster.html#suspendRegionServer-int-">suspendRegionServer</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Suspend the specified region server</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#suspendRegionServer-org.apache.hadoop.hbase.ServerName-">suspendRegionServer</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</code>
<div class="block">Suspend the region server</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#waitForActiveAndReadyMaster-long-">waitForActiveAndReadyMaster</a></span>(long&nbsp;timeout)</code>
<div class="block">Blocks until there is an active master and that master has completed
initialization.</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#waitForDataNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForDataNodeToStart</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified datanode to join the cluster</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#waitForDataNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForDataNodeToStop</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified datanode to stop the thread / process.</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/SingleProcessHBaseCluster.html#waitForMasterToStop-org.apache.hadoop.hbase.ServerName-long-">waitForMasterToStop</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified master to stop the thread / process.</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/SingleProcessHBaseCluster.html#waitForNameNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStart</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified namenode to join the cluster</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#waitForNameNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStop</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified namenode to stop</div>
</td>
</tr>
<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/SingleProcessHBaseCluster.html#waitForRegionServerToStop-org.apache.hadoop.hbase.ServerName-long-">waitForRegionServerToStop</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified region server to stop the thread / process.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#waitForZkNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForZkNodeToStart</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified zookeeper node to join the cluster</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#waitForZkNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForZkNodeToStop</a></span>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;timeout)</code>
<div class="block">Wait for the specified zookeeper node to stop the thread / process.</div>
</td>
</tr>
<tr id="i70" 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/SingleProcessHBaseCluster.html#waitOnMaster-int-">waitOnMaster</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Wait for the specified master to stop.</div>
</td>
</tr>
<tr id="i71" 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/SingleProcessHBaseCluster.html#waitOnRegionServer-int-">waitOnRegionServer</a></span>(int&nbsp;serverNumber)</code>
<div class="block">Wait for the specified region server to stop.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#waitUntilShutDown--">waitUntilShutDown</a></span>()</code>
<div class="block">Wait for HBase Cluster to shut down.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.HBaseClusterInterface">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></h3>
<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getConf--">getConf</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getInitialClusterMetrics--">getInitialClusterMetrics</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getServerHoldingMeta--">getServerHoldingMeta</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#isDistributedCluster--">isDistributedCluster</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#restoreClusterMetrics-org.apache.hadoop.hbase.ClusterMetrics-">restoreClusterMetrics</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#restoreInitialStatus--">restoreInitialStatus</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#setConf-org.apache.hadoop.conf.Configuration-">setConf</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForActiveAndReadyMaster--">waitForActiveAndReadyMaster</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForDatanodesRegistered-int-">waitForDatanodesRegistered</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForNamenodeAvailable--">waitForNamenodeAvailable</a>, <a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForRegionServerToStart-java.lang.String-int-long-">waitForRegionServerToStart</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&nbsp;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/java/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="LOG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG</h4>
<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.58">LOG</a></pre>
</li>
</ul>
<a name="hbaseCluster">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hbaseCluster</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.LocalHBaseCluster <a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.60">hbaseCluster</a></pre>
</li>
</ul>
<a name="index">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>index</h4>
<pre>private static&nbsp;int <a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.61">index</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="SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SingleProcessHBaseCluster</h4>
<pre>public&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.68">SingleProcessHBaseCluster</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;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>
<div class="block">Start a MiniHBaseCluster.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - Configuration to be used for cluster</dd>
<dd><code>numRegionServers</code> - initial number of region servers to start.</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></dd>
<dd><code><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></code></dd>
</dl>
</li>
</ul>
<a name="SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SingleProcessHBaseCluster</h4>
<pre>public&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.79">SingleProcessHBaseCluster</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numMasters,
int&nbsp;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>
<div class="block">Start a MiniHBaseCluster.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - Configuration to be used for cluster</dd>
<dd><code>numMasters</code> - initial number of masters to start.</dd>
<dd><code>numRegionServers</code> - initial number of region servers to start.</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></dd>
<dd><code><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></code></dd>
</dl>
</li>
</ul>
<a name="SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-int-java.lang.Class-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SingleProcessHBaseCluster</h4>
<pre>public&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.90">SingleProcessHBaseCluster</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numMasters,
int&nbsp;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>&lt;? extends org.apache.hadoop.hbase.master.HMaster&gt;&nbsp;masterClass,
<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>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.MiniHBaseClusterRegionServer</a>&gt;&nbsp;regionserverClass)
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>
<div class="block">Start a MiniHBaseCluster.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - Configuration to be used for cluster</dd>
<dd><code>numMasters</code> - initial number of masters to start.</dd>
<dd><code>numRegionServers</code> - initial number of region servers to start.</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></dd>
<dd><code><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></code></dd>
</dl>
</li>
</ul>
<a name="SingleProcessHBaseCluster-org.apache.hadoop.conf.Configuration-int-int-int-java.util.List-java.lang.Class-java.lang.Class-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SingleProcessHBaseCluster</h4>
<pre>public&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.103">SingleProcessHBaseCluster</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
int&nbsp;numMasters,
int&nbsp;numAlwaysStandByMasters,
int&nbsp;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>&lt;<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>&gt;&nbsp;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>&lt;? extends org.apache.hadoop.hbase.master.HMaster&gt;&nbsp;masterClass,
<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>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.MiniHBaseClusterRegionServer</a>&gt;&nbsp;regionserverClass)
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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rsPorts</code> - Ports that RegionServer should use; pass ports if you want to test cluster
restart where for sure the regionservers come up on same address+port (but just with
different startcode); by default mini hbase clusters choose new arbitrary ports on
each cluster start.</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></dd>
<dd><code><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></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getConfiguration--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre>public&nbsp;org.apache.hadoop.conf.Configuration&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.117">getConfiguration</a>()</pre>
</li>
</ul>
<a name="init-int-int-int-java.util.List-java.lang.Class-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.221">init</a>(int&nbsp;nMasterNodes,
int&nbsp;numAlwaysStandByMasters,
int&nbsp;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>&lt;<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>&gt;&nbsp;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>&lt;? extends org.apache.hadoop.hbase.master.HMaster&gt;&nbsp;masterClass,
<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>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase">SingleProcessHBaseCluster.MiniHBaseClusterRegionServer</a>&gt;&nbsp;regionserverClass)
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>
<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><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></code></dd>
</dl>
</li>
</ul>
<a name="startRegionServer-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startRegionServer</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.260">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>&nbsp;hostname,
int&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#startRegionServer-java.lang.String-int-">HBaseClusterInterface</a></code></span></div>
<div class="block">Starts a new region server on the given hostname or if this is a mini/local cluster,
starts a region server locally.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#startRegionServer-java.lang.String-int-">startRegionServer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hostname</code> - the hostname to start the regionserver on</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="killRegionServer-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killRegionServer</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.267">killRegionServer</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#killRegionServer-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<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>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#killRegionServer-org.apache.hadoop.hbase.ServerName-">killRegionServer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="isKilledRS-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isKilledRS</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.278">isKilledRS</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#isKilledRS-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</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
example of such case is - killing servers and waiting for all regions of a particular table
to be assigned. We can check for server column in META table and that its value is not one
of the killed servers.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#isKilledRS-org.apache.hadoop.hbase.ServerName-">isKilledRS</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
</dl>
</li>
</ul>
<a name="stopRegionServer-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopRegionServer</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.283">stopRegionServer</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#stopRegionServer-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Stops the given region server, by attempting a gradual stop.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#stopRegionServer-org.apache.hadoop.hbase.ServerName-">stopRegionServer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="suspendRegionServer-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suspendRegionServer</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.288">suspendRegionServer</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#suspendRegionServer-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Suspend the region server</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#suspendRegionServer-org.apache.hadoop.hbase.ServerName-">suspendRegionServer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverName</code> - the hostname to suspend the regionserver on</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="resumeRegionServer-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resumeRegionServer</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.293">resumeRegionServer</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#resumeRegionServer-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Resume the region server</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#resumeRegionServer-org.apache.hadoop.hbase.ServerName-">resumeRegionServer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverName</code> - the hostname to resume the regionserver on</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="waitForRegionServerToStop-org.apache.hadoop.hbase.ServerName-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForRegionServerToStop</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.298">waitForRegionServerToStop</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForRegionServerToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</a></code></span></div>
<div class="block">Wait for the specified region server to stop the thread / process.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForRegionServerToStop-org.apache.hadoop.hbase.ServerName-long-">waitForRegionServerToStop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="startZkNode-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startZkNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.304">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>&nbsp;hostname,
int&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#startZkNode-java.lang.String-int-">HBaseClusterInterface</a></code></span></div>
<div class="block">Starts a new zookeeper node 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/HBaseClusterInterface.html#startZkNode-java.lang.String-int-">startZkNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hostname</code> - the hostname to start the regionserver on</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="killZkNode-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killZkNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.309">killZkNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#killZkNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<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>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#killZkNode-org.apache.hadoop.hbase.ServerName-">killZkNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="stopZkNode-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopZkNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.314">stopZkNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#stopZkNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Stops the region zookeeper 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/HBaseClusterInterface.html#stopZkNode-org.apache.hadoop.hbase.ServerName-">stopZkNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="waitForZkNodeToStart-org.apache.hadoop.hbase.ServerName-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForZkNodeToStart</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.319">waitForZkNodeToStart</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForZkNodeToStart-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</a></code></span></div>
<div class="block">Wait for the specified zookeeper node to join the cluster</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForZkNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForZkNodeToStart</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="waitForZkNodeToStop-org.apache.hadoop.hbase.ServerName-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForZkNodeToStop</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.324">waitForZkNodeToStop</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForZkNodeToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</a></code></span></div>
<div class="block">Wait for the specified zookeeper node to stop the thread / process.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForZkNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForZkNodeToStop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="startDataNode-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startDataNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.329">startDataNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#startDataNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Starts a new datanode 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/HBaseClusterInterface.html#startDataNode-org.apache.hadoop.hbase.ServerName-">startDataNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="killDataNode-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killDataNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.334">killDataNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#killDataNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Kills the datanode 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/HBaseClusterInterface.html#killDataNode-org.apache.hadoop.hbase.ServerName-">killDataNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="stopDataNode-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopDataNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.339">stopDataNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#stopDataNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Stops the datanode 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/HBaseClusterInterface.html#stopDataNode-org.apache.hadoop.hbase.ServerName-">stopDataNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="waitForDataNodeToStart-org.apache.hadoop.hbase.ServerName-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForDataNodeToStart</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.344">waitForDataNodeToStart</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForDataNodeToStart-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</a></code></span></div>
<div class="block">Wait for the specified datanode to join the cluster</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForDataNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForDataNodeToStart</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="waitForDataNodeToStop-org.apache.hadoop.hbase.ServerName-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForDataNodeToStop</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.349">waitForDataNodeToStop</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForDataNodeToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</a></code></span></div>
<div class="block">Wait for the specified datanode to stop the thread / process.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForDataNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForDataNodeToStop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="startNameNode-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startNameNode</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.354">startNameNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#startNameNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</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/HBaseClusterInterface.html#startNameNode-org.apache.hadoop.hbase.ServerName-">startNameNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.359">killNameNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#killNameNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</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/HBaseClusterInterface.html#killNameNode-org.apache.hadoop.hbase.ServerName-">killNameNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.364">stopNameNode</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#stopNameNode-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</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/HBaseClusterInterface.html#stopNameNode-org.apache.hadoop.hbase.ServerName-">stopNameNode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.369">waitForNameNodeToStart</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForNameNodeToStart-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</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/HBaseClusterInterface.html#waitForNameNodeToStart-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStart</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.374">waitForNameNodeToStop</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForNameNodeToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</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/HBaseClusterInterface.html#waitForNameNodeToStop-org.apache.hadoop.hbase.ServerName-long-">waitForNameNodeToStop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.379">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>&nbsp;hostname,
int&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#startMaster-java.lang.String-int-">HBaseClusterInterface</a></code></span></div>
<div class="block">Starts a new master on the given hostname or if this is a mini/local cluster,
starts a master locally.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#startMaster-java.lang.String-int-">startMaster</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hostname</code> - the hostname to start the master on</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="killMaster-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killMaster</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.384">killMaster</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#killMaster-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Kills the master 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/HBaseClusterInterface.html#killMaster-org.apache.hadoop.hbase.ServerName-">killMaster</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="stopMaster-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopMaster</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.389">stopMaster</a>(org.apache.hadoop.hbase.ServerName&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#stopMaster-org.apache.hadoop.hbase.ServerName-">HBaseClusterInterface</a></code></span></div>
<div class="block">Stops the given master, by attempting a gradual stop.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#stopMaster-org.apache.hadoop.hbase.ServerName-">stopMaster</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="waitForMasterToStop-org.apache.hadoop.hbase.ServerName-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForMasterToStop</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.394">waitForMasterToStop</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
long&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForMasterToStop-org.apache.hadoop.hbase.ServerName-long-">HBaseClusterInterface</a></code></span></div>
<div class="block">Wait for the specified master to stop the thread / process.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForMasterToStop-org.apache.hadoop.hbase.ServerName-long-">waitForMasterToStop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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="startRegionServer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startRegionServer</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.403">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>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New RegionServerThread</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></dd>
</dl>
</li>
</ul>
<a name="startRegionServer-org.apache.hadoop.conf.Configuration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startRegionServer</h4>
<pre>private&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.409">startRegionServer</a>(org.apache.hadoop.conf.Configuration&nbsp;configuration)
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>
<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>
</dl>
</li>
</ul>
<a name="startRegionServerAndWait-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startRegionServerAndWait</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.432">startRegionServerAndWait</a>(long&nbsp;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
within the timeout.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New RegionServerThread</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></dd>
</dl>
</li>
</ul>
<a name="abortRegionServer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abortRegionServer</h4>
<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.457">abortRegionServer</a>(int&nbsp;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>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
</dl>
</li>
</ul>
<a name="stopRegionServer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopRegionServer</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.470">stopRegionServer</a>(int&nbsp;serverNumber)</pre>
<div class="block">Shut down the specified region server cleanly</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the region server that was stopped</dd>
</dl>
</li>
</ul>
<a name="stopRegionServer-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopRegionServer</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.482">stopRegionServer</a>(int&nbsp;serverNumber,
boolean&nbsp;shutdownFS)</pre>
<div class="block">Shut down the specified region server cleanly</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
<dd><code>shutdownFS</code> - True is we are to shutdown the filesystem as part of this regionserver's
shutdown. Usually we do but you do not want to do this if you are running multiple
regionservers in a test and you shut down one before end of the test.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the region server that was stopped</dd>
</dl>
</li>
</ul>
<a name="suspendRegionServer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suspendRegionServer</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.495">suspendRegionServer</a>(int&nbsp;serverNumber)</pre>
<div class="block">Suspend the specified region server</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
</dl>
</li>
</ul>
<a name="resumeRegionServer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resumeRegionServer</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.507">resumeRegionServer</a>(int&nbsp;serverNumber)</pre>
<div class="block">Resume the specified region server</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
</dl>
</li>
</ul>
<a name="waitOnRegionServer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitOnRegionServer</h4>
<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.519">waitOnRegionServer</a>(int&nbsp;serverNumber)</pre>
<div class="block">Wait for the specified region server to stop. Removes this thread from list of running threads.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Name of region server that just went down.</dd>
</dl>
</li>
</ul>
<a name="startMaster--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startMaster</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.529">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>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New RegionServerThread</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></dd>
</dl>
</li>
</ul>
<a name="getMaster--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaster</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.master.HMaster&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.550">getMaster</a>()</pre>
<div class="block">Returns the current active master, if available.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the active HMaster, null if none is active.</dd>
</dl>
</li>
</ul>
<a name="getMasterThread--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMasterThread</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.558">getMasterThread</a>()</pre>
<div class="block">Returns the current active master thread, if available.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the active MasterThread, null if none is active.</dd>
</dl>
</li>
</ul>
<a name="getMaster-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaster</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.master.HMaster&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.571">getMaster</a>(int&nbsp;serverNumber)</pre>
<div class="block">Returns the master at the specified index, if available.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the active HMaster, null if none is active.</dd>
</dl>
</li>
</ul>
<a name="abortMaster-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abortMaster</h4>
<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.579">abortMaster</a>(int&nbsp;serverNumber)</pre>
<div class="block">Cause a master to exit without shutting down entire cluster.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
</dl>
</li>
</ul>
<a name="stopMaster-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopMaster</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.592">stopMaster</a>(int&nbsp;serverNumber)</pre>
<div class="block">Shut down the specified master cleanly</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the region server that was stopped</dd>
</dl>
</li>
</ul>
<a name="stopMaster-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopMaster</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.604">stopMaster</a>(int&nbsp;serverNumber,
boolean&nbsp;shutdownFS)</pre>
<div class="block">Shut down the specified master cleanly</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serverNumber</code> - Used as index into a list.</dd>
<dd><code>shutdownFS</code> - True is we are to shutdown the filesystem as part of this master's shutdown.
Usually we do but you do not want to do this if you are running multiple master in a
test and you shut down one before end of the test.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the master that was stopped</dd>
</dl>
</li>
</ul>
<a name="waitOnMaster-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitOnMaster</h4>
<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.617">waitOnMaster</a>(int&nbsp;serverNumber)</pre>
<div class="block">Wait for the specified master to stop. Removes this thread from list of running threads.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Name of master that just went down.</dd>
</dl>
</li>
</ul>
<a name="waitForActiveAndReadyMaster-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForActiveAndReadyMaster</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.629">waitForActiveAndReadyMaster</a>(long&nbsp;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>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitForActiveAndReadyMaster-long-">waitForActiveAndReadyMaster</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeout</code> - the timeout limit in ms</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if an active master becomes available. false if there are no
masters left.</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></dd>
</dl>
</li>
</ul>
<a name="getMasterThreads--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMasterThreads</h4>
<pre>public&nbsp;<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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.648">getMasterThreads</a>()</pre>
<div class="block">Returns list of master threads.</div>
</li>
</ul>
<a name="getLiveMasterThreads--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLiveMasterThreads</h4>
<pre>public&nbsp;<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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.655">getLiveMasterThreads</a>()</pre>
<div class="block">Returns list of live master threads (skips the aborted and the killed)</div>
</li>
</ul>
<a name="join--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.662">join</a>()</pre>
<div class="block">Wait for Mini HBase Cluster to shut down.</div>
</li>
</ul>
<a name="shutdown--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shutdown</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.670">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>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#shutdown--">shutdown</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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></dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.677">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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#close--">HBaseClusterInterface</a></code></span></div>
<div class="block">Closes all the resources held open for this cluster. Note that this call does not shutdown
the cluster.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#close--">close</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#shutdown--"><code>HBaseClusterInterface.shutdown()</code></a></dd>
</dl>
</li>
</ul>
<a name="getClusterMetrics--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClusterMetrics</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.ClusterMetrics&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.681">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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getClusterMetrics--">HBaseClusterInterface</a></code></span></div>
<div class="block">Returns a ClusterMetrics for this HBase cluster.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getClusterMetrics--">getClusterMetrics</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</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></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getInitialClusterMetrics--"><code>HBaseClusterInterface.getInitialClusterMetrics()</code></a></dd>
</dl>
</li>
</ul>
<a name="executeFlush-org.apache.hadoop.hbase.regionserver.HRegion-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeFlush</h4>
<pre>private&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.686">executeFlush</a>(org.apache.hadoop.hbase.regionserver.HRegion&nbsp;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>
<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>
</dl>
</li>
</ul>
<a name="flushcache--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flushcache</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.700">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>
<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>
</dl>
</li>
</ul>
<a name="flushcache-org.apache.hadoop.hbase.TableName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flushcache</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.711">flushcache</a>(org.apache.hadoop.hbase.TableName&nbsp;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>
<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>
</dl>
</li>
</ul>
<a name="compact-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compact</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.724">compact</a>(boolean&nbsp;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>
<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>
</dl>
</li>
</ul>
<a name="compact-org.apache.hadoop.hbase.TableName-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compact</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.736">compact</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
boolean&nbsp;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>
<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>
</dl>
</li>
</ul>
<a name="getNumLiveRegionServers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumLiveRegionServers</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.750">getNumLiveRegionServers</a>()</pre>
<div class="block">Returns number of live region servers in the cluster currently.</div>
</li>
</ul>
<a name="getRegionServerThreads--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegionServerThreads</h4>
<pre>public&nbsp;<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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.758">getRegionServerThreads</a>()</pre>
<div class="block">Returns list of region server threads. Does not return the master even though it is also a
region server.</div>
</li>
</ul>
<a name="getLiveRegionServerThreads--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLiveRegionServerThreads</h4>
<pre>public&nbsp;<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>&lt;org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.765">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>
</dl>
</li>
</ul>
<a name="getRegionServer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegionServer</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.regionserver.HRegionServer&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.773">getRegionServer</a>(int&nbsp;serverNumber)</pre>
<div class="block">Grab a numbered region server of your choice.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>region server</dd>
</dl>
</li>
</ul>
<a name="getRegionServer-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegionServer</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.regionserver.HRegionServer&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.777">getRegionServer</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
</li>
</ul>
<a name="getRegions-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegions</h4>
<pre>public&nbsp;<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>&lt;org.apache.hadoop.hbase.regionserver.HRegion&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.784">getRegions</a>(byte[]&nbsp;tableName)</pre>
</li>
</ul>
<a name="getRegions-org.apache.hadoop.hbase.TableName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegions</h4>
<pre>public&nbsp;<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>&lt;org.apache.hadoop.hbase.regionserver.HRegion&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.788">getRegions</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName)</pre>
</li>
</ul>
<a name="getServerWithMeta--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerWithMeta</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.805">getServerWithMeta</a>()</pre>
<div class="block">Returns index into List of <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegionServerThreads--"><code>getRegionServerThreads()</code></a> of HRS
carrying regionName. Returns -1 if none found.</div>
</li>
</ul>
<a name="getServerWith-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerWith</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.815">getServerWith</a>(byte[]&nbsp;regionName)</pre>
<div class="block">Get the location of the specified region</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regionName</code> - Name of the region in bytes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Index into List of <a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#getRegionServerThreads--"><code>getRegionServerThreads()</code></a>
of HRS carrying hbase:meta. Returns -1 if none found.</dd>
</dl>
</li>
</ul>
<a name="getServerHoldingRegion-org.apache.hadoop.hbase.TableName-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerHoldingRegion</h4>
<pre>public&nbsp;org.apache.hadoop.hbase.ServerName&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.831">getServerHoldingRegion</a>(org.apache.hadoop.hbase.TableName&nbsp;tn,
byte[]&nbsp;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:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getServerHoldingRegion-org.apache.hadoop.hbase.TableName-byte:A-">HBaseClusterInterface</a></code></span></div>
<div class="block">Get the ServerName of region server serving the specified region</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#getServerHoldingRegion-org.apache.hadoop.hbase.TableName-byte:A-">getServerHoldingRegion</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tn</code> - Table name that has the region.</dd>
<dd><code>regionName</code> - Name of the region in bytes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ServerName that hosts the region or null</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></dd>
</dl>
</li>
</ul>
<a name="countServedRegions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countServedRegions</h4>
<pre>public&nbsp;long&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.855">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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of regions being served by all region servers</dd>
</dl>
</li>
</ul>
<a name="killAll--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killAll</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.870">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>
</ul>
<a name="waitUntilShutDown--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitUntilShutDown</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.890">waitUntilShutDown</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitUntilShutDown--">HBaseClusterInterface</a></code></span></div>
<div class="block">Wait for HBase Cluster to shut down.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html#waitUntilShutDown--">waitUntilShutDown</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/HBaseClusterInterface.html" title="class in org.apache.hadoop.hbase">HBaseClusterInterface</a></code></dd>
</dl>
</li>
</ul>
<a name="findRegionsForTable-org.apache.hadoop.hbase.TableName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findRegionsForTable</h4>
<pre>public&nbsp;<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>&lt;org.apache.hadoop.hbase.regionserver.HRegion&gt;&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.894">findRegionsForTable</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName)</pre>
</li>
</ul>
<a name="getRegionServerIndex-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegionServerIndex</h4>
<pre>protected&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.908">getRegionServerIndex</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
</li>
</ul>
<a name="getMasterIndex-org.apache.hadoop.hbase.ServerName-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMasterIndex</h4>
<pre>protected&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/SingleProcessHBaseCluster.html#line.919">getMasterIndex</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
</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/SingleProcessHBaseCluster.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/ShellExecEndpointCoprocessor.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/hadoop/hbase/SingleProcessHBaseCluster.MiniHBaseClusterRegionServer.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/hadoop/hbase/SingleProcessHBaseCluster.html" target="_top">Frames</a></li>
<li><a href="SingleProcessHBaseCluster.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>