HDFS-12078. Add time unit to the description of property dfs.namenode.stale.datanode.interval in hdfs-default.xml. Contributed by Weiwei Yang.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/186650d2 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/186650d2 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/186650d2 Branch: refs/heads/YARN-5734 Commit: 186650d21d482e2f3bc4523ae989ebe76081b0e3 Parents: b0560e0 Author: Akira Ajisaka <aajis...@apache.org> Authored: Tue Jul 4 14:51:52 2017 +0900 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Tue Jul 4 14:51:52 2017 +0900 ---------------------------------------------------------------------- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/186650d2/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml ---------------------------------------------------------------------- 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 96c04f0..4caee9e 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 @@ <name>dfs.namenode.stale.datanode.interval</name> <value>30000</value> <description> - 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. --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org