[ 
https://issues.apache.org/jira/browse/HDFS-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510657#comment-13510657
 ] 

Chris Nauroth commented on HDFS-4274:
-------------------------------------

This is particularly problematic for tests on Windows.  The tests stop and 
start {{MiniDFSCluster}} many times within the same process.  Windows holds a 
lock on the unclosed verification log, preventing {{MiniDFSCluster}} from fully 
deleting the testing data directory.  This problem currently causes 152 test 
suites to fail early during initialization on Windows.

I have a patch in progress for {{DataBlockScanner}} to call a shutdown method 
on {{BlockPoolSliceScanner}} so that it can close the verification log.
                
> BlockPoolSliceScanner does not close verification log during shutdown
> ---------------------------------------------------------------------
>
>                 Key: HDFS-4274
>                 URL: https://issues.apache.org/jira/browse/HDFS-4274
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>
> {{BlockPoolSliceScanner}} holds open a handle to a verification log.  This 
> file is not getting closed during process shutdown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to