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 "XieXianshan (Commented) (JIRA)" <ji...@apache.org> on 2011/10/25 14:36:33 UTC

[jira] [Commented] (HADOOP-7447) Add a warning message for FsShell -getmerge when the src path is no a directory

    [ https://issues.apache.org/jira/browse/HADOOP-7447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134985#comment-13134985 ] 

XieXianshan commented on HADOOP-7447:
-------------------------------------

Can someone please review and commit this patch?


                
> Add a warning message for FsShell -getmerge when the src path is no a directory
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7447
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7447
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.20.3
>            Reporter: XieXianshan
>            Assignee: XieXianshan
>         Attachments: HADOOP-7447, HADOOP-7447-merge.patch, HADOOP-7447-v0.3.patch, HADOOP-7447-v0.4.patch, HADOOP-7447.patch
>
>
> While the <src> specified for FsShell -getmerge is not a directory,the command does nothing and there's no any message explaining the issue.
> Furthermore,the exitCode is zero.
> $ hdfs dfs -getmerge /user/hadoop/testfile /work/tmp/testfile
> $ echo $?
> 0
> $ ls /work/tmp/testfile
> ls: cannot access /work/tmp/testfile: No such file or directory

--
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