[
https://issues.apache.org/jira/browse/HDFS-17789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054714#comment-18054714
]
ASF GitHub Bot commented on HDFS-17789:
---------------------------------------
ctrezzo commented on PR #8190:
URL: https://github.com/apache/hadoop/pull/8190#issuecomment-3808182993
@aswinmprabhu can you address the failing check-style issues? Thank you!
> 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]