Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7227

Remove protocol version check at proxy creation in Hadoop RPC.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: ipc
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      1. Protocol version check is removed from proxy creation, instead version check is performed at server in every rpc call.
      2. This change is backward incompatible because format of the rpc messages is changed to include client version, client method hash and rpc version.
      3. rpc version is introduced which should change when the format of rpc messages is changed.
      Show
      1. Protocol version check is removed from proxy creation, instead version check is performed at server in every rpc call. 2. This change is backward incompatible because format of the rpc messages is changed to include client version, client method hash and rpc version. 3. rpc version is introduced which should change when the format of rpc messages is changed.

      Description

      Currently when a proxy is created for a protocol, there is a round trip of messages to check the protocol version. The protocol version is not checked in any subsequent rpc which could be a problem if the server restarts with a new protocol version. This issue and also the additional round-trip at proxy creation can be avoided if we add the protocol version in every rpc, and server checks the protocol version for every call.

        Attachments

        1. HADOOP-7227.2.patch
          15 kB
          Jitendra Nath Pandey
        2. HADOOP-7227.3.patch
          16 kB
          Jitendra Nath Pandey
        3. HADOOP-7227.4.patch
          16 kB
          Jitendra Nath Pandey
        4. HADOOP-7227.5.patch
          16 kB
          Jitendra Nath Pandey
        5. HADOOP-7227.6.patch
          16 kB
          Jitendra Nath Pandey

          Issue Links

            Activity

              People

              • Assignee:
                jnp Jitendra Nath Pandey
                Reporter:
                jnp Jitendra Nath Pandey
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: