[ 
https://issues.apache.org/jira/browse/HDFS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740672#action_12740672
 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-451:
---------------------------------------------

The failed tests, TestBlockReplacement and TestNameNodeMetrics, are not related 
to this.  This issue adds new fault inject tests but does not change existing 
codes except that the patch adds a few getter methods.

Unfortunately, Hudson fails on testPipelineFi12.
{noformat}
...
     [exec]     [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 
52.005 sec
     [exec]     [junit] 2009-08-07 02:27:44,904 ERROR hdfs.DFSClient 
(DFSClient.java:close(1084))
 - Exception closing file /testPipelineFi12/foo : java.io.IOException: Could 
not get block locations. Source file "/testPipelineFi12/foo" - Aborting...
     [exec]     [junit] java.io.IOException: Could not get block locations. 
Source file "/testPipelineFi12/foo" - Aborting...
     [exec]     [junit]         at 
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.processDatanodeError(DFSClient.java:2642)
     [exec]     [junit]         at 
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2366)
     [exec]     [junit] Test 
org.apache.hadoop.hdfs.server.datanode.TestFiDataTransferProtocol FAILED
     [exec] 
     [exec] checkfailure:
     [exec]     [touch] Creating 
/home/hudson/hudson-slave/workspace/Hdfs-Patch-vesta.apache.org/trunk/build-fi/test/testsfailed
{noformat}
Note that the fault inject tests do not show up in the [test result 
page|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-vesta.apache.org/47/testReport/]
 although they have been executed.

> Test DataTransferProtocol with fault injection
> ----------------------------------------------
>
>                 Key: HDFS-451
>                 URL: https://issues.apache.org/jira/browse/HDFS-451
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: h451_20090806.patch
>
>
> DataTransferProtocol is a complicated protocol.  It deserves to have some 
> fault injection tests.

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