[ https://issues.apache.org/jira/browse/HDFS-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HDFS-3505: --------------------------------------- Attachment: HDFS-3505.001.patch remember to call ExecutorService#awaitTermination (otherwise, the worker threads are told to stop, but not joined.) > 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 > Affects Versions: 2.0.0-alpha > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Priority: Minor > Attachments: HDFS-3505.001.patch > > > 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