Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1335

HDFS side of HADOOP-6904: first step towards inter-version communications between dfs client and NameNode

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.23.0
    • Component/s: hdfs-client, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The idea is that for getProtocolVersion, NameNode checks if the client and server versions are compatible if the server version is greater than the client version. If no, throws a VersionIncompatible exception; otherwise, returns the server version.

      On the dfs client side, when creating a NameNode proxy, catches the VersionMismatch exception and then checks if the client version and the server version are compatible if the client version is greater than the server version. If not compatible, throws exception VersionIncomptible; otherwise, records the server version and continues.

      1. hdfsRPC.patch
        2 kB
        Hairong Kuang
      2. hdfsRpcVersion.patch
        5 kB
        Hairong Kuang

        Issue Links

          Activity

          Gavin made changes -
          Link This issue depends upon HADOOP-6904 [ HADOOP-6904 ]
          Gavin made changes -
          Link This issue depends on HADOOP-6904 [ HADOOP-6904 ]
          Hairong Kuang made changes -
          Issue Type New Feature [ 2 ] Improvement [ 4 ]
          Hairong Kuang made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.23.0 [ 12315571 ]
          Resolution Fixed [ 1 ]
          Hairong Kuang made changes -
          Attachment hdfsRPC.patch [ 12469605 ]
          Nigel Daley made changes -
          Fix Version/s 0.22.0 [ 12314241 ]
          Doug Cutting made changes -
          Link This issue depends on HADOOP-6904 [ HADOOP-6904 ]
          Hairong Kuang made changes -
          Field Original Value New Value
          Attachment hdfsRpcVersion.patch [ 12451610 ]
          Hairong Kuang created issue -

            People

            • Assignee:
              Hairong Kuang
              Reporter:
              Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development