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

Andy Isaacson commented on HDFS-3859:
-------------------------------------

Please consider using SHA1 rather than MD5.  The performance should be 
comparable (SHA1 is about 2.5% faster in my quick test, but that's "equal" by 
any rational measure).  The hash is much less awfully broken.  And it's one 
fewer place where we'll need to continue supporting legacy insecure code in the 
future.
                
> QJM: implement md5sum verification
> ----------------------------------
>
>                 Key: HDFS-3859
>                 URL: https://issues.apache.org/jira/browse/HDFS-3859
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: QuorumJournalManager (HDFS-3077)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>
> When the QJM passes journal segments between nodes, it should use an md5sum 
> field to make sure the data doesn't get corrupted during transit. This also 
> serves as an extra safe-guard to make sure that the data is consistent across 
> all nodes when finalizing a segment.

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