You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2016/05/16 14:43:12 UTC

[jira] [Issue Comment Deleted] (HADOOP-13099) Glob should return files with special characters in name

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

Kihwal Lee updated HADOOP-13099:
--------------------------------
    Comment: was deleted

(was: 
This is an automatically generated message.

randyc@yahoo-inc.com is no longer with Yahoo! Inc.

Your message will not be forwarded.

If you have a sales inquiry, please email yahoosales@yahoo-inc.com and someone will follow up with you shortly.

If you require assistance with a legal matter, please send a message to legal-notices@yahoo-inc.com

Thank you!
)

> Glob should return files with special characters in name
> --------------------------------------------------------
>
>                 Key: HADOOP-13099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13099
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.6.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>             Fix For: 3.0.0-alpha1
>
>
> In a directory, create a file with a name containing non-printable character, e.g., '\r'.  {{dfs -ls dir}} can list such file, but {{dfs -ls dir/*}} can not.
> {noformat}
> $ hdfs dfs -touchz /tmp/test/abc
> $ hdfs dfs -touchz $'/tmp/test/abc\rdef'
> $ hdfs dfs -ls /tmp/test
> Found 2 items
> -rw-r--r--   3 systest supergroup          0 2016-05-05 01:35 /tmp/test/abc
> def-r--r--   3 systest supergroup          0 2016-05-05 01:36 /tmp/test/abc
> $ hdfs dfs -ls /tmp/test | od -c
> 0000000   F   o   u   n   d       2       i   t   e   m   s  \n   -   r
> 0000020   w   -   r   -   -   r   -   -               3       s   y   s
> 0000040   t   e   s   t       s   u   p   e   r   g   r   o   u   p    
> 0000060                                       0       2   0   1   6   -
> 0000100   0   5   -   0   5       0   1   :   3   5       /   t   m   p
> 0000120   /   t   e   s   t   /   a   b   c  \n   -   r   w   -   r   -
> 0000140   -   r   -   -               3       s   y   s   t   e   s   t
> 0000160       s   u   p   e   r   g   r   o   u   p                    
> 0000200                       0       2   0   1   6   -   0   5   -   0
> 0000220   5       0   1   :   3   6       /   t   m   p   /   t   e   s
> 0000240   t   /   a   b   c  \r   d   e   f  \n
> 0000252
> $ hdfs dfs -ls /tmp/test/*
> -rw-r--r--   3 systest supergroup          0 2016-05-05 01:35 /tmp/test/abc
> {noformat}



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

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