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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/04/25 03:49:58 UTC

[jira] Updated: (HADOOP-2565) DFSPath cache of FileStatus can become stale

     [ https://issues.apache.org/jira/browse/HADOOP-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-2565:
-------------------------------------------

    Attachment: 2565_20080424.patch

2565_20080424.patch: remove DfsPath

> DFSPath cache of FileStatus can become stale
> --------------------------------------------
>
>                 Key: HADOOP-2565
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2565
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Doug Cutting
>         Attachments: 2565_20080424.patch
>
>
> Paths returned from DFS internally cache their FileStatus, so that getStatus(Path) does not require another RPC.  This cache is never refreshed and become stale, resulting in program error.
> This should not be fixed until FileSystem#listStatus() is removed by HADOOP-2563, and user code is thus no longer dependent on this cache for good performance.

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