[
https://issues.apache.org/jira/browse/HDFS-8430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073354#comment-15073354
]
Kai Zheng commented on HDFS-8430:
---------------------------------
Thanks for the discussion! I thought initially it would be good to keep this
simple and get it work for the normal case that no data block is missed. And in
such case, as [~szetszwo] said, we'd better compute the same checksum result as
replication does. When some data blocks are missed in a block group, for now it
may throw exception or just compute the partly checksum result to indicate the
bad case? And then later, in background, off-line recovery will be scheduled
immediately or involved and eventually we can still compute the same result.
> Erasure coding: update DFSClient.getFileChecksum() logic for stripe files
> -------------------------------------------------------------------------
>
> Key: HDFS-8430
> URL: https://issues.apache.org/jira/browse/HDFS-8430
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: HDFS-7285
> Reporter: Walter Su
> Assignee: Walter Su
>
> HADOOP-3981 introduces a distributed file checksum algorithm. It's designed
> for replicated block.
> {{DFSClient.getFileChecksum()}} need some updates, so it can work for striped
> block group.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)