HDFS-17228. Improve documentation related to BlockManager. (#6195). Contributed by JiangHua Zhu.

Reviewed-by: Inigo Goiri <inigoiri@apache.org>
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
jianghuazhu 2023-10-18 07:35:33 +08:00 committed by Ayush Saxena
parent fbd653be9b
commit 6e13e4addc
No known key found for this signature in database
GPG Key ID: D09AE71061AB564D

View File

@ -150,10 +150,10 @@
* redundancy.
*
* For regular replication, # of min live replicas for maintenance is determined
* by DFS_NAMENODE_MAINTENANCE_REPLICATION_MIN_KEY. This number has to &lt;=
* DFS_NAMENODE_REPLICATION_MIN_KEY.
* by {@link DFS_NAMENODE_MAINTENANCE_REPLICATION_MIN_KEY}. This number has to &lt;=
* {@link DFS_NAMENODE_REPLICATION_MIN_KEY}.
* For erasure encoding, # of min live replicas for maintenance is
* BlockInfoStriped#getRealDataBlockNum.
* {@link BlockInfoStriped#getRealDataBlockNum}.
*
* Another safety property is to satisfy the block placement policy. While the
* policy is configurable, the replicas the policy is applied to are the live