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

Reply via email to