You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Shen Yinjie (JIRA)" <ji...@apache.org> on 2019/03/29 01:47:00 UTC
[jira] [Updated] (YARN-9424) Change getDeclaredMethods to
getMethods in FederationClientInterceptor#invokeConcurrent()
[ https://issues.apache.org/jira/browse/YARN-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shen Yinjie updated YARN-9424:
------------------------------
Description:
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, router will throw exception.
So change getDeclaredMethods to getMethods.
was:
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.
> 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
> Priority: Major
>
> 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, router will throw exception.
> So change getDeclaredMethods to getMethods.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org