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

Slight update to the implementation of API for handling favored nodes in DFSClient

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-beta
    • 2.1.0-beta
    • None
    • None
    • Reviewed

    Description

      Currently, the favoredNodes flavor of the DFSClient.create implementation does a call to inetSocketAddressInstance.getAddress().getHostAddress() This wouldn't work if the inetSocketAddressInstance is unresolved (instance created via InetSocketAddress.createUnresolved()). The DFSClient API should handle both cases of favored-nodes' InetSocketAddresses (resolved/unresolved) passed to it.

      Attachments

        1. hdfs-4827-1.txt
          2 kB
          Devaraj Das

        Issue Links

        Activity

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

          People

            ddas Devaraj Das
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment