[ 
https://issues.apache.org/jira/browse/HDFS-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eli Collins updated HDFS-3505:
------------------------------

          Resolution: Fixed
       Fix Version/s: 2.0.1-alpha
    Target Version/s:   (was: 2.0.0-alpha)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

Forgot to mention the existing tests should be sufficient. 

I've committed this to trunk and merged to branch-2. Thanks Colin.
                
> 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
>             Fix For: 2.0.1-alpha
>
>         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

        

Reply via email to