adol001 commented on a change in pull request #3519:
URL: https://github.com/apache/hadoop/pull/3519#discussion_r730684343
##########
File path:
hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/RetriableFileCopyCommand.java
##########
@@ -154,7 +154,7 @@ private long doCopy(CopyListingFileStatus source, Path
target,
if (!source.isSplit()) {
DistCpUtils.compareFileLengthsAndChecksums(source.getLen(), sourceFS,
sourcePath, sourceChecksum, targetFS,
- targetPath, skipCrc, source.getLen());
+ targetPath, skipCrc, bytesRead);
Review comment:
"
compareFileLengths(sourceFileStatus, targetPath, configuration,
bytesRead
+ offset);
"
When I copied from old version hadoop, I encountered a line break...Thank you
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]