[ https://issues.apache.org/jira/browse/HADOOP-6286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763122#action_12763122 ]
Boris Shkolnik commented on HADOOP-6286: ---------------------------------------- current tests for FileSystem.glob are in HDFS I am going to add test for FileContext there. (HDFS-678) > 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 > Assignee: Boris Shkolnik > 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.