From 81ba2e8484c4315bb9a765374df4bb2a05bc0ebd Mon Sep 17 00:00:00 2001 From: jianghuazhu <740087514@qq.com> Date: Wed, 18 Oct 2023 07:35:33 +0800 Subject: [PATCH] HDFS-17228. Improve documentation related to BlockManager. (#6195). Contributed by JiangHua Zhu. Reviewed-by: Inigo Goiri Signed-off-by: Ayush Saxena --- .../hadoop/hdfs/server/blockmanagement/BlockManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java index 783000bbef2f8..848da7bd11542 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java @@ -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 <= - * DFS_NAMENODE_REPLICATION_MIN_KEY. + * by {@link DFS_NAMENODE_MAINTENANCE_REPLICATION_MIN_KEY}. This number has to <= + * {@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