Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5403

WebHdfs client cannot communicate with older WebHdfs servers post HDFS-5306

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: webhdfs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HDFS-5306 introduced the field infoSecurePort to the DatanodeIDProto PB definition and made it optional for compatibility purposes. However, we don't correctly the handle the case when this field is not present when deserializing the response from a WebHdfs request. This results in an NPE at the client when this occurs.

        Attachments

        1. HDFS-5403.patch
          3 kB
          Aaron Myers
        2. HDFS-5403.patch
          3 kB
          Aaron Myers

          Issue Links

            Activity

              People

              • Assignee:
                atm Aaron Myers
                Reporter:
                atm Aaron Myers
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: