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

tomscut edited comment on HDFS-16088 at 7/3/21, 2:19 AM:
---------------------------------------------------------

Hi [~hexiaoqiao], I added an unit test for this. Could you please take a look? 
Thanks a lot.

We forward this request to Standby and it worked fine.

!standyby-ipcserver.jpg|width=549,height=129!


was (Author: tomscut):
Hi [~hexiaoqiao], I added an unit test for this. Could you please take a look? 
Thanks a lot.

We forward this request to Standby and it worked fine.

[^standyby-ipcserver.log]

> 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
>         Attachments: standyby-ipcserver.jpg
>
>          Time Spent: 1h 20m
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to