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 "Jay Hacker (JIRA)" <ji...@apache.org> on 2011/02/14 17:40:57 UTC

[jira] Resolved: (HDFS-1616) hadoop fs -put and -copyFromLocal do not support globs in the source path

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

Jay Hacker resolved HDFS-1616.
------------------------------

    Resolution: Duplicate

"Moved" to Hadoop Common as HADOOP-7141.

> hadoop fs -put and -copyFromLocal do not support globs in the source path
> -------------------------------------------------------------------------
>
>                 Key: HDFS-1616
>                 URL: https://issues.apache.org/jira/browse/HDFS-1616
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>         Environment: Cloudera CDH3b3
>            Reporter: Jay Hacker
>            Priority: Minor
>
> I'd like to be able to use Hadoop globbing with the FsShell -put command, but it doesn't work:
> {noformat}
> $ ls
> file1 file2
> $ hadoop fs -put '*' .
> put: File * does not exist.
> {noformat}
> This has probably gone unnoticed because your shell usually handles it, but a) I'd like to be able to call 'hadoop fs' programatically without a shell, b) it doesn't work in Pig or Grunt, where there is no shell helping you, and c) Hadoop globbing differs from shell globbing and it would be nice to be able to use it consistently.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira