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

Todd Lipcon commented on HDFS-4421:
-----------------------------------

The block scanner thread sets this flag to true AFAIK. It could certainly be 
refactored to not do it this way.
                
> Remove verify checksum option from BlockSender
> ----------------------------------------------
>
>                 Key: HDFS-4421
>                 URL: https://issues.apache.org/jira/browse/HDFS-4421
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>
> When users read data from HDFS and require checksum verification, the 
> checksum is validated by DFSClient before sending data to the user 
> application.
> Currently BlockSender has the option (corruptChecksumOk/verifyChecksum) to 
> verify checksum. This option is not turned on anywhere in current code. 
> Validating checksum on the server(DataNode) side is redundant since DFSClient 
> still needs to do the same work again due to possible errors introduced by 
> the data transportation from the server to the client.  

--
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