distcp -skipcrccheck has no effect
----------------------------------

                 Key: HDFS-3054
                 URL: https://issues.apache.org/jira/browse/HDFS-3054
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: tools
    Affects Versions: 0.23.2
            Reporter: patrick white


Using distcp with '-skipcrccheck' still seems to cause CRC checksums to happen. 

Ran into this while debugging an issue associated with source and destination 
having different blocksizes, and not using the preserve blocksize parameter 
(-pb). In both 23.1 and 23.2 builds, trying to bypass the checksum verification 
by using the '-skipcrcrcheck' parameter had no effect, the distcp still failed 
on checksum errors.

Test scenario to reproduce;
do not use '-pb' and try a distcp from 20.205 (default blksize=128M) to .23 
(default blksize=256M), the distcp fails on checksum errors, which is expected 
due to checksum calculation (tiered aggregation of all blks). Trying the same 
distcp only providing '-skipcrccheck' still fails with the same checksum error, 
it is expected that checksum would now be bypassed and the distcp would proceed.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to