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

Remove protocol version check at proxy creation in Hadoop RPC.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • ipc
    • None
    • Incompatible change, Reviewed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: