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 3EB4318E41 for ; Thu, 17 Dec 2015 17:20:09 +0000 (UTC) Received: (qmail 14476 invoked by uid 500); 17 Dec 2015 17:20:06 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 14327 invoked by uid 500); 17 Dec 2015 17:20:06 -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 13453 invoked by uid 99); 17 Dec 2015 17:20:05 -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, 17 Dec 2015 17:20:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5C3CAE696F; Thu, 17 Dec 2015 17:20:05 +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, 17 Dec 2015 17:20:31 -0000 Message-Id: In-Reply-To: <5d67ec6f08544de986d4af78f447a0eb@git.apache.org> References: <5d67ec6f08544de986d4af78f447a0eb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [30/51] [partial] hbase-site git commit: Published site at cf458d302385f8e32dd444f4820cfd72a8694862. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/aa343563/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 6fc5bdd..530c886 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/HRegionInfo.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/HRegionInfo.html @@ -2,7 +2,7 @@ - + Uses of Class org.apache.hadoop.hbase.HRegionInfo (Apache HBase 2.0.0-SNAPSHOT API) @@ -845,7 +845,7 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. HRegionInfo -RegionServerCallable.getHRegionInfo()  +ScannerCallableWithReplicas.getHRegionInfo()  HRegionInfo @@ -853,7 +853,7 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. HRegionInfo -ScannerCallableWithReplicas.getHRegionInfo()  +RegionServerCallable.getHRegionInfo()  private HRegionInfo @@ -883,13 +883,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. List<HRegionInfo> -Admin.getOnlineRegions(ServerName sn) -
Get all the online regions on a region server.
- +HBaseAdmin.getOnlineRegions(ServerName sn)  List<HRegionInfo> -HBaseAdmin.getOnlineRegions(ServerName sn)  +Admin.getOnlineRegions(ServerName sn) +
Get all the online regions on a region server.
+ (package private) Pair<HRegionInfo,ServerName> @@ -897,13 +897,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. List<HRegionInfo> -Admin.getTableRegions(TableName tableName) -
Get the regions of a given table.
- +HBaseAdmin.getTableRegions(TableName tableName)  List<HRegionInfo> -HBaseAdmin.getTableRegions(TableName tableName)  +Admin.getTableRegions(TableName tableName) +
Get the regions of a given table.
+ @@ -922,16 +922,16 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void +HBaseAdmin.closeRegion(ServerName sn, + HRegionInfo hri)  + + +void Admin.closeRegion(ServerName sn, HRegionInfo hri)
Close a region.
- -void -HBaseAdmin.closeRegion(ServerName sn, - HRegionInfo hri)  - private void HBaseAdmin.compact(ServerName sn, @@ -1046,17 +1046,17 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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
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
@@ -1205,32 +1205,25 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseRegionObserver.postWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> env, +RegionObserver.postWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Implementers should override this version of the method and leave the deprecated one as-is.
+
Called after a WALEdit + replayed for this region.
void -RegionObserver.postWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, +BaseRegionObserver.postWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> env, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Called after a WALEdit - replayed for this region.
+
Implementers should override this version of the method and leave the deprecated one as-is.
void -BaseRegionObserver.postWALRestore(ObserverContext<RegionCoprocessorEnvironment> env, - HRegionInfo info, - HLogKey logKey, - WALEdit logEdit)  - - -void RegionObserver.postWALRestore(ObserverContext<RegionCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, @@ -1240,34 +1233,34 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. + +void +BaseRegionObserver.postWALRestore(ObserverContext<RegionCoprocessorEnvironment> env, + HRegionInfo info, + HLogKey logKey, + WALEdit logEdit)  + void -BaseWALObserver.postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, +WALObserver.postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Implementers should override this method and leave the deprecated version as-is.
+
Called after a WALEdit + is writen to WAL.
void -WALObserver.postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, +BaseWALObserver.postWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Called after a WALEdit - is writen to WAL.
+
Implementers should override this method and leave the deprecated version as-is.
void -BaseWALObserver.postWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, - HRegionInfo info, - HLogKey logKey, - WALEdit logEdit)  - - -void WALObserver.postWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, @@ -1277,6 +1270,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. + +void +BaseWALObserver.postWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, + HRegionInfo info, + HLogKey logKey, + WALEdit logEdit)  + void BaseMasterAndRegionObserver.preAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, @@ -1398,32 +1398,25 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -BaseRegionObserver.preWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> env, +RegionObserver.preWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Implementers should override this version of the method and leave the deprecated one as-is.
+
Called before a WALEdit + replayed for this region.
void -RegionObserver.preWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, +BaseRegionObserver.preWALRestore(ObserverContext<? extends RegionCoprocessorEnvironment> env, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Called before a WALEdit - replayed for this region.
+
Implementers should override this version of the method and leave the deprecated one as-is.
void -BaseRegionObserver.preWALRestore(ObserverContext<RegionCoprocessorEnvironment> env, - HRegionInfo info, - HLogKey logKey, - WALEdit logEdit)  - - -void RegionObserver.preWALRestore(ObserverContext<RegionCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, @@ -1433,34 +1426,34 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. + +void +BaseRegionObserver.preWALRestore(ObserverContext<RegionCoprocessorEnvironment> env, + HRegionInfo info, + HLogKey logKey, + WALEdit logEdit)  + boolean -BaseWALObserver.preWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, +WALObserver.preWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Implementers should override this method and leave the deprecated version as-is.
+
Called before a WALEdit + is writen to WAL.
boolean -WALObserver.preWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, +BaseWALObserver.preWALWrite(ObserverContext<? extends WALCoprocessorEnvironment> ctx, HRegionInfo info, WALKey logKey, WALEdit logEdit) -
Called before a WALEdit - is writen to WAL.
+
Implementers should override this method and leave the deprecated version as-is.
boolean -BaseWALObserver.preWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, - HRegionInfo info, - HLogKey logKey, - WALEdit logEdit)  - - -boolean WALObserver.preWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, @@ -1470,6 +1463,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. + +boolean +BaseWALObserver.preWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, + HRegionInfo info, + HLogKey logKey, + WALEdit logEdit)  + @@ -1639,11 +1639,11 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. private HRegionInfo -RegionPlan.hri  +UnAssignCallable.hri  private HRegionInfo -UnAssignCallable.hri  +RegionPlan.hri  @@ -2367,14 +2367,14 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -AssignmentManager.regionOffline(HRegionInfo regionInfo) -
Marks the region as offline.
+LoadBalancer.regionOffline(HRegionInfo regionInfo) +
Marks the region as offline at balancer.
void -LoadBalancer.regionOffline(HRegionInfo regionInfo) -
Marks the region as offline at balancer.
+AssignmentManager.regionOffline(HRegionInfo regionInfo) +
Marks the region as offline.
@@ -2398,17 +2398,17 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -(package private) void -AssignmentManager.regionOnline(HRegionInfo regionInfo, +void +LoadBalancer.regionOnline(HRegionInfo regionInfo, ServerName sn) -
Marks the region as online.
+
Marks the region as online at balancer.
-void -LoadBalancer.regionOnline(HRegionInfo regionInfo, +(package private) void +AssignmentManager.regionOnline(HRegionInfo regionInfo, ServerName sn) -
Marks the region as online at balancer.
+
Marks the region as online.
@@ -2864,13 +2864,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. RegionLocationFinder.cache  -(package private) Map<ServerName,List<HRegionInfo>> -BaseLoadBalancer.Cluster.clusterState  - - private Map<ServerName,List<HRegionInfo>> ClusterLoadState.clusterState  + +(package private) Map<ServerName,List<HRegionInfo>> +BaseLoadBalancer.Cluster.clusterState  + private static List<HRegionInfo> BaseLoadBalancer.EMPTY_REGION_LIST  @@ -3181,15 +3181,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. 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) @@ -3198,12 +3198,12 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. List<RegionPlan> -FavoredNodeLoadBalancer.balanceCluster(TableName tableName, +SimpleLoadBalancer.balanceCluster(TableName tableName, Map<ServerName,List<HRegionInfo>> clusterState)  List<RegionPlan> -SimpleLoadBalancer.balanceCluster(TableName tableName, +FavoredNodeLoadBalancer.balanceCluster(TableName tableName, Map<ServerName,List<HRegionInfo>> clusterState)  @@ -3668,27 +3668,27 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. private List<HRegionInfo> -AddColumnFamilyProcedure.regionInfoList  +ModifyTableProcedure.regionInfoList  private List<HRegionInfo> -DeleteColumnFamilyProcedure.regionInfoList  +AddColumnFamilyProcedure.regionInfoList  private List<HRegionInfo> -ModifyTableProcedure.regionInfoList  +DeleteColumnFamilyProcedure.regionInfoList  private List<HRegionInfo> -DeleteTableProcedure.regions  +DisableTableProcedure.BulkDisabler.regions  private List<HRegionInfo> -DisableTableProcedure.BulkDisabler.regions  +TruncateTableProcedure.regions  private List<HRegionInfo> -TruncateTableProcedure.regions  +DeleteTableProcedure.regions  private List<HRegionInfo> @@ -3754,15 +3754,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. private List<HRegionInfo> -AddColumnFamilyProcedure.getRegionInfoList(MasterProcedureEnv env)  +ModifyTableProcedure.getRegionInfoList(MasterProcedureEnv env)  private List<HRegionInfo> -DeleteColumnFamilyProcedure.getRegionInfoList(MasterProcedureEnv env)  +AddColumnFamilyProcedure.getRegionInfoList(MasterProcedureEnv env)  private List<HRegionInfo> -ModifyTableProcedure.getRegionInfoList(MasterProcedureEnv env)  +DeleteColumnFamilyProcedure.getRegionInfoList(MasterProcedureEnv env)  protected static List<HRegionInfo> @@ -4014,8 +4014,10 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -void -DisabledTableSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regionsAndLocations)  +protected abstract void +TakeSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions) +
Snapshot the specified regions
+ protected void @@ -4024,10 +4026,8 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -protected abstract void -TakeSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions) -
Snapshot the specified regions
- +void +DisabledTableSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regionsAndLocations)  @@ -4120,34 +4120,34 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -MasterQuotaManager.onRegionMerged(HRegionInfo hri)  - - -void RegionStateListener.onRegionMerged(HRegionInfo hri)
Process region merge event.
- + void -MasterQuotaManager.onRegionSplit(HRegionInfo hri)  +MasterQuotaManager.onRegionMerged(HRegionInfo hri)  - + void RegionStateListener.onRegionSplit(HRegionInfo hri)
Process region split event.
- + void -MasterQuotaManager.onRegionSplitReverted(HRegionInfo hri)  +MasterQuotaManager.onRegionSplit(HRegionInfo hri)  - + void RegionStateListener.onRegionSplitReverted(HRegionInfo hri)
Process region split reverted event.
+ +void +MasterQuotaManager.onRegionSplitReverted(HRegionInfo hri)  + @@ -4209,11 +4209,11 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. HRegionInfo -RegionMergeTransaction.getMergedRegionInfo()  +RegionMergeTransactionImpl.getMergedRegionInfo()  HRegionInfo -RegionMergeTransactionImpl.getMergedRegionInfo()  +RegionMergeTransaction.getMergedRegionInfo()  (package private) static HRegionInfo @@ -4231,35 +4231,35 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. HRegionInfo -HRegion.getRegionInfo()  +HRegionFileSystem.getRegionInfo()  HRegionInfo -HRegion.RegionScannerImpl.