You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/08/11 17:02:16 UTC

[GitHub] [hbase] saintstack commented on a change in pull request #468: HBASE-22822 : Un/Re-schedule balancer chore with balance_switch

saintstack commented on a change in pull request #468: HBASE-22822 : Un/Re-schedule balancer chore with balance_switch
URL: https://github.com/apache/hbase/pull/468#discussion_r312747039
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
 ##########
 @@ -1673,6 +1675,29 @@ private void balanceThrottling(long nextBalanceStartTime, int maxRegionsInTransi
     if (interrupted) Thread.currentThread().interrupt();
   }
 
+  /**
+   * Turn the balancer on/off
+   *
+   * @param on boolean value indicates whether to turn the balancer on
+   */
+  void turnBalancer(boolean on) {
 
 Review comment:
   s/turnBalancer/switchBalancer/ ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services