hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2596) TestDirectoryScanner doesn't test parallel scans
Date Mon, 28 Nov 2011 06:34:41 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eli Collins updated HDFS-2596:
------------------------------

    Attachment: hdfs-2596-1.patch

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

        

Mime
View raw message