Skip to content

Commit 3f2f418

Browse files
author
Giovanni Matteo Fumarola
committed
YARN-9424. Change getDeclaredMethods to getMethods in FederationClientInterceptor#invokeConcurrent. Contributed by Shen Yinjie.
1 parent 9d40062 commit 3f2f418

File tree

1 file changed

+1
-1
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm

1 file changed

+1
-1
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ public Object call() throws Exception {
622622
ApplicationClientProtocol protocol =
623623
getClientRMProxyForSubCluster(subClusterId);
624624
Method method = ApplicationClientProtocol.class
625-
.getDeclaredMethod(request.getMethodName(), request.getTypes());
625+
.getMethod(request.getMethodName(), request.getTypes());
626626
return method.invoke(protocol, request.getParams());
627627
}
628628
});

0 commit comments

Comments
 (0)