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

DelegateToFileSystem erroneously uses default FS's port in constructor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      DelegateToFileSystem constructor has the following code:

          super(theUri, supportedScheme, authorityRequired,
              FileSystem.getDefaultUri(conf).getPort());
      

      The default port should be taken from theFsImpl instead.

          super(theUri, supportedScheme, authorityRequired,
              theFsImpl.getDefaultPort());
      

        Attachments

        1. HADOOP-11618-003.patch
          4 kB
          Brahma Reddy Battula
        2. HADOOP-11618-002.patch
          3 kB
          Brahma Reddy Battula
        3. HADOOP-11618-001.patch
          3 kB
          Brahma Reddy Battula
        4. HADOOP-11618.patch
          0.9 kB
          Brahma Reddy Battula

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                jira.shegalov Gera Shegalov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: