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

ASF GitHub Bot commented on HDFS-17789:
---------------------------------------

github-actions[bot] closed pull request #7695: HDFS-17789. Add 
NormalUnderReplBlocksCount and BadlyDistributedBlocksCount to getStats() NN RPC
URL: https://github.com/apache/hadoop/pull/7695




> Add NormalLowRedundancyBlocksCount and BadlyDistributedBlocksCount to 
> getStats() NN RPC
> ---------------------------------------------------------------------------------------
>
>                 Key: HDFS-17789
>                 URL: https://issues.apache.org/jira/browse/HDFS-17789
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: namenode
>            Reporter: Aswin M Prabhu
>            Assignee: Aswin M Prabhu
>            Priority: Trivial
>              Labels: pull-request-available
>
> At LinkedIn, we use the stats from the getStats() NN RPC call to evaluate 
> safety checks that ensure that various maintenance ops are safe to run.
> Due to a migration we are undertaking, the badly distributed block count is 
> very high for the cluster undergoing migration. This is not a safety problem. 
> However, to distinguish it from the actual low redundancy block count, we 
> need both these values to be available from the getStats() RPC. The current 
> low redundancy blocks count value available is the 
> [sum|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/LowRedundancyBlocks.java#L138-L146]
>  of all the different types of low redundancy blocks, including normal low 
> redundancy blocks and badly distributed blocks.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to