You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2020/11/13 02:12:00 UTC

[jira] [Commented] (HDFS-15649) the standby namenode's ReplQueues need to keep pace with active namenode.

    [ https://issues.apache.org/jira/browse/HDFS-15649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231098#comment-17231098 ] 

JiangHua Zhu commented on HDFS-15649:
-------------------------------------

Can you share some more exception logs here?

> 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
>             Fix For: 3.3.1
>
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org