[
https://issues.apache.org/jira/browse/HADOOP-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494787
]
Raghu Angadi commented on HADOOP-1345:
--------------------------------------
+1. Looks good.
> Checksum object does not get restored to the old state in retries when handle
> ChecksumException
> -----------------------------------------------------------------------------------------------
>
> Key: HADOOP-1345
> URL: https://issues.apache.org/jira/browse/HADOOP-1345
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: checksum.patch, checksum.patch
>
>
> In ChecksumFile.FSInputChecker, when a ChecksumException occurs, it tries to
> recover from the error by reading a different replica. However, the current
> code does not restore the Checksum object's old state. This causes a read not
> able to recover from ChecksumException although there are non-corrupted
> replicas available if the read follows a seek to a position which is not at
> the checksum chunk boundary .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.