Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3505

DirectoryScanner does not join all threads in shutdown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DirectoryScanner does not join all the threads it spawned during DirectoryScanner#shutdown.

      This can lead to rare failures in TestDirectoryScanner when some threads linger past their designated expiration date and cause interference between different test runs.

      The fix is to call ExecutorService#awaitTermination.

      1. HDFS-3505.001.patch
        1 kB
        Colin Patrick McCabe

        Activity

          People

          • Assignee:
            Colin Patrick McCabe
            Reporter:
            Colin Patrick McCabe
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development