Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 94201200B41 for ; Thu, 7 Jul 2016 19:58:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9300B160A68; Thu, 7 Jul 2016 17:58:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 69A7D160A7C for ; Thu, 7 Jul 2016 19:58:05 +0200 (CEST) Received: (qmail 76892 invoked by uid 500); 7 Jul 2016 17:58:04 -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 74837 invoked by uid 99); 7 Jul 2016 17:58:00 -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 Jul 2016 17:58:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 935E8ED103; Thu, 7 Jul 2016 17:58:00 +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 Jul 2016 17:58:08 -0000 Message-Id: <5d2a018d6eb84ce3ba9398b05cfba0a2@git.apache.org> In-Reply-To: <416e0bf2445c4169a68cd8cd35c09555@git.apache.org> References: <416e0bf2445c4169a68cd8cd35c09555@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [09/52] [partial] hbase-site git commit: Published site at c137bafe51a9212f0c2bb2aa4cde4614b4e537be. archived-at: Thu, 07 Jul 2016 17:58:07 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16d2a5b1/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html b/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html index 1fee27e..8450d48 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html +++ b/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html @@ -222,7 +222,7 @@ the order they are declared. @@ -774,7 +787,7 @@ implements
  • needsBalance

    -
    protected boolean needsBalance(BaseLoadBalancer.Cluster c)
    +
    protected boolean needsBalance(BaseLoadBalancer.Cluster c)
  • @@ -783,7 +796,7 @@ implements
  • areSomeRegionReplicasColocated

    -
    protected boolean areSomeRegionReplicasColocated(BaseLoadBalancer.Cluster c)
    +
    protected boolean areSomeRegionReplicasColocated(BaseLoadBalancer.Cluster c)
    Subclasses should implement this to return true if the cluster has nodes that hosts multiple replicas for the same region, or, if there are multiple racks and the same rack hosts replicas of the same region
    @@ -797,7 +810,7 @@ implements
  • roundRobinAssignment

    -
    public Map<ServerName,List<HRegionInfo>> roundRobinAssignment(List<HRegionInfo> regions,
    +
    public Map<ServerName,List<HRegionInfo>> roundRobinAssignment(List<HRegionInfo> regions,
                                                          List<ServerName> servers)
    Generates a bulk assignment plan to be used on cluster startup using a simple round-robin assignment. @@ -823,7 +836,7 @@ implements
  • createCluster

    -
    protected BaseLoadBalancer.Cluster createCluster(List<ServerName> servers,
    +
    protected BaseLoadBalancer.Cluster createCluster(List<ServerName> servers,
                                          Collection<HRegionInfo> regions)
  • @@ -833,7 +846,7 @@ implements
  • randomAssignment

    -
    public ServerName randomAssignment(HRegionInfo regionInfo,
    +
    public ServerName randomAssignment(HRegionInfo regionInfo,
                               List<ServerName> servers)
    Used to assign a single region to a random server.
    @@ -849,7 +862,7 @@ implements
  • retainAssignment

    -
    public Map<ServerName,List<HRegionInfo>> retainAssignment(Map<HRegionInfo,ServerName> regions,
    +
    public Map<ServerName,List<HRegionInfo>> retainAssignment(Map<HRegionInfo,ServerName> regions,
                                                      List<ServerName> servers)
    Generates a bulk assignment startup plan, attempting to reuse the existing assignment information from META, but adjusting for the specified list of @@ -875,7 +888,7 @@ implements
  • initialize

    -
    public void initialize()
    +
    public void initialize()
                     throws HBaseIOException
    Description copied from interface: LoadBalancer
    Initialize the load balancer. Must be called after setters.
    @@ -892,7 +905,7 @@ implements
  • regionOnline

    -
    public void regionOnline(HRegionInfo regionInfo,
    +
    public void regionOnline(HRegionInfo regionInfo,
                     ServerName sn)
    Description copied from interface: LoadBalancer
    Marks the region as online at balancer.
    @@ -908,7 +921,7 @@ implements
  • regionOffline

    -
    public void regionOffline(HRegionInfo regionInfo)
    +
    public void regionOffline(HRegionInfo regionInfo)
    Description copied from interface: LoadBalancer
    Marks the region as offline at balancer.
    @@ -923,7 +936,7 @@ implements
  • isStopped

    -
    public boolean isStopped()
    +
    public boolean isStopped()
    Specified by:
    isStopped in interface Stoppable
    @@ -936,7 +949,7 @@ implements
  • stop

    -
    public void stop(String why)
    +
    public void stop(String why)
    Description copied from interface: Stoppable
    Stop this service. Implementers should favor logging errors over throwing RuntimeExceptions.
    @@ -952,7 +965,7 @@ implements
  • randomAssignment

    -
    private ServerName randomAssignment(BaseLoadBalancer.Cluster cluster,
    +
    private ServerName randomAssignment(BaseLoadBalancer.Cluster cluster,
                               HRegionInfo regionInfo,
                               List<ServerName> servers)
    Used to assign a single region to a random server.
    @@ -964,7 +977,7 @@ implements
  • roundRobinAssignment

    -
    private void roundRobinAssignment(BaseLoadBalancer.Cluster cluster,
    +
    private void roundRobinAssignment(BaseLoadBalancer.Cluster cluster,
                             List<HRegionInfo> regions,
                             List<HRegionInfo> unassignedRegions,
                             List<ServerName> servers,
    @@ -978,7 +991,7 @@ implements 
     
  • getRegionAssignmentsByServer

    -
    protected Map<ServerName,List<HRegionInfo>> getRegionAssignmentsByServer(Collection<HRegionInfo> regions
     )
    +
    protected Map<ServerName,List<HRegionInfo>> getRegionAssignmentsByServer(Collection<HRegionInfo> regions
     )
  • @@ -987,7 +1000,7 @@ implements
  • onConfigurationChange

    -
    public void onConfigurationChange(org.apache.hadoop.conf.Configuration conf)
    +
    public void onConfigurationChange(org.apache.hadoop.conf.Configuration conf)
    Description copied from interface: ConfigurationObserver
    This method would be called by the ConfigurationManager object when the Configuration object is reloaded from disk.
    http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16d2a5b1/devapidocs/org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html b/devapidocs/org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html index 8dd468b..5b203a6 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html +++ b/devapidocs/org/apache/hadoop/hbase/master/balancer/FavoredNodeLoadBalancer.html @@ -288,7 +288,7 @@ extends BaseLoadBalancer -areSomeRegionReplicasColocated, assignMasterRegions, balanceMasterRegions, createCluster, getConf, getRegionAssignmentsBySe rver, getTablesOnMaster, initialize, isStopped, needsBalance, onConfigurationChange, regionOffline, regionOnline, retainAssignment, setClusterStatus, setMasterServices, setRackManager, setSlop, shouldBeOnMaster, stop, tablesOnMaster
  • +areSomeRegionReplicasColocated, assignMasterRegions, balanceMasterRegions, createCluster, getConf, getRegionAssignmentsBySe rver, getTablesOnMaster, initialize, isStopped, needsBalance, onConfigurationChange, regionOffline, regionOnline, retainAssignment, setClusterStatus, setMasterServices, setRackManager, setSlop, shouldBeOnMaster, stop, tablesOnMaster, userTablesOnMaster