|
[
Permlink
| « Hide
]
Lohit Vijayarenu added a comment - 26/Mar/08 07:16 AM
Here is a patch which takes care of this for -put/-copyFromLocal and -moveFromLocal
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12378608/HADOOP-3091-1.patch against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 5 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit 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://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2059/testReport/ This message is automatically generated. Path dstPath = new Path(dstf);
+ FileSystem dstFs = dstPath.getFileSystem(getConf()); + dstFs.copyFromLocalFile(false, false, srcs, new Path(dstf)); + }
Thanks Mahadev. Attaching new patch modifying as you suggested.
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12378657/HADOOP-3091-2.patch against trunk revision 619744. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 5 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit 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://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2069/testReport/ This message is automatically generated. I just committed this. Thanks, Lohit!
Integrated in Hadoop-trunk #443 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/443/
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||