http://git-wip-us.apache.org/repos/asf/hbase-site/blob/14db89d7/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html b/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html index 29def10..00bd2ad 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html +++ b/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -313,92 +313,96 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/Cleane <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#cancel-boolean-">cancel</a></span>(boolean mayInterruptIfRunning)</code> </td> +</tr> +<tr id="i1" class="rowColor"> <td class="colFirst"><code>private boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#checkAndUpdateConfigurations-org.apache.hadoop.conf.Configuration-">checkAndUpdateConfigurations</a></span>(org.apache.hadoop.conf.Configuration conf)</code> <div class="block">Check new configuration and update settings if value changed</div> </td> </tr> -<tr id="i1" class="rowColor"> +<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/master/cleaner/HFileCleaner.html#cleanup--">cleanup</a></span>()</code> <div class="block">Override to run cleanup tasks when the Chore encounters an error and must stop running</div> </td> </tr> -<tr id="i2" class="altColor"> +<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/master/cleaner/HFileCleaner.html#consumerLoop-java.util.concurrent.BlockingQueue-">consumerLoop</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/BlockingQueue.html?is-external=true" title="class or interface in java.util.concurrent">BlockingQueue</a><<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.HFileDeleteTask.html" title="class in org.apache.hadoop.hbase.master.cleaner">HFileCleaner.HFileDeleteTask</a>> queue)</code> </td> </tr> -<tr id="i3" class="rowColor"> +<tr id="i4" class="altColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#countDeletedFiles-boolean-boolean-">countDeletedFiles</a></span>(boolean isLargeFile, boolean fromLargeQueue)</code> </td> </tr> -<tr id="i4" class="altColor"> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.HFileDeleteTask.html" title="class in org.apache.hadoop.hbase.master.cleaner">HFileCleaner.HFileDeleteTask</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#deleteFile-org.apache.hadoop.fs.FileStatus-">deleteFile</a></span>(org.apache.hadoop.fs.FileStatus file)</code> <div class="block">Construct an <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.HFileDeleteTask.html" title="class in org.apache.hadoop.hbase.master.cleaner"><code>HFileCleaner.HFileDeleteTask</code></a> for each file to delete and add into the correct queue</div> </td> </tr> -<tr id="i5" class="rowColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#deleteFiles-java.lang.Iterable-">deleteFiles</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><org.apache.hadoop.fs.FileStatus> filesToDelete)</code> <div class="block">Delete the given files</div> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i7" class="rowColor"> <td class="colFirst"><code>private boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#dispatch-org.apache.hadoop.hbase.master.cleaner.HFileCleaner.HFileDeleteTask-">dispatch</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.HFileDeleteTask.html" title="class in org.apache.hadoop.hbase.master.cleaner">HFileCleaner.HFileDeleteTask</a> task)</code> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#getCleanerThreads--">getCleanerThreads</a></span>()</code> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/BaseHFileCleanerDelegate.html" title="class in org.apache.hadoop.hbase.master.cleaner">BaseHFileCleanerDelegate</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#getDelegatesForTesting--">getDelegatesForTesting</a></span>()</code> <div class="block">Exposed for TESTING!</div> </td> </tr> -<tr id="i9" class="rowColor"> +<tr id="i10" class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#getLargeQueueInitSize--">getLargeQueueInitSize</a></span>()</code> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i11" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#getNumOfDeletedLargeFiles--">getNumOfDeletedLargeFiles</a></span>()</code> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i12" class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#getNumOfDeletedSmallFiles--">getNumOfDeletedSmallFiles</a></span>()</code> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#getSmallQueueInitSize--">getSmallQueueInitSize</a></span>()</code> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#getThrottlePoint--">getThrottlePoint</a></span>()</code> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#onConfigurationChange-org.apache.hadoop.conf.Configuration-">onConfigurationChange</a></span>(org.apache.hadoop.conf.Configuration conf)</code> <div class="block">This method would be called by the <a href="../../../../../../org/apache/hadoop/hbase/conf/ConfigurationManager.html" title="class in org.apache.hadoop.hbase.conf"><code>ConfigurationManager</code></a> object when the <code>Configuration</code> object is reloaded from disk.</div> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#startHFileDeleteThreads--">startHFileDeleteThreads</a></span>()</code> <div class="block">Start threads for hfile deletion</div> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#stopHFileDeleteThreads--">stopHFileDeleteThreads</a></span>()</code> <div class="block">Stop threads for hfile deletion</div> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code>protected boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#validate-org.apache.hadoop.fs.Path-">validate</a></span>(org.apache.hadoop.fs.Path file)</code> <div class="block">Validate the file to see if it even belongs in the directory.</div> @@ -417,7 +421,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/Cleane <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.<a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html" title="class in org.apache.hadoop.hbase">ScheduledChore</a></h3> -<code><a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#cancel--">cancel</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#cancel-boolean-">cancel</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#choreForTesting--">choreForTesting</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getInitialDelay--">getInitialDelay</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getName--">getName</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getPeriod--">getPeriod</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getStopper--">getStopper</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getTimeUnit--">getTimeUnit</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#initialChore--">initialChore</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#is InitialChoreComplete--">isInitialChoreComplete</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#isScheduled--">isScheduled</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#run--">run</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#toString--">toString</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#triggerNow--">triggerNow</a></code></li> +<code><a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#cancel--">cancel</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#choreForTesting--">choreForTesting</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getInitialDelay--">getInitialDelay</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getName--">getName</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getPeriod--">getPeriod</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getStopper--">getStopper</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#getTimeUnit--">getTimeUnit</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#initialChore--">initialChore</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#isInitialChoreComplete--">isInitialChoreComplete</a>, <a href="../../../../../../org/apache/hadoop/hba se/ScheduledChore.html#isScheduled--">isScheduled</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#run--">run</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#toString--">toString</a>, <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#triggerNow--">triggerNow</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> @@ -955,7 +959,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/Cleane <a name="checkAndUpdateConfigurations-org.apache.hadoop.conf.Configuration-"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>checkAndUpdateConfigurations</h4> <pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#line.405">checkAndUpdateConfigurations</a>(org.apache.hadoop.conf.Configuration conf)</pre> @@ -968,6 +972,19 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/Cleane </dl> </li> </ul> +<a name="cancel-boolean-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>cancel</h4> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html#line.450">cancel</a>(boolean mayInterruptIfRunning)</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#cancel-boolean-">cancel</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html" title="class in org.apache.hadoop.hbase">ScheduledChore</a></code></dd> +</dl> +</li> +</ul> </li> </ul> </li>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/14db89d7/devapidocs/org/apache/hadoop/hbase/master/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html index d888889..c2dea4d 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html @@ -333,10 +333,10 @@ <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MetricsMasterSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MetricsMasterSourceFactoryImpl.FactoryStorage</span></a></li> -<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.ResubmitDirective</span></a></li> -<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MasterRpcServices.BalanceSwitchMode</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/RegionState.State.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">RegionState.State</span></a></li> +<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.ResubmitDirective</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.TerminationStatus</span></a></li> +<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MasterRpcServices.BalanceSwitchMode</span></a></li> </ul> </li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/14db89d7/devapidocs/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html index a0215d4..99337cc 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.51">RecoverMetaProcedure</a> +<pre>public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.53">RecoverMetaProcedure</a> extends <a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html" title="class in org.apache.hadoop.hbase.procedure2">StateMachineProcedure</a><<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a>,org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState> implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html" title="interface in org.apache.hadoop.hbase.master.procedure">TableProcedureInterface</a></pre> <div class="block">This procedure recovers meta from prior shutdown/ crash of a server, and brings meta online by @@ -311,36 +311,46 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T </td> </tr> <tr id="i9" class="rowColor"> +<td class="colFirst"><code>private void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#handleRIT-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.ServerName-">handleRIT</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, + <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> ri, + <a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> crashedServerName)</code> +<div class="block">Is the region stuck assigning to this failedMetaServer? If so, cancel the call + just as we do over in ServerCrashProcedure#handleRIT except less to do here; less context + to carry.</div> +</td> +</tr> +<tr id="i10" class="altColor"> <td class="colFirst"><code>private boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#isRunRequired--">isRunRequired</a></span>()</code> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i11" class="rowColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#prepare-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">prepare</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> <div class="block">Prepare for execution</div> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i12" class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#releaseLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">releaseLock</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> <div class="block">The user should override this method, and release lock if necessary.</div> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#rollbackState-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState-">rollbackState</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState recoverMetaState)</code> <div class="block">called to perform the rollback of the specified state</div> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">serializeStateData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer)</code> <div class="block">The user-level code of the procedure may have some state to persist (e.g.</div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#toStringClassDetails-java.lang.StringBuilder-">toStringClassDetails</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</code> <div class="block">Extend the toString() information with the procedure details @@ -389,7 +399,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.54">LOG</a></pre> +<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.56">LOG</a></pre> </li> </ul> <a name="failedMetaServer"> @@ -398,7 +408,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>failedMetaServer</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/master/procedure/RecoverMetaProcedure.html#line.56">failedMetaServer</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/master/procedure/RecoverMetaProcedure.html#line.58">failedMetaServer</a></pre> </li> </ul> <a name="shouldSplitWal"> @@ -407,7 +417,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>shouldSplitWal</h4> -<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.57">shouldSplitWal</a></pre> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.59">shouldSplitWal</a></pre> </li> </ul> <a name="replicaId"> @@ -416,7 +426,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>replicaId</h4> -<pre>private int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.58">replicaId</a></pre> +<pre>private int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.60">replicaId</a></pre> </li> </ul> <a name="syncLatch"> @@ -425,7 +435,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>syncLatch</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/ProcedurePrepareLatch.html" title="class in org.apache.hadoop.hbase.master.procedure">ProcedurePrepareLatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.60">syncLatch</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/ProcedurePrepareLatch.html" title="class in org.apache.hadoop.hbase.master.procedure">ProcedurePrepareLatch</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.62">syncLatch</a></pre> </li> </ul> <a name="master"> @@ -434,7 +444,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockListLast"> <li class="blockList"> <h4>master</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/master/MasterServices.html" title="interface in org.apache.hadoop.hbase.master">MasterServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.61">master</a></pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/master/MasterServices.html" title="interface in org.apache.hadoop.hbase.master">MasterServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.63">master</a></pre> </li> </ul> </li> @@ -451,7 +461,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>RecoverMetaProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.69">RecoverMetaProcedure</a>(<a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> failedMetaServer, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.71">RecoverMetaProcedure</a>(<a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> failedMetaServer, boolean shouldSplitLog)</pre> <div class="block">Call this constructor to queue up a <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html" title="class in org.apache.hadoop.hbase.master.procedure"><code>RecoverMetaProcedure</code></a> in response to meta carrying server crash</div> @@ -468,7 +478,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>RecoverMetaProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.76">RecoverMetaProcedure</a>(<a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> failedMetaServer, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.78">RecoverMetaProcedure</a>(<a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> failedMetaServer, boolean shouldSplitLog, <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/ProcedurePrepareLatch.html" title="class in org.apache.hadoop.hbase.master.procedure">ProcedurePrepareLatch</a> latch)</pre> <div class="block">Constructor with latch, for blocking/ sync usage</div> @@ -480,7 +490,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockListLast"> <li class="blockList"> <h4>RecoverMetaProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.88">RecoverMetaProcedure</a>()</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.90">RecoverMetaProcedure</a>()</pre> <div class="block">This constructor is also used when deserializing from a procedure store; we'll construct one of these then call #deserializeStateData(InputStream). Do not use directly.</div> </li> @@ -499,7 +509,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>executeFromState</h4> -<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.Flow.html" title="enum in org.apache.hadoop.hbase.procedure2">StateMachineProcedure.Flow</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.93">executeFromState</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.Flow.html" title="enum in org.apache.hadoop.hbase.procedure2">StateMachineProcedure.Flow</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.95">executeFromState</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState state) throws <a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureSuspendedException.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureSuspendedException</a>, <a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureYieldException.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureYieldException</a>, @@ -520,13 +530,27 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T </dl> </li> </ul> +<a name="handleRIT-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.ServerName-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>handleRIT</h4> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.162">handleRIT</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, + <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> ri, + <a href="../../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> crashedServerName)</pre> +<div class="block">Is the region stuck assigning to this failedMetaServer? If so, cancel the call + just as we do over in ServerCrashProcedure#handleRIT except less to do here; less context + to carry.</div> +</li> +</ul> <a name="rollbackState-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>rollbackState</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.156">rollbackState</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.184">rollbackState</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState recoverMetaState) throws <a href="http://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="http://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre> @@ -548,7 +572,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>getState</h4> -<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.164">getState</a>(int stateId)</pre> +<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.192">getState</a>(int stateId)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html#getState-int-">StateMachineProcedure</a></code></span></div> <div class="block">Convert an ordinal (or state id) to an Enum (or more descriptive) state object.</div> <dl> @@ -567,7 +591,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>getStateId</h4> -<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.169">getStateId</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState recoverMetaState)</pre> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.197">getStateId</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState recoverMetaState)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html#getStateId-TState-">StateMachineProcedure</a></code></span></div> <div class="block">Convert the Enum (or more descriptive) state object to an ordinal (or state id).</div> <dl> @@ -586,7 +610,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>getInitialState</h4> -<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.174">getInitialState</a>()</pre> +<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RecoverMetaState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.202">getInitialState</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html#getInitialState--">StateMachineProcedure</a></code></span></div> <div class="block">Return the initial state object that will be used for the first call to executeFromState().</div> <dl> @@ -603,7 +627,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>toStringClassDetails</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.179">toStringClassDetails</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.207">toStringClassDetails</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#toStringClassDetails-java.lang.StringBuilder-">Procedure</a></code></span></div> <div class="block">Extend the toString() information with the procedure details e.g. className and parameters</div> @@ -621,7 +645,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>serializeStateData</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.188">serializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.216">serializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) throws <a href="http://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/procedure2/Procedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">Procedure</a></code></span></div> <div class="block">The user-level code of the procedure may have some state to @@ -643,7 +667,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>deserializeStateData</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.201">deserializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.229">deserializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) throws <a href="http://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/procedure2/Procedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">Procedure</a></code></span></div> <div class="block">Called on store load to allow the user to decode the previously serialized @@ -664,7 +688,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>acquireLock</h4> -<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.LockState.html" title="enum in org.apache.hadoop.hbase.procedure2">Procedure.LockState</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.213">acquireLock</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> +<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.LockState.html" title="enum in org.apache.hadoop.hbase.procedure2">Procedure.LockState</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.241">acquireLock</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#acquireLock-TEnvironment-">Procedure</a></code></span></div> <div class="block">The user should override this method if they need a lock on an Entity. A lock can be anything, and it is up to the implementor. The Procedure @@ -701,7 +725,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>releaseLock</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.221">releaseLock</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.249">releaseLock</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#releaseLock-TEnvironment-">Procedure</a></code></span></div> <div class="block">The user should override this method, and release lock if necessary.</div> <dl> @@ -716,7 +740,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>completionCleanup</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.226">completionCleanup</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.254">completionCleanup</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#completionCleanup-TEnvironment-">Procedure</a></code></span></div> <div class="block">Called when the procedure is marked as completed (success or rollback). The procedure implementor may use this method to cleanup in-memory states. @@ -734,7 +758,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>getTableName</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.231">getTableName</a>()</pre> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.259">getTableName</a>()</pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <dd><code><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html#getTableName--">getTableName</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html" title="interface in org.apache.hadoop.hbase.master.procedure">TableProcedureInterface</a></code></dd> @@ -749,7 +773,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>getTableOperationType</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">TableProcedureInterface.TableOperationType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.236">getTableOperationType</a>()</pre> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">TableProcedureInterface.TableOperationType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.264">getTableOperationType</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html#getTableOperationType--">TableProcedureInterface</a></code></span></div> <div class="block">Given an operation type we can take decisions about what to do with pending operations. e.g. if we get a delete and we have some table operation pending (e.g. add column) @@ -768,7 +792,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockList"> <li class="blockList"> <h4>isRunRequired</h4> -<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.244">isRunRequired</a>()</pre> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.272">isRunRequired</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if failedMetaServer is not null (meta carrying server crashed) or meta is @@ -782,7 +806,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/T <ul class="blockListLast"> <li class="blockList"> <h4>prepare</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.251">prepare</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RecoverMetaProcedure.html#line.279">prepare</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</pre> <div class="block">Prepare for execution</div> </li> </ul>