You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Paul Yang (JIRA)" <ji...@apache.org> on 2010/08/25 02:33:19 UTC

[jira] Created: (MAPREDUCE-2029) DistributedRaidFileSystem not removed from cache on close()

DistributedRaidFileSystem not removed from cache on close()
-----------------------------------------------------------

                 Key: MAPREDUCE-2029
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2029
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: contrib/raid
    Affects Versions: 0.22.0
            Reporter: Paul Yang


When DistributedRaidFileSystem.close() is called, it does not remove itself from the FileSystem cache, but it does close the underlying filesystem, e.g. DFS.

Because the DRFS with the closed DFS is still in the cache, calling FileSystem.get() returns a stale DRFS that throws 'filesystem closed' exceptions.

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


[jira] Resolved: (MAPREDUCE-2029) DistributedRaidFileSystem not removed from cache on close()

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-2029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur resolved MAPREDUCE-2029.
-----------------------------------------

     Hadoop Flags: [Reviewed]
    Fix Version/s: 0.22.0
       Resolution: Fixed

I just committed this. Thanks Ram!

> DistributedRaidFileSystem not removed from cache on close()
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-2029
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2029
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/raid
>    Affects Versions: 0.22.0
>            Reporter: Paul Yang
>            Assignee: Ramkumar Vadali
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-2029.patch
>
>
> When DistributedRaidFileSystem.close() is called, it does not remove itself from the FileSystem cache, but it does close the underlying filesystem, e.g. DFS.
> Because the DRFS with the closed DFS is still in the cache, calling FileSystem.get() returns a stale DRFS that throws 'filesystem closed' exceptions.

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