[ 
https://issues.apache.org/jira/browse/YARN-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hiroshi Ikeda updated YARN-1656:
--------------------------------

    Attachment: YARN-1656.patch

Added a sample patch for 2.2.0, which also fixes some similar issues for 
classes around YarnRPC.

> Return type of YarnRPC.getProxy() should be the given protocol class instead 
> of Object
> --------------------------------------------------------------------------------------
>
>                 Key: YARN-1656
>                 URL: https://issues.apache.org/jira/browse/YARN-1656
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Hiroshi Ikeda
>            Priority: Minor
>         Attachments: YARN-1656.patch
>
>
> Writing code with explicit cast such as:
> {code}
> ((ApplicationClientProtocol) rpc.getProxy(ApplicationClientProtocol.class, 
> rmAddress, appsManagerServerConf));
> {code}
> is tedious.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to