This is an automated email from the ASF dual-hosted git repository.

gifuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 3f2f418  YARN-9424. Change getDeclaredMethods to getMethods in 
FederationClientInterceptor#invokeConcurrent. Contributed by Shen Yinjie.
3f2f418 is described below

commit 3f2f4186f6543272cf4bb7c815f1f46ba50e7640
Author: Giovanni Matteo Fumarola <gif...@apache.org>
AuthorDate: Tue Apr 23 19:58:41 2019 -0700

    YARN-9424. Change getDeclaredMethods to getMethods in 
FederationClientInterceptor#invokeConcurrent. Contributed by Shen Yinjie.
---
 .../hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java
index 03dde04..3422fd1 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java
@@ -622,7 +622,7 @@ public class FederationClientInterceptor
           ApplicationClientProtocol protocol =
               getClientRMProxyForSubCluster(subClusterId);
           Method method = ApplicationClientProtocol.class
-              .getDeclaredMethod(request.getMethodName(), request.getTypes());
+              .getMethod(request.getMethodName(), request.getTypes());
           return method.invoke(protocol, request.getParams());
         }
       });


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to