[
https://issues.apache.org/jira/browse/HDFS-14101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720142#comment-16720142
]
Zsolt Venczel commented on HDFS-14101:
--------------------------------------
Thanks a lot [~mackrorysd] for the meaningful note and the commit!
We might want to increase the corruption length or not use random at all in
unit tests?
> 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
> Fix For: 3.3.0
>
> 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]