Skip to content

Commit

Permalink
HDFS-15839. RBF: Cannot get method setBalancerBandwidth on Router Cli…
Browse files Browse the repository at this point in the history
…ent. Contributed by Yang Yun.

Only Prod Changes: Test already cherry-picked as part of HDFS-16310 via (496657c)
  • Loading branch information
ayushtkn committed Jul 23, 2022
1 parent 0ff5449 commit df4e593
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ public void setBalancerBandwidth(long bandwidth) throws IOException {
rpcServer.checkOperation(NameNode.OperationCategory.UNCHECKED);

RemoteMethod method = new RemoteMethod("setBalancerBandwidth",
new Class<?>[] {Long.class}, bandwidth);
new Class<?>[] {long.class}, bandwidth);
final Set<FederationNamespaceInfo> nss = namenodeResolver.getNamespaces();
rpcClient.invokeConcurrent(nss, method, true, false);
}
Expand Down

0 comments on commit df4e593

Please sign in to comment.