[ 
https://issues.apache.org/jira/browse/HADOOP-7360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137587#comment-13137587
 ] 

Kihwal Lee commented on HADOOP-7360:
------------------------------------

Well, actually URLDecoder will turn + into a space, while + is fine by URI.
Daryn found out URI.getSchemeSpecificPart() can be used to get the properly 
decoded string after the scheme. So we just need to take care of scheme and 
append the scheme specific part.  Will make the change and repost the patch.
                
> FsShell does not preserve relative paths with globs
> ---------------------------------------------------
>
>                 Key: HADOOP-7360
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7360
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: Daryn Sharp
>            Assignee: Kihwal Lee
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7360-2.patch, HADOOP-7360-3.patch, 
> HADOOP-7360-4.patch, HADOOP-7360.patch, HADOOP-7360.txt, HADOOP-7360.txt
>
>
> FsShell currently preserves relative paths that do not contain globs.  
> Unfortunately the method {{fs.globStatus()}} is fully qualifying all returned 
> paths.  This is causing inconsistent display of paths.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to