Yuexin Zhang created HDFS-13764:
-----------------------------------

             Summary: [DOC] update flag is not necessary to avoid verifying 
checksums
                 Key: HDFS-13764
                 URL: https://issues.apache.org/jira/browse/HDFS-13764
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: documentation
    Affects Versions: 2.7.3
            Reporter: Yuexin Zhang


We mentioned to use "-update" option to avoid checksum in the following doc:

[https://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#Copying_between_encrypted_and_unencrypted_locations]
{code:java}
// Copying between encrypted and unencrypted locations
By default, distcp compares checksums provided by the filesystem to verify that 
the data was successfully copied to the destination. When copying between an 
unencrypted and encrypted location, the filesystem checksums will not match 
since the underlying block data is different. In this case, specify the 
-skipcrccheck and -update distcp flags to avoid verifying checksums.
{code}
 

But actually, "-update" option is not necessary, only "-skipcrccheck" is needed.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to