Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2596

TestDirectoryScanner doesn't test parallel scans

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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);
      +    }
      +  }
      
      1. hdfs-2596-1.patch
        0.8 kB
        Eli Collins

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development