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:contain...@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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to