Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-666 [Umbrella] Support rolling upgrades in YARN
  3. YARN-2278

YARN RPC should support Protocol Version in client/server

    XMLWordPrintableJSON

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.

      Attachments

        1. YARN-2278-demo.patch
          2 kB
          Junping Du

        Activity

          People

            junping_du Junping Du
            junping_du Junping Du
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: