Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2596

TestDirectoryScanner doesn't test parallel scans

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 0.23.0
    • Fix Version/s: 0.23.1
    • Component/s: datanode, test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The code from HDFS-854 below doesn't run the test with parallel scanning. They probably intended "parallelism < 3".

      +  public void testDirectoryScanner() throws Exception {
      +    // Run the test with and without parallel scanning
      +    for (int parallelism = 1; parallelism < 2; parallelism++) {
      +      runTest(parallelism);
      +    }
      +  }
      

        Attachments

          Activity

            People

            • Assignee:
              eli Eli Collins
              Reporter:
              eli Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: