You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/06/05 02:19:23 UTC

[jira] [Created] (HDFS-3505) DirectoryScanner does not join all threads in shutdown

Colin Patrick McCabe created HDFS-3505:
------------------------------------------

             Summary: DirectoryScanner does not join all threads in shutdown
                 Key: HDFS-3505
                 URL: https://issues.apache.org/jira/browse/HDFS-3505
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe
            Priority: Minor


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.

--
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