You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2009/12/23 22:08:29 UTC
[jira] Resolved: (HDFS-849)
TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails
[ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang resolved HDFS-849.
--------------------------------
Resolution: Fixed
I've committed this!
> TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails
> ----------------------------------------------------------
>
> Key: HDFS-849
> URL: https://issues.apache.org/jira/browse/HDFS-849
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.20.1
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.21.0, 0.22.0
>
> Attachments: countDown.patch
>
>
> .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails with the following error:
> junit.framework.AssertionFailedError:
> at org.apache.hadoop.hdfs.server.datanode.TestFiDataTransferProtocol2.runTest17_19(TestFiDataTransferProtocol2.java:139)
> at org.apache.hadoop.hdfs.server.datanode.TestFiDataTransferProtocol2.pipeline_Fi_18(TestFiDataTransferProtocol2.java:186)
> Which means that the test did not trigger pipeline recovery. The test log shows that there is no fault injected to the pipeline. It turns out there is a bug in the test code. Counting down 3 means inject a fault when receiving the fourth packet. But the code allows the file to have only 3 packets.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.