hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2565) DFSPath cache of FileStatus can become stale
Date Wed, 04 Jun 2008 21:43:45 GMT

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

Doug Cutting commented on HADOOP-2565:
--------------------------------------

This looks good.

Can you please rename 'makeQualifiedPath4FileStatus' to just be 'makeQualified' or perhaps
'qualifyPath'?


> 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, 2565_20080604.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