hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8732) Erasure Coding: Fail to read a file with corrupted blocks
Date Wed, 08 Jul 2015 08:05:05 GMT

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

Yi Liu commented on HDFS-8732:
------------------------------

fixed in HDFS-8602?

> Erasure Coding: Fail to read a file with corrupted blocks
> ---------------------------------------------------------
>
>                 Key: HDFS-8732
>                 URL: https://issues.apache.org/jira/browse/HDFS-8732
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Xinwei Qin 
>
> In system test of reading EC file(HDFS-8259), the methods {{testReadCorruptedData*()}}
failed to read a EC file with corrupted blocks(overwrite some data to several blocks and this
will make client get a  checksum exception). 
> Exception logs:
> {code}
> java.lang.NullPointerException
> at org.apache.hadoop.hdfs.DFSStripedInputStream$StatefulStripeReader.readChunk(DFSStripedInputStream.java:771)
> at org.apache.hadoop.hdfs.DFSStripedInputStream$StripeReader.readStripe(DFSStripedInputStream.java:623)
> at org.apache.hadoop.hdfs.DFSStripedInputStream.readOneStripe(DFSStripedInputStream.java:335)
> at org.apache.hadoop.hdfs.DFSStripedInputStream.readWithStrategy(DFSStripedInputStream.java:465)
> at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:946)
> at java.io.DataInputStream.read(DataInputStream.java:149)
> at org.apache.hadoop.hdfs.StripedFileTestUtil.verifyStatefulRead(StripedFileTestUtil.java:98)
> at org.apache.hadoop.hdfs.TestReadStripedFileWithDecoding.verifyRead(TestReadStripedFileWithDecoding.java:196)
> at org.apache.hadoop.hdfs.TestReadStripedFileWithDecoding.testOneFileWithBlockCorrupted(TestReadStripedFileWithDecoding.java:246)
> at org.apache.hadoop.hdfs.TestReadStripedFileWithDecoding.testReadCorruptedData11(TestReadStripedFileWithDecoding.java:114)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message