From 186650d21d482e2f3bc4523ae989ebe76081b0e3 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 4 Jul 2017 14:51:52 +0900 Subject: [PATCH] HDFS-12078. Add time unit to the description of property dfs.namenode.stale.datanode.interval in hdfs-default.xml. Contributed by Weiwei Yang. --- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 96c04f0ba4e..4caee9e76f8 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 @@ -1811,8 +1811,8 @@ dfs.namenode.stale.datanode.interval 30000 - Default time interval for marking a datanode as "stale", i.e., if - the namenode has not received heartbeat msg from a datanode for + Default time interval in milliseconds for marking a datanode as "stale", + i.e., if the namenode has not received heartbeat msg from a datanode for more than this time interval, the datanode will be marked and treated as "stale" by default. The stale interval cannot be too small since otherwise this may cause too frequent change of stale states.