[ https://issues.apache.org/jira/browse/HADOOP-2582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558294#action_12558294 ]
Hadoop QA commented on HADOOP-2582: ----------------------------------- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12373023/HADOOP_2582_2.patch against trunk revision r611385. @author +1. The patch does not contain any @author tags. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new compiler warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1560/testReport/ Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1560/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1560/artifact/trunk/build/test/checkstyle-errors.html Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1560/console This message is automatically generated. > hadoop dfs -copyToLocal creates zero byte files, when source file does not > exists > ---------------------------------------------------------------------------------- > > Key: HADOOP-2582 > URL: https://issues.apache.org/jira/browse/HADOOP-2582 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.15.2 > Reporter: lohit vijayarenu > Attachments: HADOOP_2582_1.patch, HADOOP_2582_2.patch > > > hadoop dfs -copyToLocal with an no existing source file creates a zero byte > destination file. It should throw an error message indicating the source file > does not exists. > {noformat} > [lohit@ hadoop-trunk]$ hadoop dfs -get nosuchfile nosuchfile > [lohit@ hadoop-trunk]$ ls -l nosuchfile > -rw-r--r-- 1 lohit users 0 Jan 11 21:58 nosuchfile > [lohit@ hadoop-trunk]$ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.