[
https://issues.apache.org/jira/browse/HDFS-15649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated HDFS-15649:
-----------------------------------
Fix Version/s: (was: 3.3.1)
> the standby namenode's ReplQueues need to keep pace with active namenode.
> -------------------------------------------------------------------------
>
> Key: HDFS-15649
> URL: https://issues.apache.org/jira/browse/HDFS-15649
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.7.3, 3.2.1
> Reporter: zhengchenyu
> Priority: Major
>
> I think the standby namenode's ReplQueues need to keep pace with active
> namenode. You will code in fuction addStoredBlock like below:
> {code}
> // do not try to handle extra/low redundancy blocks during first safe mode
> if (!isPopulatingReplQueues()) {
> return storedBlock;
> }
> {code}
> Here, for standby namenode, through I think there are no need to tell standby
> to replicate blocks, but need to update neededReconstruction. Because some
> metrics need it. For example, missing blocks.
> Why I advise this? In our internal version, some bug trigger huge missing
> block number. In fact, these blocks are not missing, but addStoredBlock
> doesn't update blocks, so keep huge missing block number.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]