From b4dc9af80e2864fb4f2d25b322dde0cb3925fded Mon Sep 17 00:00:00 2001 From: Bryan Beaudreault Date: Thu, 9 Sep 2021 13:25:20 -0400 Subject: [PATCH] HBASE-26240 Set InterfaceAudience to Private for BalanceRequest$Builder (#3663) Signed-off-by: Duo Zhang Signed-off-by: Nick Dimiduk --- .../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 e464410c8df5..03ce5dbf6f20 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 static class Builder { 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 Builder setDryRun(boolean dryRun) { } /** - * 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. */