From b0560e0624756e2b3ce7b6bc741eee3c18d2a873 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 4 Jul 2017 14:02:14 +0900 Subject: [PATCH] HDFS-12079. Description of dfs.block.invalidate.limit is incorrect in hdfs-default.xml. Contributed by Weiwei Yang. --- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml index be345afdc04..96c04f0ba4e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml @@ -3375,7 +3375,10 @@ dfs.block.invalidate.limit 1000 - Limit on the list of invalidated block list kept by the Namenode. + The maximum number of invalidate blocks sent by namenode to a datanode + per heartbeat deletion command. This property works with + "dfs.namenode.invalidate.work.pct.per.iteration" to throttle block + deletions.