hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2565) DFSPath cache of FileStatus can become stale
Date Thu, 05 Jun 2008 20:59:45 GMT

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

Hairong Kuang updated HADOOP-2565:
----------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Nicholas!

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


Mime
View raw message