hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8606) FileSystem.get may return the wrong filesystem
Date Wed, 18 Jul 2012 18:51:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417364#comment-13417364
] 

Hadoop QA commented on HADOOP-8606:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12537032/HADOOP-8606.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit
warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common:

                  org.apache.hadoop.ha.TestZKFailoverController

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1204//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1204//console

This message is automatically generated.
                
> 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
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message