[ https://issues.apache.org/jira/browse/HADOOP-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876138#action_12876138 ]
Ruyue Ma commented on HADOOP-6707: ---------------------------------- You have a sequencefile compressed with lzocodec. If you randomly sync(not seek) to a record block, the decompression will not work. I guess that MapFile maybe have the bug also. > BlockDecompressorStream.resetState() has a bug, which often causes the block > decompressing not to work. > ------------------------------------------------------------------------------------------------------- > > Key: HADOOP-6707 > URL: https://issues.apache.org/jira/browse/HADOOP-6707 > Project: Hadoop Common > Issue Type: Bug > Components: io > Reporter: Ruyue Ma > Assignee: Ruyue Ma > Fix For: 0.21.0 > > > BlockDecompressorStream.resetState() has a bug. > The method of resetState() doesn't reinit the two member variables(int > originalBlockSize; int noUncompressedBytes) of Class BlockDecompressorStream. > > This bug will cause the block decompressing not to work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.