Skip to content

Commit df4e593

Browse files
committed
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 (496657c)
1 parent 0ff5449 commit df4e593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterClientProtocol.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ public void setBalancerBandwidth(long bandwidth) throws IOException {
11791179
rpcServer.checkOperation(NameNode.OperationCategory.UNCHECKED);
11801180

11811181
RemoteMethod method = new RemoteMethod("setBalancerBandwidth",
1182-
new Class<?>[] {Long.class}, bandwidth);
1182+
new Class<?>[] {long.class}, bandwidth);
11831183
final Set<FederationNamespaceInfo> nss = namenodeResolver.getNamespaces();
11841184
rpcClient.invokeConcurrent(nss, method, true, false);
11851185
}

0 commit comments

Comments
 (0)