hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayush Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14101) Random failure of testListCorruptFilesCorruptedBlock
Date Tue, 27 Nov 2018 18:43:00 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message