Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.4.1
-
None
-
None
-
None
Description
Currently in HadoopYarnProtoRPC.java, we are put a fix version number (1) in getting client proxy.
return RpcFactoryProvider.getClientFactory(conf).getClient(protocol, 1, addr, conf);
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.