hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4263) DFSInputStream.reportCheckSumFailure do not report all corrupted blocks
Date Tue, 04 Dec 2012 06:07:58 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Binglin Chang updated HDFS-4263:
--------------------------------

    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

SORRY, my mistake, corruptedBlockMap never contains more than one element. 
Though use a HashMap for single element is confusing, and every read() call create a new HashMap
may affect performance.

                
> DFSInputStream.reportCheckSumFailure do not report all corrupted blocks
> -----------------------------------------------------------------------
>
>                 Key: HDFS-4263
>                 URL: https://issues.apache.org/jira/browse/HDFS-4263
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>         Attachments: HDFS-4263.patch
>
>
> DFSInputStream.reportCheckSumFailure do not report all corrupted blocks, it seems the
code forgets to loop through the corruptedBlockMap.

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

Mime
View raw message