Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
3.1.1
-
None
-
None
-
None
Description
when run distcp with -log /logpath -v, distcp will print copy status and file info to /logpath, but print log with wrong file zise. The logs print as follows:
FILE_COPIED: source=hdfs://ns1/test/stax2-api-3.1.4.jar, size=161867 --> target=hdfs://ns1/tmp/target/stax2-api-3.1.4.jar, size=0
As I analysis ,the root cause is as follows:
targrtFileStatus got before copying. So targrtFileStatus is null. Here should get targrtFileStatus again after file copying.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-14839 DistCp log output should contain copied and deleted files and directories
- Resolved