hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8173) FsShell needs to handle quoted metachars
Date Thu, 15 Mar 2012 21:22:38 GMT

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

Daryn Sharp commented on HADOOP-8173:
-------------------------------------

The only one that looked questionable was a trailing \ not being removed.  I've been mimicking
the shell, and it looks like it's happy with it:
{noformat}
$ touch 'a\' && ls -l a*
-rw-r--r--  1 daryn  daryn  0 Mar 15 16:17 a\
{noformat}
It's also the same regexp used internally by globbing, so it's consistent.
                
> FsShell needs to handle quoted metachars
> ----------------------------------------
>
>                 Key: HADOOP-8173
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8173
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.24.0, 0.23.2
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-8173.patch
>
>
> Commands that access paths with quoted metachars work correctly, however commands that
create paths with quoted metachars leave the \ in the path.  Ex. 
> {noformat}
> fs -mkdir "foo\*bar" will create "foo\*bar" instead of "foo*bar".
> {noformat}

--
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

        

Mime
View raw message