Kai Xie created HADOOP-16536:
--------------------------------
Summary: Backport HADOOP-16158 to branch-2
Key: HADOOP-16536
URL: https://issues.apache.org/jira/browse/HADOOP-16536
Project: Hadoop Common
Issue Type: Improvement
Components: tools/distcp
Affects Versions: 3.2.0, 2.9.2, 3.0.3, 3.1.2
Reporter: Kai Xie
Assignee: Kai Xie
Fix For: 3.3.0, 3.2.1, 3.1.3
Copying blocks in parallel (enabled when blocks per chunk > 0) is a great
DistCp improvement that can hugely speed up copying big files.
But its checksum validation is skipped, e.g. in `RetriableFileCopyCommand.java`
{code:java}
if (!source.isSplit()) {
compareCheckSums(sourceFS, source.getPath(), sourceChecksum,
targetFS, targetPath);
}
{code}
and this could result in checksum/data mismatch without notifying
developers/users (e.g. HADOOP-16049).
I'd like to provide a patch to add the checksum validation.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]