You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by "MrAsanjar ." <af...@gmail.com> on 2014/07/04 18:06:24 UTC
heartbeat timeout doesn't work
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?
Re: heartbeat timeout doesn't work
Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
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?
>
Re: heartbeat timeout doesn't work
Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
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?
>
Re: heartbeat timeout doesn't work
Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
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?
>
Re: heartbeat timeout doesn't work
Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
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?
>