HDFS-12078. Add time unit to the description of property dfs.namenode.stale.datanode.interval in hdfs-default.xml. Contributed by Weiwei Yang.

This commit is contained in:
Akira Ajisaka 2017-07-04 14:51:52 +09:00
parent b0560e0624
commit 186650d21d
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -1811,8 +1811,8 @@
<name>dfs.namenode.stale.datanode.interval</name> <name>dfs.namenode.stale.datanode.interval</name>
<value>30000</value> <value>30000</value>
<description> <description>
Default time interval for marking a datanode as "stale", i.e., if Default time interval in milliseconds for marking a datanode as "stale",
the namenode has not received heartbeat msg from a datanode for 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 more than this time interval, the datanode will be marked and treated
as "stale" by default. The stale interval cannot be too small since as "stale" by default. The stale interval cannot be too small since
otherwise this may cause too frequent change of stale states. otherwise this may cause too frequent change of stale states.