[ 
https://issues.apache.org/jira/browse/HDFS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuexin Zhang updated HDFS-13764:
--------------------------------
    Attachment: HDFS-13764_DOC1.patch

> [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.0, 2.7.3
>            Reporter: Yuexin Zhang
>            Priority: Major
>         Attachments: HDFS-13764_DOC1.patch
>
>
> 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. Can we change it to:
>  
> {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 flags to avoid verifying checksums.
> {code}
>  



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

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

Reply via email to