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

Zsolt Venczel commented on HDFS-14101:
--------------------------------------

Thanks for the review [~ayushtkn] and for the valuable comment.

In the latest patch I was trying to make the relation between the minimum file 
size and the size of the data meant to corrupt the block more clear by shared 
constants.

I hope this way it's more meaningful than a comment.

> Random failure of testListCorruptFilesCorruptedBlock
> ----------------------------------------------------
>
>                 Key: HDFS-14101
>                 URL: https://issues.apache.org/jira/browse/HDFS-14101
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.2.0, 3.0.3, 2.8.5
>            Reporter: Kihwal Lee
>            Assignee: Zsolt Venczel
>            Priority: Major
>              Labels: newbie
>         Attachments: HDFS-14101.01.patch, HDFS-14101.02.patch
>
>
> We've seen this occasionally.
> {noformat}
> java.lang.IllegalArgumentException: Negative position
>       at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:755)
>       at org.apache.hadoop.hdfs.server.namenode.
>  
> TestListCorruptFileBlocks.testListCorruptFilesCorruptedBlock(TestListCorruptFileBlocks.java:105)
> {noformat}
> The test has a flaw.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to