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 194B81952C for ; Thu, 7 Apr 2016 21:09:32 +0000 (UTC) Received: (qmail 35028 invoked by uid 500); 7 Apr 2016 21:09:25 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 34919 invoked by uid 500); 7 Apr 2016 21:09:25 -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 32044 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 B4EA8E0534; 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:57 -0000 Message-Id: <06404a776f394064afcb7a9081cd4c43@git.apache.org> In-Reply-To: <592eed912fa444b2bf66179534e9c962@git.apache.org> References: <592eed912fa444b2bf66179534e9c962@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [37/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/HRegionInfo.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/HRegionInfo.html b/devapidocs/org/apache/hadoop/hbase/class-use/HRegionInfo.html index 8dcf9c5..4d75f47 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/HRegionInfo.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/HRegionInfo.html @@ -863,19 +863,19 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. HRegionInfo -MultiServerCallable.getHRegionInfo()  +RegionServerCallable.getHRegionInfo()  HRegionInfo -ScannerCallableWithReplicas.getHRegionInfo()  +ScannerCallable.getHRegionInfo()  HRegionInfo -ScannerCallable.getHRegionInfo()  +MultiServerCallable.getHRegionInfo()  HRegionInfo -RegionServerCallable.getHRegionInfo()  +ScannerCallableWithReplicas.getHRegionInfo()  private HRegionInfo @@ -1071,17 +1071,17 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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
@@ -1113,12 +1113,12 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.postAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.postAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  void -BaseMasterObserver.postAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.postAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  @@ -1130,13 +1130,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  void -BaseMasterObserver.postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  @@ -1150,13 +1150,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.postCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.postCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  void -BaseMasterObserver.postCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.postCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  @@ -1170,13 +1170,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.postDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.postDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionA, HRegionInfo regionB)  void -BaseMasterObserver.postDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.postDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionA, HRegionInfo regionB)  @@ -1190,14 +1190,14 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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)  @@ -1213,12 +1213,12 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.postRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.postRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  void -BaseMasterObserver.postRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.postRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  @@ -1230,13 +1230,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.postUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.postUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)  void -BaseMasterObserver.postUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.postUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)  @@ -1324,12 +1324,12 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.preAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.preAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  void -BaseMasterObserver.preAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.preAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  @@ -1341,13 +1341,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  void -BaseMasterObserver.preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  @@ -1362,13 +1362,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.preCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.preCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  void -BaseMasterObserver.preCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.preCreateTableHandler(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)  @@ -1383,13 +1383,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.preDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.preDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionA, HRegionInfo regionB)  void -BaseMasterObserver.preDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.preDispatchMerge(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionA, HRegionInfo regionB)  @@ -1403,14 +1403,14 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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)  @@ -1426,12 +1426,12 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.preRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.preRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  void -BaseMasterObserver.preRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.preRegionOffline(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)  @@ -1443,13 +1443,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseMasterAndRegionObserver.preUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterObserver.preUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)  void -BaseMasterObserver.preUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, +BaseMasterAndRegionObserver.preUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)  @@ -1700,15 +1700,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. private HRegionInfo -AssignCallable.hri  +RegionPlan.hri  private HRegionInfo -UnAssignCallable.hri  +AssignCallable.hri  private HRegionInfo -RegionPlan.hri  +UnAssignCallable.hri  @@ -2141,19 +2141,19 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -HMaster.dispatchMergingRegions(HRegionInfo region_a, +MasterServices.dispatchMergingRegions(HRegionInfo region_a, HRegionInfo region_b, boolean forcible, - User user)  + User user) +
Merge two regions.
+ void -MasterServices.dispatchMergingRegions(HRegionInfo region_a, +HMaster.dispatchMergingRegions(HRegionInfo region_a, HRegionInfo region_b, boolean forcible, - User user) -
Merge two regions.
- + User user)
  private void @@ -2437,8 +2437,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -LoadBalancer.regionOffline(HRegionInfo regionInfo) -
Marks the region as offline at balancer.
+RegionStates.regionOffline(HRegionInfo hri) +
A region is offline, won't be in transition any more.
@@ -2449,30 +2449,28 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -RegionStates.regionOffline(HRegionInfo hri) -
A region is offline, won't be in transition any more.
+LoadBalancer.regionOffline(HRegionInfo regionInfo) +
Marks the region as offline at balancer.
-private void -AssignmentManager.regionOffline(HRegionInfo regionInfo, - RegionState.State state) -
A region is offline.
- - - void RegionStates.regionOffline(HRegionInfo hri, RegionState.State expectedState)
A region is offline, won't be in transition any more.
+ +private void +AssignmentManager.regionOffline(HRegionInfo regionInfo, + RegionState.State state) +
A region is offline.
+ + void -LoadBalancer.regionOnline(HRegionInfo regionInfo, - ServerName sn) -
Marks the region as online at balancer.
- +RegionStates.regionOnline(HRegionInfo hri, + ServerName serverName)  (package private) void @@ -2483,16 +2481,12 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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, @@ -2500,6 +2494,12 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.
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, @@ -2646,13 +2646,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -AssignmentManager.waitOnRegionToClearRegionsInTransition(HRegionInfo hri) +RegionStates.waitOnRegionToClearRegionsInTransition(HRegionInfo hri)
Wait on region to clear regions-in-transition.
void -RegionStates.waitOnRegionToClearRegionsInTransition(HRegionInfo hri) +AssignmentManager.waitOnRegionToClearRegionsInTransition(HRegionInfo hri)
Wait on region to clear regions-in-transition.
@@ -2932,13 +2932,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. RegionLocationFinder.cache  -private Map<ServerName,List<HRegionInfo>> -ClusterLoadState.clusterState  - - (package private) Map<ServerName,List<HRegionInfo>> BaseLoadBalancer.Cluster.clusterState  + +private Map<ServerName,List<HRegionInfo>> +ClusterLoadState.clusterState  + private static List<HRegionInfo> BaseLoadBalancer.EMPTY_REGION_LIST  @@ -3025,17 +3025,17 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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, @@ -3142,16 +3142,16 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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)  - void BaseLoadBalancer.regionOffline(HRegionInfo regionInfo)  @@ -3249,15 +3249,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. List<