[ 
https://issues.apache.org/jira/browse/HADOOP-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608153#action_12608153
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3639:
------------------------------------------------

Hi Benjamin, the file patch-dfs-close-v2 has some repeated codes and so it 
cannot be compiled.  Since the test is simple, could you move it to 
TestDistributedFileSystem?  Also, you need to shutdown the MiniDFSCluster 
object.  See TestDistributedFileSystem.testFileSystemCloseAll() as an example.


> Exception when closing DFSClient while multiple files are open
> --------------------------------------------------------------
>
>                 Key: HADOOP-3639
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3639
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.0, 0.18.0
>            Reporter: Benjamin Gufler
>         Attachments: patch-dfs-close, patch-dfs-close-v2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> DFSClient.close uses an iterator for closing files which are still open. 
> Closing a file removes that file from the list of open files, which in turn 
> breaks the iterator.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to