HDFS-15839. RBF: Cannot get method setBalancerBandwidth on Router Client. Contributed by Yang Yun.

Only Prod Changes: Test already cherry-picked as part of HDFS-16310 via (496657c63f)
This commit is contained in:
Ayush Saxena 2021-02-20 19:34:29 +05:30
parent 0ff544951a
commit df4e59318f
No known key found for this signature in database
GPG Key ID: D09AE71061AB564D
1 changed files with 1 additions and 1 deletions

View File

@ -1179,7 +1179,7 @@ public class RouterClientProtocol implements ClientProtocol {
rpcServer.checkOperation(NameNode.OperationCategory.UNCHECKED); rpcServer.checkOperation(NameNode.OperationCategory.UNCHECKED);
RemoteMethod method = new RemoteMethod("setBalancerBandwidth", RemoteMethod method = new RemoteMethod("setBalancerBandwidth",
new Class<?>[] {Long.class}, bandwidth); new Class<?>[] {long.class}, bandwidth);
final Set<FederationNamespaceInfo> nss = namenodeResolver.getNamespaces(); final Set<FederationNamespaceInfo> nss = namenodeResolver.getNamespaces();
rpcClient.invokeConcurrent(nss, method, true, false); rpcClient.invokeConcurrent(nss, method, true, false);
} }