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 "Todd Lipcon (Commented) (JIRA)" <ji...@apache.org> on 2011/11/28 16:21:41 UTC

[jira] [Commented] (HDFS-2596) TestDirectoryScanner doesn't test parallel scans

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

Todd Lipcon commented on HDFS-2596:
-----------------------------------

+1 assuming test still passes with that fix.
                
> TestDirectoryScanner doesn't test parallel scans
> ------------------------------------------------
>
>                 Key: HDFS-2596
>                 URL: https://issues.apache.org/jira/browse/HDFS-2596
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, test
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         Attachments: hdfs-2596-1.patch
>
>
> The code from HDFS-854 below doesn't run the test with parallel scanning. They probably intended "parallelism < 3".
> {code}
> +  public void testDirectoryScanner() throws Exception {
> +    // Run the test with and without parallel scanning
> +    for (int parallelism = 1; parallelism < 2; parallelism++) {
> +      runTest(parallelism);
> +    }
> +  }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira