http://git-wip-us.apache.org/repos/asf/hbase-site/blob/8b4cf63f/devapidocs/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html index 1e7382b..af9640c 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.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,"i18":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,"i19":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -199,10 +199,14 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#parentsToChildrenPairMap">parentsToChildrenPairMap</a></span></code> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#snapshot">snapshot</a></span></code> </td> +<td class="colFirst"><code>private boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#restoreAcl">restoreAcl</a></span></code> </td> </tr> <tr class="altColor"> +<td class="colFirst"><code>private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#snapshot">snapshot</a></span></code> </td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#traceEnabled">traceEnabled</a></span></code> </td> </tr> @@ -233,9 +237,15 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst </td> </tr> <tr class="rowColor"> -<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#CloneSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription-">CloneSnapshotProcedure</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#CloneSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-">CloneSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)</code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#CloneSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-boolean-">CloneSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, - org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)</code> + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, + boolean restoreAcl)</code> <div class="block">Constructor</div> </td> </tr> @@ -357,20 +367,24 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst </td> </tr> <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/procedure/CloneSnapshotProcedure.html#restoreSnapshotAcl-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">restoreSnapshotAcl</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> </td> +</tr> +<tr id="i17" 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/CloneSnapshotProcedure.html#rollbackState-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState-">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.CloneSnapshotState state)</code> <div class="block">called to perform the rollback of the specified state</div> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#serializeStateData-java.io.OutputStream-">serializeStateData</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream)</code> <div class="block">The user-level code of the procedure may have some state to persist (e.g.</div> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i19" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.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 @@ -444,7 +458,16 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>snapshot</h4> -<pre>private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.71">snapshot</a></pre> +<pre>private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.71">snapshot</a></pre> +</li> +</ul> +<a name="restoreAcl"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>restoreAcl</h4> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.72">restoreAcl</a></pre> </li> </ul> <a name="newRegions"> @@ -453,7 +476,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>newRegions</h4> -<pre>private <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.72">newRegions</a></pre> +<pre>private <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.73">newRegions</a></pre> </li> </ul> <a name="parentsToChildrenPairMap"> @@ -462,7 +485,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>parentsToChildrenPairMap</h4> -<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.73">parentsToChildrenPairMap</a></pre> +<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.74">parentsToChildrenPairMap</a></pre> </li> </ul> <a name="monitorStatus"> @@ -471,7 +494,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>monitorStatus</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.76">monitorStatus</a></pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.77">monitorStatus</a></pre> </li> </ul> <a name="traceEnabled"> @@ -480,7 +503,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockListLast"> <li class="blockList"> <h4>traceEnabled</h4> -<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.78">traceEnabled</a></pre> +<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.79">traceEnabled</a></pre> </li> </ul> </li> @@ -497,19 +520,31 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>CloneSnapshotProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.83">CloneSnapshotProcedure</a>()</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.84">CloneSnapshotProcedure</a>()</pre> <div class="block">Constructor (for failover)</div> </li> </ul> -<a name="CloneSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription-"> +<a name="CloneSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>CloneSnapshotProcedure</h4> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.87">CloneSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)</pre> +</li> +</ul> +<a name="CloneSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-boolean-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>CloneSnapshotProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.92">CloneSnapshotProcedure</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.98">CloneSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, - org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)</pre> + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, + boolean restoreAcl)</pre> <div class="block">Constructor</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -533,17 +568,31 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getMonitorStatus</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.104">getMonitorStatus</a>()</pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.112">getMonitorStatus</a>()</pre> <div class="block">Set up monitor status if it is not created.</div> </li> </ul> +<a name="restoreSnapshotAcl-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>restoreSnapshotAcl</h4> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.120">restoreSnapshotAcl</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) + 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> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><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></code></dd> +</dl> +</li> +</ul> <a name="executeFromState-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState-"> <!-- --> </a> <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/CloneSnapshotProcedure.html#line.113">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/CloneSnapshotProcedure.html#line.129">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.CloneSnapshotState state) throws <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> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html#executeFromState-TEnvironment-TState-">StateMachineProcedure</a></code></span></div> @@ -566,7 +615,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>rollbackState</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.166">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/CloneSnapshotProcedure.html#line.186">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.CloneSnapshotState state) 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/StateMachineProcedure.html#rollbackState-TEnvironment-TState-">StateMachineProcedure</a></code></span></div> @@ -586,7 +635,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>isRollbackSupported</h4> -<pre>protected boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.179">isRollbackSupported</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState state)</pre> +<pre>protected boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.199">isRollbackSupported</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState state)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html#isRollbackSupported-TState-">StateMachineProcedure</a></code></span></div> <div class="block">Used by the default implementation of abort() to know if the current state can be aborted and rollback can be triggered.</div> @@ -602,7 +651,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getState</h4> -<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.189">getState</a>(int stateId)</pre> +<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.209">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> @@ -621,7 +670,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getStateId</h4> -<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.194">getStateId</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState state)</pre> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.214">getStateId</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState state)</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> @@ -640,7 +689,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getInitialState</h4> -<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.199">getInitialState</a>()</pre> +<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CloneSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.219">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> @@ -657,7 +706,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <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/CloneSnapshotProcedure.html#line.204">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/CloneSnapshotProcedure.html#line.224">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> @@ -674,7 +723,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <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/CloneSnapshotProcedure.html#line.209">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/CloneSnapshotProcedure.html#line.229">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) @@ -695,7 +744,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>toStringClassDetails</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.214">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>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.234">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> @@ -713,7 +762,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>serializeStateData</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.224">serializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream) +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.244">serializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream) 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-java.io.OutputStream-">Procedure</a></code></span></div> <div class="block">The user-level code of the procedure may have some state to @@ -734,7 +783,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>deserializeStateData</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.255">deserializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> stream) +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.275">deserializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> stream) 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-java.io.InputStream-">Procedure</a></code></span></div> <div class="block">Called on store load to allow the user to decode the previously serialized @@ -755,7 +804,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>prepareClone</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.291">prepareClone</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.311">prepareClone</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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">Action before any real action of cloning from snapshot.</div> <dl> @@ -772,7 +821,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>preCloneSnapshot</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.304">preCloneSnapshot</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.324">preCloneSnapshot</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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> <div class="block">Action before cloning from snapshot.</div> @@ -791,7 +840,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>postCloneSnapshot</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.332">postCloneSnapshot</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.352">postCloneSnapshot</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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> <div class="block">Action after cloning from snapshot.</div> @@ -810,7 +859,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>createFilesystemLayout</h4> -<pre>private <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.347">createFilesystemLayout</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<pre>private <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.367">createFilesystemLayout</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> newRegions) 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> @@ -829,7 +878,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>createFsLayout</h4> -<pre>private <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.408">createFsLayout</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<pre>private <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.428">createFsLayout</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, <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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> newRegions, <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.CreateHdfsRegions.html" title="interface in org.apache.hadoop.hbase.master.procedure">CreateTableProcedure.CreateHdfsRegions</a> hdfsRegionHandler) @@ -849,7 +898,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>addRegionsToMeta</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.438">addRegionsToMeta</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.458">addRegionsToMeta</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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">Add regions to hbase:meta table.</div> <dl> @@ -866,7 +915,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockListLast"> <li class="blockList"> <h4>isTraceEnabled</h4> -<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.452">isTraceEnabled</a>()</pre> +<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.html#line.472">isTraceEnabled</a>()</pre> <div class="block">The procedure could be restarted from a different machine. If the variable is null, we need to retrieve it.</div> <dl>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/8b4cf63f/devapidocs/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html index 17cd0c9..74fdc7c 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.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,"i18":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,"i19":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -207,10 +207,14 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#regionsToRestore">regionsToRestore</a></span></code> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#snapshot">snapshot</a></span></code> </td> +<td class="colFirst"><code>private boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#restoreAcl">restoreAcl</a></span></code> </td> </tr> <tr class="altColor"> +<td class="colFirst"><code>private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#snapshot">snapshot</a></span></code> </td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#traceEnabled">traceEnabled</a></span></code> </td> </tr> @@ -241,9 +245,15 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst </td> </tr> <tr class="rowColor"> -<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#RestoreSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription-">RestoreSnapshotProcedure</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#RestoreSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-">RestoreSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, - org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)</code> + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)</code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#RestoreSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-boolean-">RestoreSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, + boolean restoreAcl)</code> <div class="block">Constructor</div> </td> </tr> @@ -350,33 +360,37 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst </td> </tr> <tr id="i14" class="altColor"> +<td class="colFirst"><code>private void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#restoreSnapshotAcl-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">restoreSnapshotAcl</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> </td> +</tr> +<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/RestoreSnapshotProcedure.html#rollbackState-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState-">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.RestoreSnapshotState state)</code> <div class="block">called to perform the rollback of the specified state</div> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#serializeStateData-java.io.OutputStream-">serializeStateData</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream)</code> <div class="block">The user-level code of the procedure may have some state to persist (e.g.</div> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.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 e.g.</div> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#updateMETA-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">updateMETA</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">Apply changes to hbase:meta</div> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i19" 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/RestoreSnapshotProcedure.html#updateTableDescriptor-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">updateTableDescriptor</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">Update descriptor</div> @@ -485,7 +499,16 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>snapshot</h4> -<pre>private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.71">snapshot</a></pre> +<pre>private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.71">snapshot</a></pre> +</li> +</ul> +<a name="restoreAcl"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>restoreAcl</h4> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.72">restoreAcl</a></pre> </li> </ul> <a name="monitorStatus"> @@ -494,7 +517,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>monitorStatus</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.74">monitorStatus</a></pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.75">monitorStatus</a></pre> </li> </ul> <a name="traceEnabled"> @@ -503,7 +526,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockListLast"> <li class="blockList"> <h4>traceEnabled</h4> -<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.76">traceEnabled</a></pre> +<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.77">traceEnabled</a></pre> </li> </ul> </li> @@ -520,19 +543,31 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>RestoreSnapshotProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.81">RestoreSnapshotProcedure</a>()</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.82">RestoreSnapshotProcedure</a>()</pre> <div class="block">Constructor (for failover)</div> </li> </ul> -<a name="RestoreSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription-"> +<a name="RestoreSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>RestoreSnapshotProcedure</h4> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.85">RestoreSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)</pre> +</li> +</ul> +<a name="RestoreSnapshotProcedure-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-org.apache.hadoop.hbase.HTableDescriptor-org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription-boolean-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>RestoreSnapshotProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.91">RestoreSnapshotProcedure</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.96">RestoreSnapshotProcedure</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/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> hTableDescriptor, - org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)</pre> + org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, + boolean restoreAcl)</pre> <div class="block">Constructor</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -558,7 +593,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getMonitorStatus</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.108">getMonitorStatus</a>()</pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/monitoring/MonitoredTask.html" title="interface in org.apache.hadoop.hbase.monitoring">MonitoredTask</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.115">getMonitorStatus</a>()</pre> <div class="block">Set up monitor status if it is not created.</div> </li> </ul> @@ -568,7 +603,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <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/RestoreSnapshotProcedure.html#line.117">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/RestoreSnapshotProcedure.html#line.124">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.RestoreSnapshotState state) throws <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> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html#executeFromState-TEnvironment-TState-">StateMachineProcedure</a></code></span></div> @@ -591,7 +626,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>rollbackState</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.159">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/RestoreSnapshotProcedure.html#line.170">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.RestoreSnapshotState state) 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/StateMachineProcedure.html#rollbackState-TEnvironment-TState-">StateMachineProcedure</a></code></span></div> @@ -611,7 +646,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>isRollbackSupported</h4> -<pre>protected boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.171">isRollbackSupported</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState state)</pre> +<pre>protected boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.182">isRollbackSupported</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState state)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.html#isRollbackSupported-TState-">StateMachineProcedure</a></code></span></div> <div class="block">Used by the default implementation of abort() to know if the current state can be aborted and rollback can be triggered.</div> @@ -627,7 +662,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getState</h4> -<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.181">getState</a>(int stateId)</pre> +<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.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> @@ -646,7 +681,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getStateId</h4> -<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.186">getStateId</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState state)</pre> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.197">getStateId</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState state)</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> @@ -665,7 +700,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>getInitialState</h4> -<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.191">getInitialState</a>()</pre> +<pre>protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.RestoreSnapshotState <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.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> @@ -682,7 +717,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <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/RestoreSnapshotProcedure.html#line.196">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/RestoreSnapshotProcedure.html#line.207">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> @@ -699,7 +734,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <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/RestoreSnapshotProcedure.html#line.201">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/RestoreSnapshotProcedure.html#line.212">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) @@ -720,7 +755,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>abort</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.206">abort</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>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.217">abort</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#abort-TEnvironment-">Procedure</a></code></span></div> <div class="block">The abort() call is asynchronous and each procedure must decide how to deal with that, if they want to be abortable. The simplest implementation @@ -744,7 +779,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>toStringClassDetails</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.212">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>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.223">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> @@ -762,7 +797,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>serializeStateData</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.222">serializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream) +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.233">serializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream) 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-java.io.OutputStream-">Procedure</a></code></span></div> <div class="block">The user-level code of the procedure may have some state to @@ -783,7 +818,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>deserializeStateData</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.264">deserializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> stream) +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.275">deserializeStateData</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> stream) 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-java.io.InputStream-">Procedure</a></code></span></div> <div class="block">Called on store load to allow the user to decode the previously serialized @@ -804,7 +839,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>prepareRestore</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.315">prepareRestore</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.326">prepareRestore</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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">Action before any real action of restoring from snapshot.</div> <dl> @@ -821,7 +856,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>updateTableDescriptor</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.355">updateTableDescriptor</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.366">updateTableDescriptor</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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">Update descriptor</div> <dl> @@ -838,7 +873,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>restoreSnapshot</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.364">restoreSnapshot</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.375">restoreSnapshot</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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">Execute the on-disk Restore</div> <dl> @@ -855,7 +890,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockList"> <li class="blockList"> <h4>updateMETA</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.404">updateMETA</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.415">updateMETA</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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">Apply changes to hbase:meta</div> <dl> @@ -866,13 +901,27 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst </dl> </li> </ul> +<a name="restoreSnapshotAcl-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>restoreSnapshotAcl</h4> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.488">restoreSnapshotAcl</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) + 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> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><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></code></dd> +</dl> +</li> +</ul> <a name="forceRegionsOffline-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-java.util.List-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>forceRegionsOffline</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.482">forceRegionsOffline</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env, +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.503">forceRegionsOffline</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="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/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>> hris)</pre> <div class="block">Make sure that region states of the region list is in OFFLINE state.</div> <dl> @@ -888,7 +937,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/Abst <ul class="blockListLast"> <li class="blockList"> <h4>isTraceEnabled</h4> -<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.496">isTraceEnabled</a>()</pre> +<pre>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.html#line.517">isTraceEnabled</a>()</pre> <div class="block">The procedure could be restarted from a different machine. If the variable is null, we need to retrieve it.</div> <dl>