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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • webhdfs
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment