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 "Daryn Sharp (Updated) (JIRA)" <ji...@apache.org> on 2012/03/05 20:23:58 UTC
[jira] [Updated] (HADOOP-8140) dfs -getmerge should process its
argments better
[ https://issues.apache.org/jira/browse/HADOOP-8140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-8140:
--------------------------------
Attachment: HADOOP-8140.patch
Handle files and directories in a manner consistent with other commands instead of silently skipping files. Wildcard problem is fixed by accepting multiple args.
> dfs -getmerge should process its argments better
> --------------------------------------------------
>
> Key: HADOOP-8140
> URL: https://issues.apache.org/jira/browse/HADOOP-8140
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: arkady borkovsky
> Assignee: Daryn Sharp
> Attachments: HADOOP-8140.patch, Hadoop-1004_1.patch
>
>
> The command only works if its argument is a directory
> If the argement is a file or a wildcard, it does nothing without any message.
> If not arguments are given, the command fails with a stack dump.
> The improved version should:
> -- produce an error message in case it cannot perform meaningful action (no argument, or no matching files)
> -- copy the files specified by a wildcard expresstion. (A single file is special case of this).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira