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

TestDirectoryScanner doesn't test parallel scans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0, 0.23.0
    • 0.23.1
    • datanode, test
    • None
    • 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

        1. hdfs-2596-1.patch
          0.8 kB
          Eli Collins

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: