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 "tomscut (Jira)" <ji...@apache.org> on 2021/07/01 01:42:00 UTC

[jira] [Commented] (HDFS-16088) Standby NameNode process getLiveDatanodeStorageReport request to reduce Active load

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

tomscut commented on HDFS-16088:
--------------------------------

Thanks [~hexiaoqiao] for your comment and thoughtful consideration. IMO FSNamesystem#getDatanodeStorageReport is OperationCategory.UNCHECKED ([HDFS-6739|https://issues.apache.org/jira/browse/HDFS-6739]), so we can request redirect to Standby on HA mode. I will add an unit test for this ASAP.

> Standby NameNode process getLiveDatanodeStorageReport request to reduce Active load
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-16088
>                 URL: https://issues.apache.org/jira/browse/HDFS-16088
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: tomscut
>            Assignee: tomscut
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As with HDFS-13183, NameNodeConnector#getLiveDatanodeStorageReport() can also request to SNN to reduce the ANN load.
> There are two points that need to be mentioned:
>  1. FSNamesystem#getLiveDatanodeStorageReport() is OperationCategory.UNCHECKED, so we can access SNN directly.
>  2. We can share the same UT(testBalancerRequestSBNWithHA) with NameNodeConnector#getBlocks().



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