[
https://issues.apache.org/jira/browse/HDFS-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-6424:
----------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've committed this to trunk and branch-2. Thanks for the contribution,
[~mingma].
> blockReport doesn't need to invalidate blocks on SBN
> ----------------------------------------------------
>
> Key: HDFS-6424
> URL: https://issues.apache.org/jira/browse/HDFS-6424
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ming Ma
> Assignee: Ming Ma
> Fix For: 2.5.0
>
> Attachments: HDFS-6424-2.patch, HDFS-6424-3.patch, HDFS-6424.patch
>
>
> After the fix in https://issues.apache.org/jira/browse/HDFS-6178,
> blockManager no longer compute pending replication work on SBN. As part of
> that, it also stop removing items from invalidateBlocks.
> blocks can still be added to invalidateBlocks on SBN as part of blockReport.
> As a result, the PendingDeletionBlocks metrics will keep going up on SBN.
> To fix that, we don't need to add blocks to invalidateBlocks during
> blockReport for SBN.
--
This message was sent by Atlassian JIRA
(v6.2#6252)