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

Kihwal Lee commented on HADOOP-8239:
------------------------------------

bq. MD5MD5CRC32GzipFileChecksum and MD5MD5CRC32CastagnoliFileChecksum should 
not have the following fields. 
The last patch is supposed to fix this, but the files were not added. Sorry 
about that.

bq. DataChecksum.MIXED is not used. What do we need it? Could we add it later?
Any file system implementation that's using MD5MD5CRC32FileChecksum will need 
it, a file can contain blocks with different checksum types. This is not 
desired, but at least we should be able to detect it. So I think it belongs 
here and will be used by HDFS-3177.

I will post the corrected patch.
                
> Extend MD5MD5CRC32FileChecksum to show the actual checksum type being used
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-8239
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8239
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>             Fix For: 2.1.0-alpha
>
>         Attachments: hadoop-8239-after-hadoop-8240.patch.txt, 
> hadoop-8239-after-hadoop-8240.patch.txt, 
> hadoop-8239-before-hadoop-8240.patch.txt, 
> hadoop-8239-before-hadoop-8240.patch.txt, 
> hadoop-8239-trunk-branch2.patch.txt, hadoop-8239-trunk-branch2.patch.txt
>
>
> In order to support HADOOP-8060, MD5MD5CRC32FileChecksum needs to be extended 
> to carry the information on the actual checksum type being used. The 
> interoperability between the extended version and branch-1 should be 
> guaranteed when Filesystem.getFileChecksum() is called over hftp, webhdfs or 
> httpfs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to