caozhiqiang created HDFS-16626:
----------------------------------
Summary: Under replicated blocks in dfsadmin report should contain
pendingReconstruction‘s blocks
Key: HDFS-16626
URL: https://issues.apache.org/jira/browse/HDFS-16626
Project: Hadoop HDFS
Issue Type: Improvement
Components: ec, namanode
Affects Versions: 3.4.0
Reporter: caozhiqiang
Assignee: caozhiqiang
In the output of command 'hdfs dfsadmin -report', the value of Under replicated
blocks and ec Low redundancy block groups only contains the block number in
BlockManager::neededReconstruction. It should also contain the block number in
BlockManager::pendingReconstruction, include the timeout items. Specially, in
some scenario, for example, decommission a dn with a lot of ec blocks, there
would be a lot blocks in pendingReconstruction at a long time but
neededReconstruction's size may be 0. That will confuse user and they can't
access the real decommissioning progress.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]