hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-804) New unit tests for concurrent lease recovery
Date Mon, 07 Dec 2009 17:17:18 GMT

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

Konstantin Boudnik commented on HDFS-804:
-----------------------------------------

Thanks for the review, Hairong. It shouldn't be difficult to add two more test cases. However,
I'd expect that in case of 0 blocks {{FSNamesystem}} will crap out in the line 1934
{noformat}
      curBlock = blocks[nrCompleteBlocks];
{noformat}
with {{ArrayIndexOutOfBoundException}}. Do you think we need this test until the code is fixed?

> New unit tests for concurrent lease recovery
> --------------------------------------------
>
>                 Key: HDFS-804
>                 URL: https://issues.apache.org/jira/browse/HDFS-804
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HDFS-804.patch, HDFS-804.patch
>
>
> {{FSNamesystem}} code which process concurrent lease recovery isn't tested. We need new
test cases to cover these spots.

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