hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (HADOOP-8606) FileSystem.get may return the wrong filesystem
Date Thu, 11 Oct 2012 17:45:54 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arun C Murthy closed HADOOP-8606.
---------------------------------

    
> FileSystem.get may return the wrong filesystem
> ----------------------------------------------
>
>                 Key: HADOOP-8606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8606
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0, 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.23.3, 2.0.2-alpha
>
>         Attachments: HADOOP-8606.branch-1.patch, HADOOP-8606.patch
>
>
> {{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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message