[ https://issues.apache.org/jira/browse/HADOOP-15070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268224#comment-16268224
]
Mingliang Liu commented on HADOOP-15070:
----------------------------------------
+1
> 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
> Attachments: HADOOP-15070-001.patch
>
>
> 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
|