hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanping Wang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1310) TestFileConcurrentReader fails
Date Tue, 31 Aug 2010 01:25:54 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904483#action_12904483

Tanping Wang commented on HDFS-1310:

Hi, Sam, sorry about the confusion.  In my last comment, I mentioned that I ran each one test
case( out of the total seven tests in TestFileConcurrentReader), one by one, *individually*.
 .i.e. commenting other six tests out, but only leaving one test running each time.  Each
single one test got passed.  However, if I run seven tests  from TestFileConcurrentReader
together, the last three ( sometimes, two) tests fail.  
The last three tests are testUnfinishedBlockCRCErrorTransferToVerySmallWrite, testUnfinishedBlockCRCErrorNormalTransfer
and testUnfinishedBlockCRCErrorNormalTransferVerySmallWrite.

Please look at the Hudson result for reference,


The first test case failed because of "java.io.IOException: Too many open files."
The next two ( sometimes one ) tests fail due to "Cannot lock storage ... The directory is
already locked. "
It seems to me that the test runs into race condition and does not release resources properly.

> TestFileConcurrentReader fails
> ------------------------------
>                 Key: HDFS-1310
>                 URL: https://issues.apache.org/jira/browse/HDFS-1310
>             Project: Hadoop HDFS
>          Issue Type: Test
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: sam rash
> For details of test failure see http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/218/testReport/

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message