You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2021/09/09 19:16:59 UTC

[hbase] branch branch-2 updated: HBASE-26240 Set InterfaceAudience to Private for BalanceRequest$Builder (#3663)

This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new bb05901  HBASE-26240 Set InterfaceAudience to Private for BalanceRequest$Builder (#3663)
bb05901 is described below

commit bb059019ace4d5029cce1f70185baa0d93e41efd
Author: Bryan Beaudreault <bb...@hubspot.com>
AuthorDate: Thu Sep 9 13:25:20 2021 -0400

    HBASE-26240 Set InterfaceAudience to Private for BalanceRequest$Builder (#3663)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    Signed-off-by: Nick Dimiduk <nd...@apache.org>
---
 .../main/java/org/apache/hadoop/hbase/client/BalanceRequest.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BalanceRequest.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BalanceRequest.java
index e464410..03ce5db 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BalanceRequest.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BalanceRequest.java
@@ -30,7 +30,7 @@ public final class BalanceRequest {
   /**
    * Builder for constructing a {@link BalanceRequest}
    */
-  @InterfaceAudience.Public
+  @InterfaceAudience.Private
   public final static class Builder {
     private boolean dryRun = false;
     private boolean ignoreRegionsInTransition = false;
@@ -38,7 +38,7 @@ public final class BalanceRequest {
     private Builder() {}
 
     /**
-     * Creates a BalancerRequest which runs the balancer in dryRun mode.
+     * Updates BalancerRequest to run the balancer in dryRun mode.
      * In this mode, the balancer will try to find a plan but WILL NOT
      * execute any region moves or call any coprocessors.
      *
@@ -55,8 +55,8 @@ public final class BalanceRequest {
     }
 
     /**
-     * Creates a BalancerRequest to cause the balancer to run even if there
-     * are regions in transition.
+     * Updates BalancerRequest to run the balancer even if there are regions
+     * in transition.
      *
      * WARNING: Advanced usage only, this could cause more issues than it fixes.
      */