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 "Doug Cutting (JIRA)" <ji...@apache.org> on 2008/09/16 19:38:44 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 ]

Doug Cutting updated HADOOP-2565:
---------------------------------

    Fix Version/s: 0.18.0

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.18.0
>
>         Attachments: 2565_20080424.patch, 2565_20080604.patch, 2565_20080604b.patch, 2565_20080605.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.