You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/11/27 11:15:00 UTC

[jira] [Created] (HADOOP-15070) add test to verify FileSystem and paths differentiate on user info

Steve Loughran created HADOOP-15070:
---------------------------------------

             Summary: add test to verify FileSystem and paths differentiate on user info
                 Key: HADOOP-15070
                 URL: https://issues.apache.org/jira/browse/HADOOP-15070
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs, test
    Affects Versions: 2.8.2
            Reporter: Steve Loughran
            Assignee: Steve Loughran
            Priority: Minor


Add a test to verify that userinfo data is (correctly) used to differentiate the entries in the FS cache, so are treated as different filesystems.

* This is criticalk for wasb, which uses the username to identify the container, in a path like {{wasb:container1@stevel.azure.net}}. This works in Hadoop, but SPARK-22587 shows that it may not be followed everywhere (and given there's no documentation, who can fault them?)
* AbstractFileSystem.checkPath looks suspiciously like it's path validation just checks host, not authority. That needs a test too.
* And we should cut the @LimitedPrivate(HDFS, Mapreduce) from Path.makeQualified. If MR needs it, it should be considered open to all apps using the Hadoop APIs. Until I looked at the code I thought it was...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org