Shen Yinjie created YARN-9424:
---------------------------------
Summary: Change getDeclaredMethods to getMethods in
FederationClientInterceptor#invokeConcurrent()
Key: YARN-9424
URL: https://issues.apache.org/jira/browse/YARN-9424
Project: Hadoop YARN
Issue Type: Bug
Reporter: Shen Yinjie
In YARN-8699, FederationClientInterceptor#invokeConcurrent uses
getDeclaredMethods(), which cannot recongnize some methods in
ApplicationBaseProtocol (ApplicationClientProtocol extend
ApplicationBaseProtocol) ,for example getApplications, when I run "yarn
application -list" by connecting to yarn router, it will throw exception.
So change getDeclaredMethods to getMethods.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]