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 "Junping Du (JIRA)" <ji...@apache.org> on 2014/07/11 09:36:04 UTC
[jira] [Created] (YARN-2278) YARN RPC should support Protocol
Version in client/server
Junping Du created YARN-2278:
--------------------------------
Summary: 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
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)