hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2278) YARN RPC should support Protocol Version in client/server
Date Fri, 11 Jul 2014 07:44:04 GMT

    [ https://issues.apache.org/jira/browse/YARN-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058517#comment-14058517
] 

Junping Du commented on YARN-2278:
----------------------------------

However, it seems we don't check version number in RPC request in server side. I tried to
increase version number in client here, but TestRPC in yarn can still be successful. I think
we need some fix in sever side also.

> YARN RPC should support Protocol Version in client/server
> ---------------------------------------------------------
>
>                 Key: YARN-2278
>                 URL: https://issues.apache.org/jira/browse/YARN-2278
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.4.1
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: YARN-2278-demo.patch
>
>
> Currently in HadoopYarnProtoRPC.java, we are put a fix version number (1) in getting
client proxy.
> {code}
> return RpcFactoryProvider.getClientFactory(conf).getClient(protocol, 1, addr, conf);
> {code}
> In rolling-upgrade scenario, it is possible that the client and server of YARN components
could in different versions. We should fix this with getting version number from ProtocolPB
(ProtocolInfo annotation) as HDFS already did.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message