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

Ayush Saxena commented on HDFS-14101:
-------------------------------------

Thanks [~kihwal] and [~zvenczel] for the analysis.

I too think that is only the case causing it a failure.The probability of 
selecting 1 from total 512 values is quite less.I guess that is why we didn't 
see it quite frequently.

Would you mind adding even a small comment there too so as to mention the 
reason for choosing two not one.Might be little helpful for some one going 
through it in the future. :) 

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