The timeout value is set by the following formula: heartbeatExpireInterval = 2 * (heartbeatRecheckInterval) + 10 * 1000 * (heartbeatIntervalSeconds);
Note that heartbeatRecheckInterval is set by "dfs.namenode.heartbeat.recheck-interval" property (5*60*1000 [msec] by default), and heartbeatIntervalSeconds is set by "dfs.heartbeat.interval" property (3 by default). In this way, the timeout value is default to 10 minutes and 30 seconds. Thanks, Akira (2014/07/05 1:06), MrAsanjar . wrote:
In my namenode's hdfs-site.xml file, I set the following values to reduce datanodes heartbeat timeout value to less then a minute. dfs.heartbeat.interval = 3 dfs.namenode.stale.datanode.interval = 15 However it is still takes 10 to 15 minutes before it timesout.. What am I doing wrong here?