hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-4821) It's possible to create files with special characters in the filenames, but 'hadoop fs -ls' gives no indication
Date Tue, 07 Jun 2016 17:51:21 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Zhuge resolved HDFS-4821.
------------------------------
    Resolution: Duplicate

> It's possible to create files with special characters in the filenames, but 'hadoop fs
-ls' gives no indication
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4821
>                 URL: https://issues.apache.org/jira/browse/HDFS-4821
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>            Reporter: Stephen Fritz
>
> For example:
> -bash-4.1$ hadoop fs -mkdir /user/hdfs
> -bash-4.1$ hadoop fs -touchz /user/hdfs/dupfile
> -bash-4.1$ hadoop fs -touchz /user/hdfs/dupfile^M
> -bash-4.1$ hadoop fs -ls /user/hdfs
> Found 2 items
> -rw-r--r--   3 hdfs supergroup          0 2013-05-14 07:13 /user/hdfs/dupfile
> -rw-r--r--   3 hdfs supergroup          0 2013-05-14 07:13 /user/hdfs/dupfile
> By way of comparison, bash will print a '?' at the end of the file name, indicating there's
a special character in the filename, which isn't perfect but at least gives an indication
that there's more to the filename than just alphanumeric characters



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message