You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/01/14 23:22:59 UTC

[jira] Commented: (HADOOP-2337) Trash never closes FileSystem

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

Konstantin Shvachko commented on HADOOP-2337:
---------------------------------------------

Only one unit test failure with this patch. TestMapReduceLocal fails as in HADOOP-4907.

> Trash never closes FileSystem
> -----------------------------
>
>                 Key: HADOOP-2337
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2337
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.0
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.21.0
>
>         Attachments: TrashClose.patch
>
>
> Trash opens FileSystem using Path.getFileSystem() but never closes it.
> This happens even if Trash is disabled (trash.interval == 0). 
> I think trash should not open file system if it is disabled.
> I also think that NameNode should not create a trash Thread when trash is disabled, see NameNode.init().

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