[
https://issues.apache.org/jira/browse/HADOOP-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511539
]
Raghu Angadi commented on HADOOP-1564:
--------------------------------------
One more change in DFSTestUtil.java: read() used to try to read as much of data
as possible. Now FSInputChecker reads at most bytesPerChecksum in each read. It
also provides readFully() which reads requested number of bytes in a loop.
DFSTestUtil should replace read() with readFully.
With the above two changes, these tests are passing.
> Write unit tests to detect CRC corruption
> -----------------------------------------
>
> Key: HADOOP-1564
> URL: https://issues.apache.org/jira/browse/HADOOP-1564
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: crctest.4
>
>
> The unit tests should have some way to test the case when CRC files are
> corrupted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.