hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiroshi Ikeda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1656) Return type of YarnRPC.getProxy() should be the given protocol class instead of Object
Date Mon, 27 Jan 2014 10:18:37 GMT

     [ 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)

Mime
View raw message