[
https://issues.apache.org/jira/browse/HDFS-8646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-8646:
------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
Thanks Colin, pushed to trunk and branch-2.
> Prune cached replicas from DatanodeDescriptor state on replica invalidation
> ---------------------------------------------------------------------------
>
> Key: HDFS-8646
> URL: https://issues.apache.org/jira/browse/HDFS-8646
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: caching
> Affects Versions: 2.3.0
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Fix For: 2.8.0
>
> Attachments: hdfs-8646.001.patch, hdfs-8646.002.patch
>
>
> Currently we remove blocks from the DD's CachedBlockLists on node failure and
> on cache report, but not on replica invalidation. This can lead to an invalid
> situation where we return a LocatedBlock with cached locations that are not
> backed by an on-disk replica.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)