You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2009/12/23 02:19:30 UTC

[jira] Created: (HDFS-849) .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

.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


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


[jira] Updated: (HDFS-849) .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-849:
----------------------------------------

    Hadoop Flags: [Reviewed]

+1 patch looks good.

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


[jira] Commented: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794235#action_12794235 ] 

Hudson commented on HDFS-849:
-----------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #156 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/156/])
    . TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails. Contributed by Hairong Kuang.


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


[jira] Updated: (HDFS-849) .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-849:
-------------------------------

    Attachment: countDown.patch

This patch fix the problem by making sure that countdownConstrain with a parameter of N means that isSatisfied returns true when it is called the Nth time.

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


[jira] Commented: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794613#action_12794613 ] 

Hudson commented on HDFS-849:
-----------------------------

Integrated in Hadoop-Hdfs-trunk #182 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/182/])
    

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


[jira] Resolved: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HDFS-849) .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-849:
-------------------------------

    Status: Open  (was: Patch Available)

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


[jira] Commented: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799012#action_12799012 ] 

Hudson commented on HDFS-849:
-----------------------------

Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #94 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/94/])
    

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


[jira] Updated: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-849:
-------------------------------

    Summary: TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails  (was: .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails)

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


[jira] Commented: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794178#action_12794178 ] 

Hairong Kuang commented on HDFS-849:
------------------------------------

Hudson seemed to have some problem testing this patch so canceling it. This patch effects only fault injection tests. I have ran fault tests multiple times and all passed.

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


[jira] Commented: (HDFS-849) .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793920#action_12793920 ] 

Hadoop QA commented on HDFS-849:
--------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12428786/countDown.patch
  against trunk revision 893066.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/158/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/158/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/158/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/158/console

This message is automatically generated.

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


[jira] Commented: (HDFS-849) TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794350#action_12794350 ] 

Hudson commented on HDFS-849:
-----------------------------

Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #159 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/159/])
    . TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails. Contributed by Hairong Kuang.


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


[jira] Updated: (HDFS-849) .TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-849:
-------------------------------

    Status: Patch Available  (was: Open)

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