You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sanjay Radia (JIRA)" <ji...@apache.org> on 2009/09/25 01:38:15 UTC

[jira] Created: (HADOOP-6286) The Glob methods in FileContext doe not deal with URIs correctly

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
    Affects Versions: 0.21.0
            Reporter: Sanjay Radia


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.