Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 541B1194FE for ; Thu, 7 Apr 2016 21:09:29 +0000 (UTC) Received: (qmail 34304 invoked by uid 500); 7 Apr 2016 21:09:24 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 34203 invoked by uid 500); 7 Apr 2016 21:09:24 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 31822 invoked by uid 99); 7 Apr 2016 21:09:22 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 21:09:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 928C6E0534; Thu, 7 Apr 2016 21:09:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: misty@apache.org To: commits@hbase.apache.org Date: Thu, 07 Apr 2016 21:09:52 -0000 Message-Id: <68759f6aa6f14c869847d8de7276f3f7@git.apache.org> In-Reply-To: <592eed912fa444b2bf66179534e9c962@git.apache.org> References: <592eed912fa444b2bf66179534e9c962@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [32/51] [partial] hbase-site git commit: Published site at ac8cd373ebe81ed24cab6737154c6902c05ff059. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b0a04862/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 6ff5239..ea3b6f3 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 @@ -private void -ConnectionImplementation.cacheLocation(TableName tableName, +void +MetaCache.cacheLocation(TableName tableName, ServerName source, HRegionLocation location)
Put a newly discovered HRegionLocation into the cache.
-void -MetaCache.cacheLocation(TableName tableName, +private void +ConnectionImplementation.cacheLocation(TableName tableName, ServerName source, HRegionLocation location)
Put a newly discovered HRegionLocation into the cache.
@@ -736,7 +736,9 @@ void -ConnectionImplementation.clearCaches(ServerName serverName)  +ClusterConnection.clearCaches(ServerName sn) +
Clear any caches that pertain to server name sn.
+ void @@ -748,9 +750,7 @@ void -ClusterConnection.clearCaches(ServerName sn) -
Clear any caches that pertain to server name sn.
- +ConnectionImplementation.clearCaches(ServerName serverName)  void @@ -838,7 +838,9 @@ org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface -ConnectionImplementation.getAdmin(ServerName serverName)  +ClusterConnection.getAdmin(ServerName serverName) +
Establishes a connection to the region server at the specified address.
+ org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface @@ -850,17 +852,10 @@ org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface -ClusterConnection.getAdmin(ServerName serverName) -
Establishes a connection to the region server at the specified address.
- +ConnectionImplementation.getAdmin(ServerName serverName)  org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface -ConnectionImplementation.getAdmin(ServerName serverName, - boolean master)  - - -org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface HConnection.getAdmin(ServerName serverName, boolean getMaster)
Deprecated.  @@ -868,6 +863,11 @@
+ +org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface +ConnectionImplementation.getAdmin(ServerName serverName, + boolean master)  + private Long AsyncProcess.AsyncRequestFutureImpl.getBackoff(ServerName server, @@ -875,7 +875,10 @@ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface -ConnectionImplementation.getClient(ServerName sn)  +ClusterConnection.getClient(ServerName serverName) +
Establishes a connection to the region server at the specified address, and returns + a region client protocol.
+ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface @@ -887,10 +890,7 @@ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface -ClusterConnection.getClient(ServerName serverName) -
Establishes a connection to the region server at the specified address, and returns - a region client protocol.
- +ConnectionImplementation.getClient(ServerName sn)  org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface @@ -949,30 +949,30 @@ boolean -ConnectionImplementation.isDeadServer(ServerName sn)  - - -boolean -HConnection.isDeadServer(ServerName serverName) +ClusterConnection.isDeadServer(ServerName serverName)
Deprecated. 
internal method, do not use thru HConnection
- + boolean -ClusterConnection.isDeadServer(ServerName serverName) +HConnection.isDeadServer(ServerName serverName)
Deprecated. 
internal method, do not use thru HConnection
- + boolean ClusterStatusListener.isDeadServer(ServerName sn)
Check if we know if a server is dead.
+ +boolean +ConnectionImplementation.isDeadServer(ServerName sn)  + protected boolean PreemptiveFastFailInterceptor.isServerInFailureMap(ServerName serverName)  @@ -1090,13 +1090,12 @@ void -ConnectionImplementation.updateCachedLocations(TableName tableName, +ClusterConnection.updateCachedLocations(TableName tableName, byte[] regionName, byte[] rowkey, Object exception, ServerName source) -
Update the location with the new value (if the exception is a RegionMovedException) - or delete it from the cache.
+
Update the location cache.
@@ -1113,12 +1112,13 @@ void -ClusterConnection.updateCachedLocations(TableName tableName, +ConnectionImplementation.updateCachedLocations(TableName tableName, byte[] regionName, byte[] rowkey, Object exception, ServerName source) -
Update the location cache.
+
Update the location with the new value (if the exception is a RegionMovedException) + or delete it from the cache.
@@ -1153,16 +1153,16 @@ void -ServerStatisticTracker.updateRegionStats(ServerName server, - byte[] region, - org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats currentStats)  - - -void MetricsConnection.updateRegionStats(ServerName serverName, byte[] regionName, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats stats)  + +void +ServerStatisticTracker.updateRegionStats(ServerName server, + byte[] region, + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats currentStats)  + void MetricsConnection.updateServerStats(ServerName serverName, @@ -1290,7 +1290,7 @@ long -ExponentialClientBackoffPolicy.getBackoffTime(ServerName serverName, +ClientBackoffPolicy.getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)  @@ -1302,7 +1302,7 @@ long -ClientBackoffPolicy.getBackoffTime(ServerName serverName, +ExponentialClientBackoffPolicy.getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)  @@ -1372,17 +1372,17 @@ void -ZKSplitLogManagerCoordination.markRegionsRecovering(ServerName serverName, +SplitLogManagerCoordination.markRegionsRecovering(ServerName serverName, Set<HRegionInfo> userRegions) -
Create znodes /hbase/recovering-regions/[region_ids...]/[failed region server names ...] for - all regions of the passed in region servers
+
Mark regions in recovering state for distributed log replay
void -SplitLogManagerCoordination.markRegionsRecovering(ServerName serverName, +ZKSplitLogManagerCoordination.markRegionsRecovering(ServerName serverName, Set<HRegionInfo> userRegions) -
Mark regions in recovering state for distributed log replay
+
Create znodes /hbase/recovering-regions/[region_ids...]/[failed region server names ...] for + all regions of the passed in region servers
@@ -1427,14 +1427,14 @@ void -BaseMasterAndRegionObserver.postMove(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.postMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)  void -BaseMasterObserver.postMove(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.postMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)  @@ -1450,14 +1450,14 @@ void -BaseMasterAndRegionObserver.preMove(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.preMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)  void -BaseMasterObserver.preMove(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.preMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)  @@ -2447,10 +2447,8 @@ void -LoadBalancer.regionOnline(HRegionInfo regionInfo, - ServerName sn) -
Marks the region as online at balancer.
- +RegionStates.regionOnline(HRegionInfo hri, + ServerName serverName)  (package private) void @@ -2461,16 +2459,12 @@ void -RegionStates.regionOnline(HRegionInfo hri, - ServerName serverName)  +LoadBalancer.regionOnline(HRegionInfo regionInfo, + ServerName sn) +
Marks the region as online at balancer.
+ -(package private) void -AssignmentManager.regionOnline(HRegionInfo regionInfo, - ServerName sn, - long openSeqNum)  - - void RegionStates.regionOnline(HRegionInfo hri, ServerName serverName, @@ -2478,6 +2472,12 @@
A region is online, won't be in transition any more.
+ +(package private) void +AssignmentManager.regionOnline(HRegionInfo regionInfo, + ServerName sn, + long openSeqNum)  + void AssignmentListener.regionOpened(HRegionInfo regionInfo, @@ -2960,13 +2960,13 @@ -private Map<ServerName,List<HRegionInfo>> -ClusterLoadState.clusterState  - - (package private) Map<ServerName,List<HRegionInfo>> BaseLoadBalancer.Cluster.clusterState  + +private Map<ServerName,List<HRegionInfo>> +ClusterLoadState.clusterState  + private Map<HRegionInfo,List<ServerName>> FavoredNodesPlan.favoredNodesMap @@ -3040,16 +3040,16 @@ ServerName +FavoredNodeLoadBalancer.randomAssignment(HRegionInfo regionInfo, + List<ServerName> servers)  + + +ServerName BaseLoadBalancer.randomAssignment(HRegionInfo regionInfo, List<ServerName> servers)
Used to assign a single region to a random server.
- -ServerName -FavoredNodeLoadBalancer.randomAssignment(HRegionInfo regionInfo, - List<ServerName> servers)  - private ServerName[] FavoredNodeAssignmentHelper.singleRackCase(HRegionInfo regionInfo, @@ -3130,17 +3130,17 @@ Map<ServerName,List<HRegionInfo>> +FavoredNodeLoadBalancer.roundRobinAssignment(List<HRegionInfo> regions, + List<ServerName> servers)  + + +Map<ServerName,List<HRegionInfo>> BaseLoadBalancer.roundRobinAssignment(List<HRegionInfo> regions, List<ServerName> servers)
Generates a bulk assignment plan to be used on cluster startup using a simple round-robin assignment.
- -Map<ServerName,List<HRegionInfo>> -FavoredNodeLoadBalancer.roundRobinAssignment(List<HRegionInfo> regions, - List<ServerName> servers)  - private Pair<Map<ServerName,List<HRegionInfo>>,List<HRegionInfo>> FavoredNodeLoadBalancer.segregateRegionsAndAssignRegionsWithFavoredNodes(List<HRegionInfo> regions, @@ -3275,15 +3275,15 @@ List<RegionPlan> +FavoredNodeLoadBalancer.balanceCluster(Map<ServerName,List<HRegionInfo>> clusterState)  + + +List<RegionPlan> SimpleLoadBalancer.balanceCluster(Map<ServerName,List<HRegionInfo>> clusterMap)
Generate a global load balancing plan according to the specified map of server information to the most loaded regions of each server.
- -List<RegionPlan> -FavoredNodeLoadBalancer.balanceCluster(Map<ServerName,List<HRegionInfo>> clusterState)  - List<RegionPlan> StochasticLoadBalancer.balanceCluster(Map<ServerName,List<HRegionInfo>> clusterState) @@ -3292,12 +3292,12 @@ List<RegionPlan> -SimpleLoadBalancer.balanceCluster(TableName tableName, +FavoredNodeLoadBalancer.balanceCluster(TableName tableName, Map<ServerName,List<HRegionInfo>> clusterState)  List<RegionPlan> -FavoredNodeLoadBalancer.balanceCluster(TableName tableName, +SimpleLoadBalancer.balanceCluster(TableName tableName, Map<ServerName,List<HRegionInfo>> clusterState)  @@ -3389,16 +3389,16 @@ ServerName +FavoredNodeLoadBalancer.randomAssignment(HRegionInfo regionInfo, + List<ServerName> servers)  + + +ServerName BaseLoadBalancer.randomAssignment(HRegionInfo regionInfo, List<ServerName> servers)
Used to assign a single region to a random server.
- -ServerName -FavoredNodeLoadBalancer.randomAssignment(HRegionInfo regionInfo, - List<ServerName> servers)  - Map<ServerName,List<HRegionInfo>> BaseLoadBalancer.retainAssignment(Map<HRegionInfo,ServerName> regions, @@ -3439,17 +3439,17 @@ Map<ServerName,List<HRegionInfo>> +FavoredNodeLoadBalancer.roundRobinAssignment(List<HRegionInfo> regions, + List<ServerName> servers)  + + +Map<ServerName,List<HRegionInfo>> BaseLoadBalancer.roundRobinAssignment(List<HRegionInfo> regions, List<ServerName> servers)
Generates a bulk assignment plan to be used on cluster startup using a simple round-robin assignment.
- -Map<ServerName,List<HRegionInfo>> -FavoredNodeLoadBalancer.roundRobinAssignment(List<HRegionInfo> regions, - List<ServerName> servers)  - private void FavoredNodeLoadBalancer.roundRobinAssignmentImpl(FavoredNodeAssignmentHelper assignmentHelper, @@ -3762,10 +3762,8 @@ -protected abstract void -TakeSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions) -
Snapshot the specified regions
- +void +DisabledTableSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regionsAndLocations)  protected void @@ -3774,8 +3772,10 @@ -void -DisabledTableSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regionsAndLocations)  +protected abstract void +TakeSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions) +
Snapshot the specified regions
+ @@ -3853,13 +3853,13 @@ (package private) Put -SplitTransactionImpl.addLocation(Put p, +RegionMergeTransactionImpl.addLocation(Put p, ServerName sn, long openSeqNum)  (package private) Put -RegionMergeTransactionImpl.addLocation(Put p, +SplitTransactionImpl.addLocation(Put p, ServerName sn, long openSeqNum)  @@ -3888,16 +3888,16 @@ boolean +HRegionServer.removeFromOnlineRegions(Region r, + ServerName destination)  + + +boolean OnlineRegions.removeFromOnlineRegions(Region r, ServerName destination)
This method removes Region corresponding to hri from the Map of onlineRegions.
- -boolean -HRegionServer.removeFromOnlineRegions(Region r, - ServerName destination)  - @@ -4329,19 +4329,19 @@ - + - + - - + + - - + + @@ -4349,7 +4349,7 @@ - +
private List<ServerName>MasterStatusTmpl.ImplData.m_servers RegionServerListTmpl.ImplData.m_servers 
private List<ServerName>RegionServerListTmpl.ImplData.m_servers MasterStatusTmpl.ImplData.m_servers 
private List<ServerName>MasterStatusTmplImpl.servers protected List<ServerName>RegionServerListTmpl.servers 
protected List<ServerName>MasterStatusTmpl.servers private List<ServerName>MasterStatusTmplImpl.servers 
private List<ServerName>
protected List<ServerName>RegionServerListTmpl.servers MasterStatusTmpl.servers 
@@ -4379,11 +4379,11 @@ List<ServerName> -MasterStatusTmpl.ImplData.getServers()  +RegionServerListTmpl.ImplData.getServers()  List<ServerName> -RegionServerListTmpl.ImplData.getServers()  +MasterStatusTmpl.ImplData.getServers()  @@ -4456,20 +4456,20 @@ MasterStatusTmpl.ImplData.setDeadServers(Set<ServerName> deadServers)  -