[
https://issues.apache.org/jira/browse/HADOOP-6286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HADOOP-6286:
------------------------------------
Component/s: fs
Fix Version/s: 0.21.0
Hadoop Flags: [Reviewed]
> The Glob methods in FileContext doe not deal with URIs correctly
> ----------------------------------------------------------------
>
> Key: HADOOP-6286
> URL: https://issues.apache.org/jira/browse/HADOOP-6286
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.21.0
> Reporter: Sanjay Radia
> Assignee: Boris Shkolnik
> Fix For: 0.21.0
>
> Attachments: HADOOP-6286-1.patch, HADOOP-6286-1.patch,
> HADOOP-6286-2.patch, HADOOP-6286-3.patch, HADOOP-6286-4.patch,
> HADOOP-6286.patch
>
>
> The glob methods in FileContext were copied from FileSystem where they dealt
> with the a single filesystem.
> While they were extended to fit in FileContext they don't seem to deal with
> URI pathnames correctly.
> For example the following two lines in FileContext may be the source of the
> problem - the scheme and authority seem to be
> ignored beyond these points.
> line 1013: String filename = pathPattern.toUri().getPath();
> line 1035: String filename = pathPattern.toUri().getPath();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.