http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6f9d4f3/devapidocs/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html new file mode 100644 index 0000000..2ba4882 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html @@ -0,0 +1,471 @@ +<!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>AssignRegionHandler (Apache HBase 3.0.0-SNAPSHOT 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="AssignRegionHandler (Apache HBase 3.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/AssignRegionHandler.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>Prev Class</li> +<li><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/CloseMetaHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html" target="_top">Frames</a></li> +<li><a href="AssignRegionHandler.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.hadoop.hbase.regionserver.handler</div> +<h2 title="Class AssignRegionHandler" class="title">Class AssignRegionHandler</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/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">org.apache.hadoop.hbase.executor.EventHandler</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.regionserver.handler.AssignRegionHandler</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/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a></dd> +</dl> +<hr> +<br> +<pre>@InterfaceAudience.Private +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.47">AssignRegionHandler</a> +extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">EventHandler</a></pre> +<div class="block">Handles opening of a region on a region server. + <p/> + Just done the same thing with the old <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><code>OpenRegionHandler</code></a>, with some modifications on + fencing and retrying. But we need to keep the <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><code>OpenRegionHandler</code></a> as is to keep compatible + with the zk less assignment for 1.x, otherwise it is not possible to do rolling upgrade.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.slf4j.Logger</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#LOG">LOG</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#masterSystemTime">masterSystemTime</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#regionInfo">regionInfo</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#tableDesc">tableDesc</a></span></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.executor.EventHandler"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.hadoop.hbase.executor.<a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">EventHandler</a></h3> +<code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#eventType">eventType</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#seqids">seqids</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#server">server</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#waitingTimeForEvents">waitingTimeForEvents</a></code></li> +</ul> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#AssignRegionHandler-org.apache.hadoop.hbase.regionserver.RegionServerServices-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.client.TableDescriptor-long-org.apache.hadoop.hbase.executor.EventType-">AssignRegionHandler</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> server, + <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, + <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> tableDesc, + long masterSystemTime, + <a href="../../../../../../org/apache/hadoop/hbase/executor/EventType.html" title="enum in org.apache.hadoop.hbase.executor">EventType</a> eventType)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>private void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#cleanUpAndReportFailure-java.io.IOException-">cleanUpAndReportFailure</a></span>(<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> error)</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler">AssignRegionHandler</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#create-org.apache.hadoop.hbase.regionserver.RegionServerServices-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.client.TableDescriptor-long-">create</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> server, + <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, + <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> tableDesc, + long masterSystemTime)</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#getServer--">getServer</a></span>()</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#handleException-java.lang.Throwable-">handleException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code> +<div class="block">Event exception handler, may be overridden</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/regionserver/handler/AssignRegionHandler.html#process--">process</a></span>()</code> +<div class="block">This method is the main processing loop to be implemented by the various + subclasses.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.executor.EventHandler"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.hadoop.hbase.executor.<a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">EventHandler</a></h3> +<code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#compareTo-java.lang.Runnable-">compareTo</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#getEventType--">getEventType</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#getInformativeName--">getInformativeName</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#getPriority--">getPriority</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#getSeqid--">getSeqid</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#prepare--">prepare</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#run--">run</a>, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#toString--">toString</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#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 org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.49">LOG</a></pre> +</li> +</ul> +<a name="regionInfo"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>regionInfo</h4> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.51">regionInfo</a></pre> +</li> +</ul> +<a name="tableDesc"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tableDesc</h4> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.53">tableDesc</a></pre> +</li> +</ul> +<a name="masterSystemTime"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>masterSystemTime</h4> +<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.55">masterSystemTime</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="AssignRegionHandler-org.apache.hadoop.hbase.regionserver.RegionServerServices-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.client.TableDescriptor-long-org.apache.hadoop.hbase.executor.EventType-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>AssignRegionHandler</h4> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.57">AssignRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> server, + <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, + @Nullable + <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> tableDesc, + long masterSystemTime, + <a href="../../../../../../org/apache/hadoop/hbase/executor/EventType.html" title="enum in org.apache.hadoop.hbase.executor">EventType</a> eventType)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getServer--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getServer</h4> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.65">getServer</a>()</pre> +</li> +</ul> +<a name="cleanUpAndReportFailure-java.io.IOException-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cleanUpAndReportFailure</h4> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.69">cleanUpAndReportFailure</a>(<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> error) + 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="process--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>process</h4> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.82">process</a>() + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#process--">EventHandler</a></code></span></div> +<div class="block">This method is the main processing loop to be implemented by the various + subclasses.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#process--">process</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">EventHandler</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="handleException-java.lang.Throwable-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>handleException</h4> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.146">handleException</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#handleException-java.lang.Throwable-">EventHandler</a></code></span></div> +<div class="block">Event exception handler, may be overridden</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#handleException-java.lang.Throwable-">handleException</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">EventHandler</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>t</code> - Throwable object</dd> +</dl> +</li> +</ul> +<a name="create-org.apache.hadoop.hbase.regionserver.RegionServerServices-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.client.TableDescriptor-long-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>create</h4> +<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler">AssignRegionHandler</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html#line.153">create</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> server, + <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, + <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> tableDesc, + long masterSystemTime)</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/AssignRegionHandler.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>Prev Class</li> +<li><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/CloseMetaHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html" target="_top">Frames</a></li> +<li><a href="AssignRegionHandler.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2007–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6f9d4f3/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseMetaHandler.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseMetaHandler.html b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseMetaHandler.html index f7826b9..5c33791 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseMetaHandler.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseMetaHandler.html @@ -43,7 +43,7 @@ </div> <div class="subNav"> <ul class="navList"> -<li>Prev Class</li> +<li><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> @@ -243,7 +243,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/ </div> <div class="subNav"> <ul class="navList"> -<li>Prev Class</li> +<li><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6f9d4f3/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html index c37c825..82dc4ca 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html @@ -123,9 +123,17 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>@InterfaceAudience.Private -public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.41">CloseRegionHandler</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.46">CloseRegionHandler</a> extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">EventHandler</a></pre> -<div class="block">Handles closing of a region on a region server.</div> +<div class="block">Handles closing of a region on a region server. + <p/> + Now for regular close region request, we will use <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/UnassignRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><code>UnassignRegionHandler</code></a> instead. But when + shutting down the region server, will also close regions and the related methods still use this + class so we keep it here.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/UnassignRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><code>UnassignRegionHandler</code></a></dd> +</dl> </li> </ul> </div> @@ -266,7 +274,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.47">LOG</a></pre> +<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.52">LOG</a></pre> </li> </ul> <a name="rsServices"> @@ -275,7 +283,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>rsServices</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.49">rsServices</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.54">rsServices</a></pre> </li> </ul> <a name="regionInfo"> @@ -284,7 +292,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>regionInfo</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.50">regionInfo</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.55">regionInfo</a></pre> </li> </ul> <a name="abort"> @@ -293,7 +301,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>abort</h4> -<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.54">abort</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.59">abort</a></pre> </li> </ul> <a name="destination"> @@ -302,7 +310,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockListLast"> <li class="blockList"> <h4>destination</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.55">destination</a></pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.60">destination</a></pre> </li> </ul> </li> @@ -319,7 +327,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>CloseRegionHandler</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.65">CloseRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.70">CloseRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, boolean abort, @@ -341,7 +349,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockListLast"> <li class="blockList"> <h4>CloseRegionHandler</h4> -<pre>protected <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.73">CloseRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, +<pre>protected <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.78">CloseRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, boolean abort, @@ -363,7 +371,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>getRegionInfo</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.84">getRegionInfo</a>()</pre> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.89">getRegionInfo</a>()</pre> </li> </ul> <a name="process--"> @@ -372,7 +380,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockListLast"> <li class="blockList"> <h4>process</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.89">process</a>()</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/CloseRegionHandler.html#line.94">process</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#process--">EventHandler</a></code></span></div> <div class="block">This method is the main processing loop to be implemented by the various subclasses.</div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6f9d4f3/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenMetaHandler.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenMetaHandler.html b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenMetaHandler.html index 2952378..d4dff92 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenMetaHandler.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenMetaHandler.html @@ -198,7 +198,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/ <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.regionserver.handler.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler">OpenRegionHandler</a></h3> -<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#cleanupFailedOpen-org.apache.hadoop.hbase.regionserver.HRegion-">cleanupFailedOpen</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#getRegionInfo--">getRegionInfo</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#openRegion--">openRegion</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#process--">process</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#updateMeta-org.apache.hadoop.hbase.regionserver.HRegion-long-">updateMeta</a></code></li> +<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#getRegionInfo--">getRegionInfo</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#process--">process</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.executor.EventHandler"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6f9d4f3/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenPriorityRegionHandler.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenPriorityRegionHandler.html b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenPriorityRegionHandler.html index 9add253..1a44a82 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenPriorityRegionHandler.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenPriorityRegionHandler.html @@ -198,7 +198,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/ <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.regionserver.handler.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler">OpenRegionHandler</a></h3> -<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#cleanupFailedOpen-org.apache.hadoop.hbase.regionserver.HRegion-">cleanupFailedOpen</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#getRegionInfo--">getRegionInfo</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#openRegion--">openRegion</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#process--">process</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#updateMeta-org.apache.hadoop.hbase.regionserver.HRegion-long-">updateMeta</a></code></li> +<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#getRegionInfo--">getRegionInfo</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#process--">process</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.executor.EventHandler"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6f9d4f3/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html index 8d51bd3..85fa09f 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.226">OpenRegionHandler.PostOpenDeployTasksThread</a> +<pre>static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.229">OpenRegionHandler.PostOpenDeployTasksThread</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a></pre> <div class="block">Thread to run region post open tasks. Call <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#getException--"><code>getException()</code></a> after the thread finishes to check for exceptions running <code>RegionServerServices#postOpenDeployTasks(Region)</code>.</div> @@ -269,7 +269,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockList"> <li class="blockList"> <h4>exception</h4> -<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.227">exception</a></pre> +<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.230">exception</a></pre> </li> </ul> <a name="server"> @@ -278,7 +278,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockList"> <li class="blockList"> <h4>server</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.228">server</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.231">server</a></pre> </li> </ul> <a name="services"> @@ -287,7 +287,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockList"> <li class="blockList"> <h4>services</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.229">services</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.232">services</a></pre> </li> </ul> <a name="region"> @@ -296,7 +296,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockList"> <li class="blockList"> <h4>region</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.230">region</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.233">region</a></pre> </li> </ul> <a name="signaller"> @@ -305,7 +305,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockList"> <li class="blockList"> <h4>signaller</h4> -<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.231">signaller</a></pre> +<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.234">signaller</a></pre> </li> </ul> <a name="masterSystemTime"> @@ -314,7 +314,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockListLast"> <li class="blockList"> <h4>masterSystemTime</h4> -<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.232">masterSystemTime</a></pre> +<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.235">masterSystemTime</a></pre> </li> </ul> </li> @@ -331,7 +331,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockListLast"> <li class="blockList"> <h4>PostOpenDeployTasksThread</h4> -<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.234">PostOpenDeployTasksThread</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> region, +<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.237">PostOpenDeployTasksThread</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> region, <a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> services, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a> signaller, @@ -352,7 +352,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockList"> <li class="blockList"> <h4>run</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.246">run</a>()</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.249">run</a>()</pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true#run--" title="class or interface in java.lang">run</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a></code></dd> @@ -367,7 +367,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html <ul class="blockListLast"> <li class="blockList"> <h4>getException</h4> -<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.270">getException</a>()</pre> +<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html#line.273">getException</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>Null or the run exception; call this method after thread is done.</dd> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6f9d4f3/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html index 2985137..11e26bf 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html @@ -18,8 +18,8 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var methods = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":41,"i5":42,"i6":42,"i7":42}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -121,13 +121,21 @@ var activeTableTab = "activeTableTab"; <dd><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenMetaHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler">OpenMetaHandler</a>, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenPriorityRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler">OpenPriorityRegionHandler</a></dd> </dl> <hr> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">Keep it here only for compatible</span></div> +</div> <br> -<pre>@InterfaceAudience.Private -public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.46">OpenRegionHandler</a> +<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> + @InterfaceAudience.Private +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.49">OpenRegionHandler</a> extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html" title="class in org.apache.hadoop.hbase.executor">EventHandler</a></pre> <div class="block">Handles opening of a region on a region server. <p> This is executed after receiving an OPEN RPC from the master or client.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.html" title="class in org.apache.hadoop.hbase.regionserver.handler"><code>AssignRegionHandler</code></a></dd> +</dl> </li> </ul> </div> @@ -149,6 +157,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <tr class="altColor"> <td class="colFirst"><code>(package private) static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.PostOpenDeployTasksThread.html" title="class in org.apache.hadoop.hbase.regionserver.handler">OpenRegionHandler.PostOpenDeployTasksThread</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> <div class="block">Thread to run region post open tasks.</div> </td> </tr> @@ -169,23 +178,33 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler </tr> <tr class="altColor"> <td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#htd">htd</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#htd">htd</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>private static org.slf4j.Logger</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#LOG">LOG</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#LOG">LOG</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr class="altColor"> <td class="colFirst"><code>private long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#masterSystemTime">masterSystemTime</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#masterSystemTime">masterSystemTime</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#regionInfo">regionInfo</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#regionInfo">regionInfo</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#rsServices">rsServices</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#rsServices">rsServices</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> </table> <ul class="blockList"> @@ -215,7 +234,9 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> htd, - long masterSystemTime)</code> </td> + long masterSystemTime)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected </code></td> @@ -224,7 +245,9 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> htd, long masterSystemTime, - <a href="../../../../../../org/apache/hadoop/hbase/executor/EventType.html" title="enum in org.apache.hadoop.hbase.executor">EventType</a> eventType)</code> </td> + <a href="../../../../../../org/apache/hadoop/hbase/executor/EventType.html" title="enum in org.apache.hadoop.hbase.executor">EventType</a> eventType)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> </table> </li> @@ -236,47 +259,61 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<td class="colFirst"><code>(package private) void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#cleanupFailedOpen-org.apache.hadoop.hbase.regionserver.HRegion-">cleanupFailedOpen</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> region)</code> </td> +<td class="colFirst"><code>private void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#cleanupFailedOpen-org.apache.hadoop.hbase.regionserver.HRegion-">cleanupFailedOpen</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> region)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>private void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#doCleanUpOnFailedOpen-org.apache.hadoop.hbase.regionserver.HRegion-">doCleanUpOnFailedOpen</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> region)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#doCleanUpOnFailedOpen-org.apache.hadoop.hbase.regionserver.HRegion-">doCleanUpOnFailedOpen</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> region)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#getRegionInfo--">getRegionInfo</a></span>()</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#getRegionInfo--">getRegionInfo</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>private boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#isRegionStillOpening--">isRegionStillOpening</a></span>()</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#isRegionStillOpening--">isRegionStillOpening</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>private static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#isRegionStillOpening-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.regionserver.RegionServerServices-">isRegionStillOpening</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, - <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices)</code> </td> + <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr id="i5" class="rowColor"> -<td class="colFirst"><code>(package private) <a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#openRegion--">openRegion</a></span>()</code> </td> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#openRegion--">openRegion</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#process--">process</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> <div class="block">This method is the main processing loop to be implemented by the various subclasses.</div> </td> </tr> <tr id="i7" class="rowColor"> -<td class="colFirst"><code>(package private) boolean</code></td> +<td class="colFirst"><code>private boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#updateMeta-org.apache.hadoop.hbase.regionserver.HRegion-long-">updateMeta</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> r, long masterSystemTime)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> <div class="block">Update ZK or META.</div> </td> </tr> @@ -315,7 +352,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.47">LOG</a></pre> +<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.50">LOG</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> <a name="rsServices"> @@ -324,7 +362,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>rsServices</h4> -<pre>protected final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.49">rsServices</a></pre> +<pre>protected final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.52">rsServices</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> <a name="regionInfo"> @@ -333,7 +372,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>regionInfo</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.51">regionInfo</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.54">regionInfo</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> <a name="htd"> @@ -342,7 +382,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>htd</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.52">htd</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.55">htd</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> <a name="masterSystemTime"> @@ -351,7 +392,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockListLast"> <li class="blockList"> <h4>masterSystemTime</h4> -<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.53">masterSystemTime</a></pre> +<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.56">masterSystemTime</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> </li> @@ -368,11 +410,12 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>OpenRegionHandler</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.55">OpenRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.58">OpenRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> htd, long masterSystemTime)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> <a name="OpenRegionHandler-org.apache.hadoop.hbase.Server-org.apache.hadoop.hbase.regionserver.RegionServerServices-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.client.TableDescriptor-long-org.apache.hadoop.hbase.executor.EventType-"> @@ -381,12 +424,13 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockListLast"> <li class="blockList"> <h4>OpenRegionHandler</h4> -<pre>protected <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.61">OpenRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, +<pre>protected <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.64">OpenRegionHandler</a>(<a href="../../../../../../org/apache/hadoop/hbase/Server.html" title="interface in org.apache.hadoop.hbase">Server</a> server, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, <a href="../../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> htd, long masterSystemTime, <a href="../../../../../../org/apache/hadoop/hbase/executor/EventType.html" title="enum in org.apache.hadoop.hbase.executor">EventType</a> eventType)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> </li> @@ -403,7 +447,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>getRegionInfo</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.71">getRegionInfo</a>()</pre> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.74">getRegionInfo</a>()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> <a name="process--"> @@ -412,8 +457,9 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>process</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.76">process</a>() +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.79">process</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler.html#process--">EventHandler</a></code></span></div> <div class="block">This method is the main processing loop to be implemented by the various subclasses.</div> @@ -431,8 +477,9 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>doCleanUpOnFailedOpen</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.156">doCleanUpOnFailedOpen</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> region) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.159">doCleanUpOnFailedOpen</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> 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> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </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> @@ -445,8 +492,9 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>updateMeta</h4> -<pre>boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.175">updateMeta</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> r, - long masterSystemTime)</pre> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.178">updateMeta</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> r, + long masterSystemTime)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> <div class="block">Update ZK or META. This can take a while if for example the hbase:meta is not available -- if server hosting hbase:meta crashed and we are waiting on it to come back -- so run in a thread and keep updating znode @@ -460,7 +508,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>openRegion</h4> -<pre><a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.278">openRegion</a>()</pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.281">openRegion</a>()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>Instance of HRegion if successful open else null.</dd> @@ -473,8 +522,9 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>cleanupFailedOpen</h4> -<pre>void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.307">cleanupFailedOpen</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> 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> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.310">cleanupFailedOpen</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a> 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> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </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> @@ -487,8 +537,9 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockList"> <li class="blockList"> <h4>isRegionStillOpening</h4> -<pre>private static boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.314">isRegionStillOpening</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, +<pre>private static boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.317">isRegionStillOpening</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> regionInfo, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rsServices)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> <a name="isRegionStillOpening--"> @@ -497,7 +548,8 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/executor/EventHandler <ul class="blockListLast"> <li class="blockList"> <h4>isRegionStillOpening</h4> -<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.321">isRegionStillOpening</a>()</pre> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.html#line.324">isRegionStillOpening</a>()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> </li> </ul> </li>