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