tangshangwen created MAPREDUCE-7096:
---------------------------------------
Summary: Distcp cannot copy files of the same name in different
directories
Key: MAPREDUCE-7096
URL: https://issues.apache.org/jira/browse/MAPREDUCE-7096
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: distcp
Affects Versions: 2.7.3
Reporter: tangshangwen
When I tested distcp, I found that I could not copy files with the same name in
different directories,here is my test case:
source:
/user/hadoop/dir1/a.txt
/user/hadoop/dir2/a.txt
target
/tmp/dist-cp/
hadoop distcp -m 2 -overwrite /user/hadoop/dir* /tmp/dist-cp/
result: failed
source:
/user/hadoop/dir1/a.txt
/user/hadoop/dir2/b.txt
target:
/tmp/dist-cp/
hadoop distcp -m 2 -overwrite /user/hadoop/dir* /tmp/dist-cp/
result: success
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]