[ 
https://issues.apache.org/jira/browse/HDFS-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603669#comment-13603669
 ] 

Doug Cutting commented on HDFS-4605:
------------------------------------

The goal here is just to make checksums independent of the file's block size.  
They'd still be dependent on bytesPerChecksum, partial blocks, bitsPerChecksum, 
etc.  This change would permit efficient verification of copies that differ in 
blockSize but not these other aspects, a presumably common case.  That's a net 
improvement, no?
                
> Implement block-size independent file checksum
> ----------------------------------------------
>
>                 Key: HDFS-4605
>                 URL: https://issues.apache.org/jira/browse/HDFS-4605
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, hdfs-client
>    Affects Versions: 3.0.0
>            Reporter: Kihwal Lee
>
> The value of current getFileChecksum() is block-size dependent. Since 
> FileChecksum is mainly intended for comparing content of files, removing this 
> dependency will make FileCheckum in HDFS relevant in more use cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to