hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3639) Exception when closing DFSClient while multiple files are open
Date Wed, 25 Jun 2008 12:39:45 GMT

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

Amar Kamat commented on HADOOP-3639:
------------------------------------

The exception is
{code}
Exception in thread "Thread-5" java.util.ConcurrentModificationException
        at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
        at java.util.TreeMap$KeyIterator.next(TreeMap.java:1152)
        at org.apache.hadoop.dfs.DFSClient.close(DFSClient.java:212)
        at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:228)
        at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:1379)
        at org.apache.hadoop.fs.FileSystem.closeAll(FileSystem.java:230)
        at org.apache.hadoop.fs.FileSystem$ClientFinalizer.run(FileSystem.java:215)
{code}

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


Mime
View raw message