hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails
Date Wed, 23 Dec 2009 21:08:29 GMT

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


Mime
View raw message