hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Fritz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4822) Globs do not match special characters in filenames
Date Tue, 14 May 2013 14:25:15 GMT
Stephen Fritz created HDFS-4822:
-----------------------------------

             Summary: Globs do not match special characters in filenames
                 Key: HDFS-4822
                 URL: https://issues.apache.org/jira/browse/HDFS-4822
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Stephen Fritz


Create a file with a special character in the filename, a-la
-bash-4.1$ hadoop fs -mkdir /user/hdfs
-bash-4.1$ hadoop fs -touchz /user/hdfs/dupfile^M
-bash-4.1$ hadoop fs -ls /user/hdfs
Found 1 items
-rw-r--r--   3 hdfs supergroup          0 2013-05-14 07:13 /user/hdfs/dupfile

Try to delete it using wildcards * or ? fail:
-bash-4.1$ hadoop fs -rm /user/hdfs/dupfile*
rm: `/user/hdfs/dupfile*': No such file or directory
-bash-4.1$ hadoop fs -ls /user/hdfs
Found 2 items
drwx------   - hdfs supergroup          0 2013-05-14 07:20 /user/hdfs/.Trash
-rw-r--r--   3 hdfs supergroup          0 2013-05-14 07:13 /user/hdfs/dupfile



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message