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

FileSystem.get may return the wrong filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • 1.2.0, 0.23.3, 2.0.2-alpha
    • fs
    • None

    Description

      FileSystem.get(URI, conf) will return the default fs if the scheme is null, regardless of whether the authority is null too. This causes URIs of "//authority/path" to always refer to "/path" on the default fs. To the user, this appears to "work" if the authority in the null-scheme URI matches the authority of the default fs. When the authorities don't match, the user is very surprised that the default fs is used.

      Attachments

        1. HADOOP-8606.patch
          4 kB
          Daryn Sharp
        2. HADOOP-8606.branch-1.patch
          3 kB
          Daryn Sharp

        Activity

          People

            daryn Daryn Sharp
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: