You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2016/04/22 13:58:12 UTC

[jira] [Resolved] (HDFS-3557) provide means of escaping special characters to `hadoop fs` command

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

Harsh J resolved HDFS-3557.
---------------------------
    Resolution: Not A Problem

Resolving per comment (also stale)

> provide means of escaping special characters to `hadoop fs` command
> -------------------------------------------------------------------
>
>                 Key: HDFS-3557
>                 URL: https://issues.apache.org/jira/browse/HDFS-3557
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Jeff Hodges
>            Priority: Minor
>
> When running an investigative job, I used a date parameter that selected multiple directories for the input (e.g. "my_data/2012/06/{18,19,20}"). It used this same date parameter when creating the output directory.
> But `hadoop fs` was unable to ls, getmerge, or rmr it until I used the regex operator "?" and mv to change the name (that is, `-mv output/2012/06/?18,19,20? foobar").
> Shells and filesystems for other systems provide a means of escaping "special characters" generically, but there seems to be no such means in HDFS/`hadoop fs`. Providing one would be a great way to make accessing HDFS more robust.



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