http://git-wip-us.apache.org/repos/asf/hbase-site/blob/09017087/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html b/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html index 6c2d821..92e8a0f 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html @@ -698,16 +698,16 @@ </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>private void</code></td> -<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#cacheLocation(org.apache.hadoop.hbase.TableName,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionLocation)">cacheLocation</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<td class="colFirst"><code>void</code></td> +<td class="colLast"><span class="strong">MetaCache.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/MetaCache.html#cacheLocation(org.apache.hadoop.hbase.TableName,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionLocation)">cacheLocation</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> source, <a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a> location)</code> <div class="block">Put a newly discovered HRegionLocation into the cache.</div> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">MetaCache.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/MetaCache.html#cacheLocation(org.apache.hadoop.hbase.TableName,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionLocation)">cacheLocation</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<td class="colFirst"><code>private void</code></td> +<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#cacheLocation(org.apache.hadoop.hbase.TableName,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionLocation)">cacheLocation</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> source, <a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a> location)</code> <div class="block">Put a newly discovered HRegionLocation into the cache.</div> @@ -736,16 +736,16 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#clearCaches(org.apache.hadoop.hbase.ServerName)">clearCaches</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#clearCaches(org.apache.hadoop.hbase.ServerName)">clearCaches</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>internal method, do not use thru HConnection</i></div> </div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#clearCaches(org.apache.hadoop.hbase.ServerName)">clearCaches</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> </td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">ClusterConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ClusterConnection.html#clearCaches(org.apache.hadoop.hbase.ServerName)">clearCaches</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> @@ -754,16 +754,16 @@ </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#closeRegion(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionInfo)">closeRegion</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, - <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">Admin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#closeRegion(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionInfo)">closeRegion</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri)</code> <div class="block">Close a region.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#closeRegion(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionInfo)">closeRegion</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, + <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#compact(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.HRegionInfo,%20boolean,%20byte[])">compact</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, @@ -773,29 +773,29 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#compactRegionServer(org.apache.hadoop.hbase.ServerName,%20boolean)">compactRegionServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, +<td class="colLast"><span class="strong">Admin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#compactRegionServer(org.apache.hadoop.hbase.ServerName,%20boolean)">compactRegionServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, boolean major)</code> <div class="block">Compact all regions on the region server</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">Admin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#compactRegionServer(org.apache.hadoop.hbase.ServerName,%20boolean)">compactRegionServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, +<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#compactRegionServer(org.apache.hadoop.hbase.ServerName,%20boolean)">compactRegionServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn, boolean major)</code> <div class="block">Compact all regions on the region server</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="class in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a></code></td> -<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#coprocessorService(org.apache.hadoop.hbase.ServerName)">coprocessorService</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="class in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a></code></td> <td class="colLast"><span class="strong">Admin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#coprocessorService(org.apache.hadoop.hbase.ServerName)">coprocessorService</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> <div class="block">Creates and returns a <code>RpcChannel</code> instance connected to the passed region server.</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="class in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a></code></td> +<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#coprocessorService(org.apache.hadoop.hbase.ServerName)">coprocessorService</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/hadoop/hbase/client/MultiServerCallable.html" title="class in org.apache.hadoop.hbase.client">MultiServerCallable</a><<a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>></code></td> <td class="colLast"><span class="strong">AsyncProcess.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.html#createCallable(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.TableName,%20org.apache.hadoop.hbase.client.MultiAction)">createCallable</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server, @@ -838,16 +838,16 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface</code></td> -<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#getAdmin(org.apache.hadoop.hbase.ServerName)">getAdmin</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface</code></td> <td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#getAdmin(org.apache.hadoop.hbase.ServerName)">getAdmin</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>internal method, do not use thru HConnection</i></div> </div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface</code></td> +<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#getAdmin(org.apache.hadoop.hbase.ServerName)">getAdmin</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> </td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface</code></td> <td class="colLast"><span class="strong">ClusterConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ClusterConnection.html#getAdmin(org.apache.hadoop.hbase.ServerName)">getAdmin</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> @@ -856,11 +856,6 @@ </tr> <tr class="altColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface</code></td> -<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#getAdmin(org.apache.hadoop.hbase.ServerName,%20boolean)">getAdmin</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, - boolean master)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface</code></td> <td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#getAdmin(org.apache.hadoop.hbase.ServerName,%20boolean)">getAdmin</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, boolean getMaster)</code> <div class="block"><strong>Deprecated.</strong> @@ -868,6 +863,11 @@ </div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface</code></td> +<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#getAdmin(org.apache.hadoop.hbase.ServerName,%20boolean)">getAdmin</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, + boolean master)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a></code></td> <td class="colLast"><span class="strong">AsyncProcess.AsyncRequestFutureImpl.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/AsyncProcess.AsyncRequestFutureImpl.html#getBackoff(org.apache.hadoop.hbase.ServerName,%20byte[])">getBackoff</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server, @@ -875,16 +875,16 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface</code></td> -<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#getClient(org.apache.hadoop.hbase.ServerName)">getClient</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface</code></td> <td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#getClient(org.apache.hadoop.hbase.ServerName)">getClient</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>internal method, do not use thru HConnection</i></div> </div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface</code></td> +<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#getClient(org.apache.hadoop.hbase.ServerName)">getClient</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface</code></td> <td class="colLast"><span class="strong">ClusterConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ClusterConnection.html#getClient(org.apache.hadoop.hbase.ServerName)">getClient</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> @@ -904,14 +904,14 @@ </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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>></code></td> -<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#getOnlineRegions(org.apache.hadoop.hbase.ServerName)">getOnlineRegions</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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>></code></td> <td class="colLast"><span class="strong">Admin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#getOnlineRegions(org.apache.hadoop.hbase.ServerName)">getOnlineRegions</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> <div class="block">Get all the online regions on a region server.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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>></code></td> +<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#getOnlineRegions(org.apache.hadoop.hbase.ServerName)">getOnlineRegions</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>(package private) <a href="../../../../../org/apache/hadoop/hbase/client/backoff/ServerStatistics.html" title="class in org.apache.hadoop.hbase.client.backoff">ServerStatistics</a></code></td> <td class="colLast"><span class="strong">ServerStatisticTracker.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ServerStatisticTracker.html#getServerStatsForTesting(org.apache.hadoop.hbase.ServerName)">getServerStatsForTesting</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server)</code> </td> @@ -949,17 +949,19 @@ </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> -<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> +<td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>internal method, do not use thru HConnection</i></div> +</div> +</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> -<td class="colLast"><span class="strong">ClusterStatusListener.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ClusterStatusListener.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> -<div class="block">Check if we know if a server is dead.</div> -</td> +<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> -<td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> +<td class="colLast"><span class="strong">ClusterConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ClusterConnection.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>internal method, do not use thru HConnection</i></div> </div> @@ -967,10 +969,8 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> -<td class="colLast"><span class="strong">ClusterConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ClusterConnection.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> -<div class="block"><strong>Deprecated.</strong> -<div class="block"><i>internal method, do not use thru HConnection</i></div> -</div> +<td class="colLast"><span class="strong">ClusterStatusListener.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ClusterStatusListener.html#isDeadServer(org.apache.hadoop.hbase.ServerName)">isDeadServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> +<div class="block">Check if we know if a server is dead.</div> </td> </tr> <tr class="altColor"> @@ -1039,14 +1039,14 @@ </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#rollWALWriter(org.apache.hadoop.hbase.ServerName)">rollWALWriter</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">Admin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#rollWALWriter(org.apache.hadoop.hbase.ServerName)">rollWALWriter</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> <div class="block">Roll the log writer.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#rollWALWriter(org.apache.hadoop.hbase.ServerName)">rollWALWriter</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>private org.apache.hadoop.hbase.protobuf.generated.AdminProtos.RollWALWriterResponse</code></td> <td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#rollWALWriterImpl(org.apache.hadoop.hbase.ServerName)">rollWALWriterImpl</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> </td> @@ -1090,25 +1090,25 @@ </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#updateCachedLocations(org.apache.hadoop.hbase.TableName,%20byte[],%20byte[],%20java.lang.Object,%20org.apache.hadoop.hbase.ServerName)">updateCachedLocations</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#updateCachedLocations(org.apache.hadoop.hbase.TableName,%20byte[],%20byte[],%20java.lang.Object,%20org.apache.hadoop.hbase.ServerName)">updateCachedLocations</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, byte[] regionName, byte[] rowkey, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> exception, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> source)</code> -<div class="block">Update the location with the new value (if the exception is a RegionMovedException) - or delete it from the cache.</div> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>internal method, do not use through HConnection</i></div> +</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">HConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HConnection.html#updateCachedLocations(org.apache.hadoop.hbase.TableName,%20byte[],%20byte[],%20java.lang.Object,%20org.apache.hadoop.hbase.ServerName)">updateCachedLocations</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<td class="colLast"><span class="strong">ConnectionImplementation.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionImplementation.html#updateCachedLocations(org.apache.hadoop.hbase.TableName,%20byte[],%20byte[],%20java.lang.Object,%20org.apache.hadoop.hbase.ServerName)">updateCachedLocations</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, byte[] regionName, byte[] rowkey, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> exception, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> source)</code> -<div class="block"><strong>Deprecated.</strong> -<div class="block"><i>internal method, do not use through HConnection</i></div> -</div> +<div class="block">Update the location with the new value (if the exception is a RegionMovedException) + or delete it from the cache.</div> </td> </tr> <tr class="altColor"> @@ -1123,15 +1123,15 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#updateConfiguration(org.apache.hadoop.hbase.ServerName)">updateConfiguration</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">Admin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/Admin.html#updateConfiguration(org.apache.hadoop.hbase.ServerName)">updateConfiguration</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server)</code> <div class="block">Update the configuration and trigger an online config change on the regionserver</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><span class="strong">HBaseAdmin.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/HBaseAdmin.html#updateConfiguration(org.apache.hadoop.hbase.ServerName)">updateConfiguration</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server)</code> </td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><span class="strong">PreemptiveFastFailInterceptor.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/PreemptiveFastFailInterceptor.html#updateFailureInfoForServer(org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.client.FailureInfo,%20boolean,%20boolean,%20boolean)">updateFailureInfoForServer</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server, @@ -1145,18 +1145,18 @@ </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">MetricsConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/MetricsConnection.html#updateRegionStats(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats)">updateRegionStats</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, - byte[] regionName, - org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats stats)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">StatisticTrackable.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/StatisticTrackable.html#updateRegionStats(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats)">updateRegionStats</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server, byte[] region, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats stats)</code> <div class="block">Update stats per region.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><span class="strong">MetricsConnection.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/MetricsConnection.html#updateRegionStats(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats)">updateRegionStats</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, + byte[] regionName, + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats stats)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">ServerStatisticTracker.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/ServerStatisticTracker.html#updateRegionStats(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats)">updateRegionStats</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> server, @@ -1290,19 +1290,19 @@ <tbody> <tr class="altColor"> <td class="colFirst"><code>long</code></td> -<td class="colLast"><span class="strong">ClientBackoffPolicyFactory.NoBackoffPolicy.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/backoff/ClientBackoffPolicyFactory.NoBackoffPolicy.html#getBackoffTime(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.client.backoff.ServerStatistics)">getBackoffTime</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, +<td class="colLast"><span class="strong">ExponentialClientBackoffPolicy.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/backoff/ExponentialClientBackoffPolicy.html#getBackoffTime(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.client.backoff.ServerStatistics)">getBackoffTime</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, byte[] region, <a href="../../../../../org/apache/hadoop/hbase/client/backoff/ServerStatistics.html" title="class in org.apache.hadoop.hbase.client.backoff">ServerStatistics</a> stats)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>long</code></td> -<td class="colLast"><span class="strong">ExponentialClientBackoffPolicy.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/backoff/ExponentialClientBackoffPolicy.html#getBackoffTime(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.client.backoff.ServerStatistics)">getBackoffTime</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, +<td class="colLast"><span class="strong">ClientBackoffPolicy.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/backoff/ClientBackoffPolicy.html#getBackoffTime(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.client.backoff.ServerStatistics)">getBackoffTime</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, byte[] region, <a href="../../../../../org/apache/hadoop/hbase/client/backoff/ServerStatistics.html" title="class in org.apache.hadoop.hbase.client.backoff">ServerStatistics</a> stats)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>long</code></td> -<td class="colLast"><span class="strong">ClientBackoffPolicy.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/backoff/ClientBackoffPolicy.html#getBackoffTime(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.client.backoff.ServerStatistics)">getBackoffTime</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, +<td class="colLast"><span class="strong">ClientBackoffPolicyFactory.NoBackoffPolicy.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/client/backoff/ClientBackoffPolicyFactory.NoBackoffPolicy.html#getBackoffTime(org.apache.hadoop.hbase.ServerName,%20byte[],%20org.apache.hadoop.hbase.client.backoff.ServerStatistics)">getBackoffTime</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> serverName, byte[] region, <a href="../../../../../org/apache/hadoop/hbase/client/backoff/ServerStatistics.html" title="class in org.apache.hadoop.hbase.client.backoff">ServerStatistics</a> stats)</code> </td> </tr> @@ -1427,49 +1427,49 @@ <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">BaseMasterAndRegionObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterAndRegionObserver.html#postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">postMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, +<td class="colLast"><span class="strong">BaseMasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterObserver.html#postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">postMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> srcServer, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">MasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterObserver.html#postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">postMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, +<td class="colLast"><span class="strong">BaseMasterAndRegionObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterAndRegionObserver.html#postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">postMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> srcServer, - <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> -<div class="block">Called after the region move has been requested.</div> -</td> + <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">BaseMasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterObserver.html#postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">postMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, +<td class="colLast"><span class="strong">MasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterObserver.html#postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">postMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> srcServer, - <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> </td> + <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> +<div class="block">Called after the region move has been requested.</div> +</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">BaseMasterAndRegionObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterAndRegionObserver.html#preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">preMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, +<td class="colLast"><span class="strong">BaseMasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterObserver.html#preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">preMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> srcServer, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">MasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterObserver.html#preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">preMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, +<td class="colLast"><span class="strong">BaseMasterAndRegionObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterAndRegionObserver.html#preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">preMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> srcServer, - <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> -<div class="block">Called prior to moving a given region from one region server to another.</div> -</td> + <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">BaseMasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/BaseMasterObserver.html#preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">preMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, +<td class="colLast"><span class="strong">MasterObserver.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterObserver.html#preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20org.apache.hadoop.hbase.ServerName)">preMove</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> srcServer, - <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> </td> + <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> destServer)</code> +<div class="block">Called prior to moving a given region from one region server to another.</div> +</td> </tr> </tbody> </table> @@ -1549,14 +1549,14 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">RpcClientImpl.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClientImpl.html#cancelConnections(org.apache.hadoop.hbase.ServerName)">cancelConnections</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> -<div class="block">Interrupt the connections to the given ip:port server.</div> +<td class="colLast"><span class="strong">RpcClient.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html#cancelConnections(org.apache.hadoop.hbase.ServerName)">cancelConnections</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> +<div class="block">Interrupt the connections to the given server.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><span class="strong">RpcClient.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClient.html#cancelConnections(org.apache.hadoop.hbase.ServerName)">cancelConnections</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> -<div class="block">Interrupt the connections to the given server.</div> +<td class="colLast"><span class="strong">RpcClientImpl.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/ipc/RpcClientImpl.html#cancelConnections(org.apache.hadoop.hbase.ServerName)">cancelConnections</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> sn)</code> +<div class="block">Interrupt the connections to the given ip:port server.</div> </td> </tr> <tr class="rowColor"> @@ -2960,13 +2960,13 @@ </tr> <tbody> <tr class="altColor"> -<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> -<td class="colLast"><span class="strong">ClusterLoadState.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/ClusterLoadState.html#clusterState">clusterState</a></strong></code> </td> -</tr> -<tr class="rowColor"> <td class="colFirst"><code>(package private) <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> <td class="colLast"><span class="strong">BaseLoadBalancer.Cluster.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.html#clusterState">clusterState</a></strong></code> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> +<td class="colLast"><span class="strong">ClusterLoadState.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/ClusterLoadState.html#clusterState">clusterState</a></strong></code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>>></code></td> <td class="colLast"><span class="strong">FavoredNodesPlan.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodesPlan.html#favoredNodesMap">favoredNodesMap</a></strong></code> @@ -3040,16 +3040,16 @@ </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></code></td> -<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#randomAssignment(org.apache.hadoop.hbase.HRegionInfo,%20java.util.List)">randomAssignment</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></code></td> <td class="colLast"><span class="strong">BaseLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html#randomAssignment(org.apache.hadoop.hbase.HRegionInfo,%20java.util.List)">randomAssignment</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> <div class="block">Used to assign a single region to a random server.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></code></td> +<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#randomAssignment(org.apache.hadoop.hbase.HRegionInfo,%20java.util.List)">randomAssignment</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>private <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>[]</code></td> <td class="colLast"><span class="strong">FavoredNodeAssignmentHelper.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeAssignmentHelper.html#singleRackCase(org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.ServerName,%20java.lang.String)">singleRackCase</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo, @@ -3082,11 +3082,11 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>></code></td> -<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#getFavoredNodes(org.apache.hadoop.hbase.HRegionInfo)">getFavoredNodes</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo)</code> </td> +<td class="colLast"><span class="strong">FavoredNodesPlan.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodesPlan.html#getFavoredNodes(org.apache.hadoop.hbase.HRegionInfo)">getFavoredNodes</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>></code></td> -<td class="colLast"><span class="strong">FavoredNodesPlan.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodesPlan.html#getFavoredNodes(org.apache.hadoop.hbase.HRegionInfo)">getFavoredNodes</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> region)</code> </td> +<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#getFavoredNodes(org.apache.hadoop.hbase.HRegionInfo)">getFavoredNodes</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> @@ -3130,17 +3130,17 @@ </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> -<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#roundRobinAssignment(java.util.List,%20java.util.List)">roundRobinAssignment</a></strong>(<a href="http://docs.oracle.com/javase/7/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>> regions, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> <td class="colLast"><span class="strong">BaseLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html#roundRobinAssignment(java.util.List,%20java.util.List)">roundRobinAssignment</a></strong>(<a href="http://docs.oracle.com/javase/7/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>> regions, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> <div class="block">Generates a bulk assignment plan to be used on cluster startup using a simple round-robin assignment.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> +<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#roundRobinAssignment(java.util.List,%20java.util.List)">roundRobinAssignment</a></strong>(<a href="http://docs.oracle.com/javase/7/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>> regions, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>private <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/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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>>></code></td> <td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#segregateRegionsAndAssignRegionsWithFavoredNodes(java.util.List,%20java.util.List)">segregateRegionsAndAssignRegionsWithFavoredNodes</a></strong>(<a href="http://docs.oracle.com/javase/7/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>> regions, @@ -3275,34 +3275,34 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/master/RegionPlan.html" title="class in org.apache.hadoop.hbase.master">RegionPlan</a>></code></td> -<td class="colLast"><span class="strong">SimpleLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/SimpleLoadBalancer.html#balanceCluster(java.util.Map)">balanceCluster</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterMap)</code> -<div class="block">Generate a global load balancing plan according to the specified map of - server information to the most loaded regions of each server.</div> +<td class="colLast"><span class="strong">StochasticLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html#balanceCluster(java.util.Map)">balanceCluster</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterState)</code> +<div class="block">Given the cluster state this will try and approach an optimal balance.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/master/RegionPlan.html" title="class in org.apache.hadoop.hbase.master">RegionPlan</a>></code></td> -<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#balanceCluster(java.util.Map)">balanceCluster</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterState)</code> </td> +<td class="colLast"><span class="strong">SimpleLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/SimpleLoadBalancer.html#balanceCluster(java.util.Map)">balanceCluster</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterMap)</code> +<div class="block">Generate a global load balancing plan according to the specified map of + server information to the most loaded regions of each server.</div> +</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/master/RegionPlan.html" title="class in org.apache.hadoop.hbase.master">RegionPlan</a>></code></td> -<td class="colLast"><span class="strong">StochasticLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html#balanceCluster(java.util.Map)">balanceCluster</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterState)</code> -<div class="block">Given the cluster state this will try and approach an optimal balance.</div> -</td> +<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#balanceCluster(java.util.Map)">balanceCluster</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterState)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/master/RegionPlan.html" title="class in org.apache.hadoop.hbase.master">RegionPlan</a>></code></td> -<td class="colLast"><span class="strong">SimpleLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/SimpleLoadBalancer.html#balanceCluster(org.apache.hadoop.hbase.TableName,%20java.util.Map)">balanceCluster</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<td class="colLast"><span class="strong">StochasticLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html#balanceCluster(org.apache.hadoop.hbase.TableName,%20java.util.Map)">balanceCluster</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterState)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/master/RegionPlan.html" title="class in org.apache.hadoop.hbase.master">RegionPlan</a>></code></td> -<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#balanceCluster(org.apache.hadoop.hbase.TableName,%20java.util.Map)">balanceCluster</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<td class="colLast"><span class="strong">SimpleLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/SimpleLoadBalancer.html#balanceCluster(org.apache.hadoop.hbase.TableName,%20java.util.Map)">balanceCluster</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterState)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/master/RegionPlan.html" title="class in org.apache.hadoop.hbase.master">RegionPlan</a>></code></td> -<td class="colLast"><span class="strong">StochasticLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html#balanceCluster(org.apache.hadoop.hbase.TableName,%20java.util.Map)">balanceCluster</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, +<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#balanceCluster(org.apache.hadoop.hbase.TableName,%20java.util.Map)">balanceCluster</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>> clusterState)</code> </td> </tr> <tr class="rowColor"> @@ -3389,16 +3389,16 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></code></td> -<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#randomAssignment(org.apache.hadoop.hbase.HRegionInfo,%20java.util.List)">randomAssignment</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></code></td> <td class="colLast"><span class="strong">BaseLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html#randomAssignment(org.apache.hadoop.hbase.HRegionInfo,%20java.util.List)">randomAssignment</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> <div class="block">Used to assign a single region to a random server.</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a></code></td> +<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#randomAssignment(org.apache.hadoop.hbase.HRegionInfo,%20java.util.List)">randomAssignment</a></strong>(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> regionInfo, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> servers)</code> </td> +</tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> <td class="colLast"><span class="strong">BaseLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html#retainAssignment(java.util.Map,%20java.util.List)">retainAssignment</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a>,<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>> regions, @@ -3439,17 +3439,17 @@ </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a>,<a href="http://docs.oracle.com/javase/7/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>>></code></td> -<td class="colLast"><span class="strong">FavoredNodeLoadBalancer.</span><code><strong><a href="../../../../../org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html#roundRobinAssignment(java.util.List,%20java.util.List)">roundRobinAssignment</a></strong>(<a href="http://docs.oracle.com/javase/7/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>> regions, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interfac
<TRUNCATED>