http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e23b49ba/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessor.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessor.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessor.html index 2ec4ab5..21b91cb 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessor.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessor.html @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContextImpl.html" title="class in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/coprocessor/ReadOnlyConfiguration.html" title="class in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> @@ -250,7 +250,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/Coprocessor.html" title= </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContextImpl.html" title="class in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/coprocessor/ReadOnlyConfiguration.html" title="class in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList">
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e23b49ba/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html index 8964468..d941a19 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html @@ -134,7 +134,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-">createConnection</a></span>(org.apache.hadoop.conf.Configuration conf)</code> -<div class="block">Creates a cluster connection using the passed configuration.</div> +<div class="block">Creates a cluster connection using the passed Configuration.</div> </td> </tr> <tr id="i1" class="rowColor"> @@ -146,7 +146,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#getConnection--">getConnection</a></span>()</code> -<div class="block">Be careful RPC'ing from a Coprocessor context.</div> +<div class="block">Returns the hosts' Connection to the Cluster.</div> </td> </tr> <tr id="i3" class="rowColor"> @@ -268,22 +268,33 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <ul class="blockList"> <li class="blockList"> <h4>getConnection</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.75">getConnection</a>()</pre> -<div class="block">Be careful RPC'ing from a Coprocessor context. - RPC's will fail, stall, retry, and/or crawl because the remote side is not online, is - struggling or it is on the other side of a network partition. Any use of Connection from - inside a Coprocessor must be able to handle all such hiccups. +<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.86">getConnection</a>()</pre> +<div class="block">Returns the hosts' Connection to the Cluster. <b>Do not close! This is a shared connection + with the hosting server. Throws <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a> if you try to close + or abort it</b>. - <p>Using a Connection to get at a local resource -- say a Region that is on the local - Server or using Admin Interface from a Coprocessor hosted on the Master -- will result in a - short-circuit of the RPC framework to make a direct invocation avoiding RPC. -<p> - Note: If you want to create Connection with your own Configuration and NOT use the RegionServer - Connection (though its cache of locations will be warm, and its life-cycle is not the concern - of the CP), see <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a>.</div> + For light-weight usage only. Heavy-duty usage will pull down + the hosting RegionServer responsiveness as well as that of other Coprocessors making use of + this Connection. Use to create table on start or to do administrative operations. Coprocessors + should create their own Connections if heavy usage to avoid impinging on hosting Server + operation. To create a Connection or if a Coprocessor requires a region with a particular + Configuration, use <a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><code>ConnectionFactory</code></a> or + <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a>}. + + <p>Be aware that operations that make use of this Connection are executed as the RegionServer + User, the hbase super user that started this server process. Exercise caution running + operations as this User (See <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a>} to run as other than + the RegionServer User). + + <p>Be careful RPC'ing from a Coprocessor context. RPC's will fail, stall, retry, and/or crawl + because the remote side is not online, is struggling or it is on the other side of a network + partition. Any use of Connection from inside a Coprocessor must be able to handle all such + hiccups.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The host's Connection to the Cluster.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a></dd> </dl> </li> </ul> @@ -293,18 +304,26 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <ul class="blockList"> <li class="blockList"> <h4>createConnection</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.89">createConnection</a>(org.apache.hadoop.conf.Configuration conf) +<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.108">createConnection</a>(org.apache.hadoop.conf.Configuration conf) 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">Creates a cluster connection using the passed configuration. - <p>Using this Connection to get at a local resource -- say a Region that is on the local - Server or using Admin Interface from a Coprocessor hosted on the Master -- will result in a - short-circuit of the RPC framework to make a direct invocation avoiding RPC. - <p> - Note: HBase will NOT cache/maintain this Connection. If Coprocessors need to cache and reuse - this connection, it has to be done by Coprocessors. Also make sure to close it after use.</div> +<div class="block">Creates a cluster connection using the passed Configuration. + + Creating a Connection is a heavy-weight operation. The resultant Connection's cache of + region locations will be empty. Therefore you should cache and reuse Connections rather than + create a Connection on demand. Create on start of your Coprocessor. You will have to cast + the CoprocessorEnvironment appropriately to get at this API at start time because + Coprocessor start method is passed a subclass of this CoprocessorEnvironment or fetch + Connection using a synchronized accessor initializing the Connection on first access. Close + the returned Connection when done to free resources. Using this API rather + than <a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>ConnectionFactory.createConnection(Configuration)</code></a> + returns a Connection that will short-circuit RPC if the target is a local resource. Use + ConnectionFactory if you don't need this ability. + + <p>Be careful RPC'ing from a Coprocessor context. RPC's will fail, stall, retry, and/or crawl + because the remote side is not online, is struggling or it is on the other side of a network + partition. Any use of Connection from inside a Coprocessor must be able to handle all such + hiccups.</div> <dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>conf</code> - configuration</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>Connection created using the passed conf.</dd> <dt><span class="throwsLabel">Throws:</span></dt> @@ -318,7 +337,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <ul class="blockList"> <li class="blockList"> <h4>getMetricRegistryForRegionServer</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/metrics/MetricRegistry.html" title="interface in org.apache.hadoop.hbase.metrics">MetricRegistry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.106">getMetricRegistryForRegionServer</a>()</pre> +<pre><a href="../../../../../org/apache/hadoop/hbase/metrics/MetricRegistry.html" title="interface in org.apache.hadoop.hbase.metrics">MetricRegistry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.125">getMetricRegistryForRegionServer</a>()</pre> <div class="block">Returns a MetricRegistry that can be used to track metrics at the region server level. All metrics tracked at this level will be shared by all the coprocessor instances of the same class in the same region server process. Note that there will be one @@ -340,7 +359,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <ul class="blockListLast"> <li class="blockList"> <h4>getCellBuilder</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/ExtendedCellBuilder.html" title="interface in org.apache.hadoop.hbase">ExtendedCellBuilder</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.113">getCellBuilder</a>()</pre> +<pre><a href="../../../../../org/apache/hadoop/hbase/ExtendedCellBuilder.html" title="interface in org.apache.hadoop.hbase">ExtendedCellBuilder</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html#line.132">getCellBuilder</a>()</pre> <div class="block">Returns a CellBuilder so that coprocessors can build cells. These cells can also include tags. Note that this builder does not support updating seqId of the cells</div> <dl> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e23b49ba/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html index c25b53c..af7abd2 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":50,"i18":18,"i19":18,"i20":18,"i21":18,"i22":18,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":50,"i29":50,"i30":18,"i31":18,"i32":18,"i33":18,"i34":18,"i35":18,"i36":18,"i37":18,"i38":18,"i39":18,"i40":18,"i41":18,"i42":18,"i43":18,"i44":18,"i45":18,"i46":18,"i47":18,"i48":18,"i49":18,"i50":18,"i51":18,"i52":18,"i53":18,"i54":18,"i55":50,"i56":18,"i57":18,"i58":18,"i59":18,"i60":18,"i61":50,"i62":18,"i63":50}; +var methods = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":50,"i18":18,"i19":18,"i20":18,"i21":18,"i22":18,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":50,"i29":18,"i30":18,"i31":18,"i32":18,"i33":18,"i34":18,"i35":18,"i36":18,"i37":18,"i38":18,"i39":18,"i40":18,"i41":18,"i42":18,"i43":18,"i44":18,"i45":18,"i46":18,"i47":18,"i48":18,"i49":18,"i50":18,"i51":18,"i52":18,"i53":18,"i54":18,"i55":50,"i56":18,"i57":18,"i58":18,"i59":18,"i60":18,"i61":50,"i62":18,"i63":18}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -200,11 +200,10 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/coproc </td> </tr> <tr id="i3" class="rowColor"> -<td class="colFirst"><code>default boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-boolean-">postBulkLoadHFile</a></span>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +<td class="colFirst"><code>default void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-">postBulkLoadHFile</a></span>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <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/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],<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>>> stagingFamilyPaths, - <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths, - boolean hasLoaded)</code> + <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths)</code> <div class="block">Called after bulkLoadHFile.</div> </td> </tr> @@ -439,12 +438,10 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/coproc <td class="colFirst"><code>default void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#postWALRestore-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">postWALRestore</a></span>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> -<div class="block"><span class="deprecatedLabel">Deprecated.</span> -<div class="block"><span class="deprecationComment">Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced - with something that doesn't expose IntefaceAudience.Private classes.</span></div> -</div> +<div class="block">Called after a <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><code>WALEdit</code></a> + replayed for this region.</div> </td> </tr> <tr id="i30" class="altColor"> @@ -749,12 +746,10 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/coproc <td class="colFirst"><code>default void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#preWALRestore-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">preWALRestore</a></span>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> -<div class="block"><span class="deprecatedLabel">Deprecated.</span> -<div class="block"><span class="deprecationComment">Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced - with something that doesn't expose IntefaceAudience.Private classes.</span></div> -</div> +<div class="block">Called before a <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><code>WALEdit</code></a> + replayed for this region.</div> </td> </tr> </table> @@ -2217,18 +2212,13 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ <ul class="blockList"> <li class="blockList"> <h4>preWALRestore</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.922">preWALRestore</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, - <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit) - 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="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced - with something that doesn't expose IntefaceAudience.Private classes.</span></div> +<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.917">preWALRestore</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, + <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit) + 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">Called before a <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><code>WALEdit</code></a> - replayed for this region. - Do not amend the WALKey. It is InterfaceAudience.Private. Changing the WALKey will cause - damage.</div> + replayed for this region.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ctx</code> - the environment provided by the region server</dd> @@ -2243,18 +2233,13 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ <ul class="blockList"> <li class="blockList"> <h4>postWALRestore</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.935">postWALRestore</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, - <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit) - 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="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced - with something that doesn't expose IntefaceAudience.Private classes.</span></div> +<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.925">postWALRestore</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, + <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit) + 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">Called after a <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><code>WALEdit</code></a> - replayed for this region. - Do not amend the WALKey. It is InterfaceAudience.Private. Changing the WALKey will cause - damage.</div> + replayed for this region.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ctx</code> - the environment provided by the region server</dd> @@ -2269,7 +2254,7 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ <ul class="blockList"> <li class="blockList"> <h4>preBulkLoadHFile</h4> -<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.946">preBulkLoadHFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.936">preBulkLoadHFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <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/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],<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>>> familyPaths) 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">Called before bulkLoadHFile. Users can create a StoreFile instance to @@ -2290,7 +2275,7 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ <ul class="blockList"> <li class="blockList"> <h4>preCommitStoreFile</h4> -<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.957">preCommitStoreFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.947">preCommitStoreFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, byte[] family, <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/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><org.apache.hadoop.fs.Path,org.apache.hadoop.fs.Path>> pairs) 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> @@ -2312,7 +2297,7 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ <ul class="blockList"> <li class="blockList"> <h4>postCommitStoreFile</h4> -<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.968">postCommitStoreFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.958">postCommitStoreFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, byte[] family, org.apache.hadoop.fs.Path srcPath, org.apache.hadoop.fs.Path dstPath) @@ -2329,26 +2314,24 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ </dl> </li> </ul> -<a name="postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-boolean-"> +<a name="postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>postBulkLoadHFile</h4> -<pre>default boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.980">postBulkLoadHFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, - <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/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],<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>>> stagingFamilyPaths, - <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths, - boolean hasLoaded) - 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> +<pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.970">postBulkLoadHFile</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, + <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/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],<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>>> stagingFamilyPaths, + <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths) + 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">Called after bulkLoadHFile.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ctx</code> - the environment provided by the region server</dd> <dd><code>stagingFamilyPaths</code> - pairs of { CF, HFile path } submitted for bulk load</dd> -<dd><code>finalPaths</code> - Map of CF to List of file paths for the loaded files</dd> -<dd><code>hasLoaded</code> - whether the bulkLoad was successful</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>the new value of hasLoaded</dd> +<dd><code>finalPaths</code> - Map of CF to List of file paths for the loaded files + if the Map is not null, the bulkLoad was successful. Otherwise the bulk load failed. + bulkload is done by the time this hook is called.</dd> <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> @@ -2361,7 +2344,7 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ <li class="blockList"> <h4>preStoreFileReaderOpen</h4> <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -default <a href="../../../../../org/apache/hadoop/hbase/regionserver/StoreFileReader.html" title="class in org.apache.hadoop.hbase.regionserver">StoreFileReader</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.1006">preStoreFileReaderOpen</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +default <a href="../../../../../org/apache/hadoop/hbase/regionserver/StoreFileReader.html" title="class in org.apache.hadoop.hbase.regionserver">StoreFileReader</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.995">preStoreFileReaderOpen</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, <a href="../../../../../org/apache/hadoop/hbase/io/FSDataInputStreamWrapper.html" title="class in org.apache.hadoop.hbase.io">FSDataInputStreamWrapper</a> in, @@ -2399,7 +2382,7 @@ default <a href="../../../../../org/apache/hadoop/hbase/regionserver/StoreF <li class="blockList"> <h4>postStoreFileReaderOpen</h4> <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -default <a href="../../../../../org/apache/hadoop/hbase/regionserver/StoreFileReader.html" title="class in org.apache.hadoop.hbase.regionserver">StoreFileReader</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.1029">postStoreFileReaderOpen</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +default <a href="../../../../../org/apache/hadoop/hbase/regionserver/StoreFileReader.html" title="class in org.apache.hadoop.hbase.regionserver">StoreFileReader</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.1018">postStoreFileReaderOpen</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, <a href="../../../../../org/apache/hadoop/hbase/io/FSDataInputStreamWrapper.html" title="class in org.apache.hadoop.hbase.io">FSDataInputStreamWrapper</a> in, @@ -2433,7 +2416,7 @@ default <a href="../../../../../org/apache/hadoop/hbase/regionserver/StoreF <ul class="blockList"> <li class="blockList"> <h4>postMutationBeforeWAL</h4> -<pre>default <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.1047">postMutationBeforeWAL</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +<pre>default <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.1036">postMutationBeforeWAL</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.MutationType.html" title="enum in org.apache.hadoop.hbase.coprocessor">RegionObserver.MutationType</a> opType, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a> mutation, <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> oldCell, @@ -2464,7 +2447,7 @@ default <a href="../../../../../org/apache/hadoop/hbase/regionserver/StoreF <li class="blockList"> <h4>postInstantiateDeleteTracker</h4> <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -default <a href="../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/DeleteTracker.html" title="interface in org.apache.hadoop.hbase.regionserver.querymatcher">DeleteTracker</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.1064">postInstantiateDeleteTracker</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +default <a href="../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/DeleteTracker.html" title="interface in org.apache.hadoop.hbase.regionserver.querymatcher">DeleteTracker</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionObserver.html#line.1053">postInstantiateDeleteTracker</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/DeleteTracker.html" title="interface in org.apache.hadoop.hbase.regionserver.querymatcher">DeleteTracker</a> delTracker) 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="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.0 with out any replacement and will be removed in 3.0</span></div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e23b49ba/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html index c4b4770..c422bfe 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html @@ -134,13 +134,13 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-">createConnection</a></span>(org.apache.hadoop.conf.Configuration conf)</code> -<div class="block">Creates a cluster connection using the passed configuration.</div> +<div class="block">Creates a cluster connection using the passed Configuration.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#getConnection--">getConnection</a></span>()</code> -<div class="block">Be careful RPC'ing from a Coprocessor context.</div> +<div class="block">Returns the hosts' Connection to the Cluster.</div> </td> </tr> <tr id="i2" class="altColor"> @@ -211,22 +211,33 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <ul class="blockList"> <li class="blockList"> <h4>getConnection</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#line.62">getConnection</a>()</pre> -<div class="block">Be careful RPC'ing from a Coprocessor context. - RPC's will fail, stall, retry, and/or crawl because the remote side is not online, is - struggling or it is on the other side of a network partition. Any use of Connection from - inside a Coprocessor must be able to handle all such hiccups. +<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#line.73">getConnection</a>()</pre> +<div class="block">Returns the hosts' Connection to the Cluster. <b>Do not close! This is a shared connection + with the hosting server. Throws <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a> if you try to close + or abort it</b>. - <p>Using a Connection to get at a local resource -- say a Region that is on the local - Server or using Admin Interface from a Coprocessor hosted on the Master -- will result in a - short-circuit of the RPC framework to make a direct invocation avoiding RPC. -<p> - Note: If you want to create Connection with your own Configuration and NOT use the RegionServer - Connection (though its cache of locations will be warm, and its life-cycle is not the concern - of the CP), see <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a>.</div> + For light-weight usage only. Heavy-duty usage will pull down + the hosting RegionServer responsiveness as well as that of other Coprocessors making use of + this Connection. Use to create table on start or to do administrative operations. Coprocessors + should create their own Connections if heavy usage to avoid impinging on hosting Server + operation. To create a Connection or if a Coprocessor requires a region with a particular + Configuration, use <a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><code>ConnectionFactory</code></a> or + <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a>}. + + <p>Be aware that operations that make use of this Connection are executed as the RegionServer + User, the hbase super user that started this server process. Exercise caution running + operations as this User (See <a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a>} to run as other than + the RegionServer User). + + <p>Be careful RPC'ing from a Coprocessor context. RPC's will fail, stall, retry, and/or crawl + because the remote side is not online, is struggling or it is on the other side of a network + partition. Any use of Connection from inside a Coprocessor must be able to handle all such + hiccups.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The host's Connection to the Cluster.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>createConnection(Configuration)</code></a></dd> </dl> </li> </ul> @@ -236,18 +247,26 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <ul class="blockList"> <li class="blockList"> <h4>createConnection</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#line.76">createConnection</a>(org.apache.hadoop.conf.Configuration conf) +<pre><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#line.95">createConnection</a>(org.apache.hadoop.conf.Configuration conf) 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">Creates a cluster connection using the passed configuration. - <p>Using this Connection to get at a local resource -- say a Region that is on the local - Server or using Admin Interface from a Coprocessor hosted on the Master -- will result in a - short-circuit of the RPC framework to make a direct invocation avoiding RPC. - <p> - Note: HBase will NOT cache/maintain this Connection. If Coprocessors need to cache and reuse - this connection, it has to be done by Coprocessors. Also make sure to close it after use.</div> +<div class="block">Creates a cluster connection using the passed Configuration. + + Creating a Connection is a heavy-weight operation. The resultant Connection's cache of + region locations will be empty. Therefore you should cache and reuse Connections rather than + create a Connection on demand. Create on start of your Coprocessor. You will have to cast + the CoprocessorEnvironment appropriately to get at this API at start time because + Coprocessor start method is passed a subclass of this CoprocessorEnvironment or fetch + Connection using a synchronized accessor initializing the Connection on first access. Close + the returned Connection when done to free resources. Using this API rather + than <a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html#createConnection-org.apache.hadoop.conf.Configuration-"><code>ConnectionFactory.createConnection(Configuration)</code></a> + returns a Connection that will short-circuit RPC if the target is a local resource. Use + ConnectionFactory if you don't need this ability. + + <p>Be careful RPC'ing from a Coprocessor context. RPC's will fail, stall, retry, and/or crawl + because the remote side is not online, is struggling or it is on the other side of a network + partition. Any use of Connection from inside a Coprocessor must be able to handle all such + hiccups.</div> <dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>conf</code> - configuration</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>Connection created using the passed conf.</dd> <dt><span class="throwsLabel">Throws:</span></dt> @@ -261,7 +280,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/CoprocessorEnvironment.h <ul class="blockListLast"> <li class="blockList"> <h4>getMetricRegistryForRegionServer</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/metrics/MetricRegistry.html" title="interface in org.apache.hadoop.hbase.metrics">MetricRegistry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#line.85">getMetricRegistryForRegionServer</a>()</pre> +<pre><a href="../../../../../org/apache/hadoop/hbase/metrics/MetricRegistry.html" title="interface in org.apache.hadoop.hbase.metrics">MetricRegistry</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessorEnvironment.html#line.104">getMetricRegistryForRegionServer</a>()</pre> <div class="block">Returns a MetricRegistry that can be used to track metrics at the region server level. <p>See ExampleMasterObserverWithMetrics class in the hbase-examples modules for examples http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e23b49ba/devapidocs/org/apache/hadoop/hbase/coprocessor/WALObserver.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/WALObserver.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/WALObserver.html index 1a2a852..a163b4d 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/WALObserver.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/WALObserver.html @@ -166,7 +166,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/coproc <td class="colFirst"><code>default void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/WALObserver.html#postWALWrite-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">postWALWrite</a></span>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/WALCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">WALCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">Since hbase-2.0.0. To be replaced with an alternative that does not expose @@ -186,7 +186,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/coproc <td class="colFirst"><code>default void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/coprocessor/WALObserver.html#preWALWrite-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">preWALWrite</a></span>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/WALCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">WALCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">Since hbase-2.0.0. To be replaced with an alternative that does not expose @@ -218,7 +218,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/coproc <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/WALObserver.html#line.78">preWALWrite</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/WALCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">WALCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit) 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="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since hbase-2.0.0. To be replaced with an alternative that does not expose @@ -242,7 +242,7 @@ default void <a href="../../../../../src-html/org/apache/hadoop/hbase/ <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> default void <a href="../../../../../src-html/org/apache/hadoop/hbase/coprocessor/WALObserver.html#line.90">postWALWrite</a>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../org/apache/hadoop/hbase/coprocessor/WALCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">WALCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit) 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="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since hbase-2.0.0. To be replaced with an alternative that does not expose http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e23b49ba/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html index 8ac4e0a..64a9d82 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html @@ -155,11 +155,10 @@ </tr> <tbody> <tr class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><span class="typeNameLabel">BackupObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupObserver.html#postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-boolean-">postBulkLoadHFile</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +<td class="colFirst"><code>void</code></td> +<td class="colLast"><span class="typeNameLabel">BackupObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupObserver.html#postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-">postBulkLoadHFile</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <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/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],<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>>> stagingFamilyPaths, - <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths, - boolean hasLoaded)</code> </td> + <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> @@ -328,11 +327,10 @@ </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>default boolean</code></td> -<td class="colLast"><span class="typeNameLabel">RegionObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-boolean-">postBulkLoadHFile</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, +<td class="colFirst"><code>default void</code></td> +<td class="colLast"><span class="typeNameLabel">RegionObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#postBulkLoadHFile-org.apache.hadoop.hbase.coprocessor.ObserverContext-java.util.List-java.util.Map-">postBulkLoadHFile</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <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/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],<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>>> stagingFamilyPaths, - <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths, - boolean hasLoaded)</code> + <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><byte[],<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><org.apache.hadoop.fs.Path>> finalPaths)</code> <div class="block">Called after bulkLoadHFile.</div> </td> </tr> @@ -1064,12 +1062,10 @@ <td class="colFirst"><code>default void</code></td> <td class="colLast"><span class="typeNameLabel">RegionObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#postWALRestore-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">postWALRestore</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> -<div class="block"><span class="deprecatedLabel">Deprecated.</span> -<div class="block"><span class="deprecationComment">Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced - with something that doesn't expose IntefaceAudience.Private classes.</span></div> -</div> +<div class="block">Called after a <a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><code>WALEdit</code></a> + replayed for this region.</div> </td> </tr> <tr class="rowColor"> @@ -1084,7 +1080,7 @@ <td class="colFirst"><code>default void</code></td> <td class="colLast"><span class="typeNameLabel">WALObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/WALObserver.html#postWALWrite-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">postWALWrite</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/WALCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">WALCoprocessorEnvironment</a>> ctx, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">Since hbase-2.0.0. To be replaced with an alternative that does not expose @@ -1978,12 +1974,10 @@ <td class="colFirst"><code>default void</code></td> <td class="colLast"><span class="typeNameLabel">RegionObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionObserver.html#preWALRestore-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">preWALRestore</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/RegionCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">RegionCoprocessorEnvironment</a>> ctx, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> -<div class="block"><span class="deprecatedLabel">Deprecated.</span> -<div class="block"><span class="deprecationComment">Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced - with something that doesn't expose IntefaceAudience.Private classes.</span></div> -</div> +<div class="block">Called before a <a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal"><code>WALEdit</code></a> + replayed for this region.</div> </td> </tr> <tr class="rowColor"> @@ -1998,7 +1992,7 @@ <td class="colFirst"><code>default void</code></td> <td class="colLast"><span class="typeNameLabel">WALObserver.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/WALObserver.html#preWALWrite-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.client.RegionInfo-org.apache.hadoop.hbase.wal.WALKey-org.apache.hadoop.hbase.wal.WALEdit-">preWALWrite</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="interface in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><? extends <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/WALCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">WALCoprocessorEnvironment</a>> ctx, <a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> info, - <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> logKey, + <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="interface in org.apache.hadoop.hbase.wal">WALKey</a> logKey, <a href="../../../../../../org/apache/hadoop/hbase/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.wal">WALEdit</a> logEdit)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">Since hbase-2.0.0. To be replaced with an alternative that does not expose http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e23b49ba/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ReadOnlyConfiguration.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ReadOnlyConfiguration.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ReadOnlyConfiguration.html new file mode 100644 index 0000000..1ad0f42 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ReadOnlyConfiguration.html @@ -0,0 +1,125 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Uses of Class org.apache.hadoop.hbase.coprocessor.ReadOnlyConfiguration (Apache HBase 3.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Class org.apache.hadoop.hbase.coprocessor.ReadOnlyConfiguration (Apache HBase 3.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ReadOnlyConfiguration.html" title="class in org.apache.hadoop.hbase.coprocessor">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../../../../../../overview-tree.html">Tree</a></li> +<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/coprocessor/class-use/ReadOnlyConfiguration.html" target="_top">Frames</a></li> +<li><a href="ReadOnlyConfiguration.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h2 title="Uses of Class org.apache.hadoop.hbase.coprocessor.ReadOnlyConfiguration" class="title">Uses of Class<br>org.apache.hadoop.hbase.coprocessor.ReadOnlyConfiguration</h2> +</div> +<div class="classUseContainer">No usage of org.apache.hadoop.hbase.coprocessor.ReadOnlyConfiguration</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ReadOnlyConfiguration.html" title="class in org.apache.hadoop.hbase.coprocessor">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../../../../../../overview-tree.html">Tree</a></li> +<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/coprocessor/class-use/ReadOnlyConfiguration.html" target="_top">Frames</a></li> +<li><a href="ReadOnlyConfiguration.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2007–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
