YARN-9424. Change getDeclaredMethods to getMethods in FederationClientInterceptor#invokeConcurrent. Contributed by Shen Yinjie.
This commit is contained in:
parent
9d400627c2
commit
3f2f4186f6
@ -622,7 +622,7 @@ public Object call() throws Exception {
|
||||
ApplicationClientProtocol protocol =
|
||||
getClientRMProxyForSubCluster(subClusterId);
|
||||
Method method = ApplicationClientProtocol.class
|
||||
.getDeclaredMethod(request.getMethodName(), request.getTypes());
|
||||
.getMethod(request.getMethodName(), request.getTypes());
|
||||
return method.invoke(protocol, request.getParams());
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user