Sandeep Dhawan wrote:
Hi,

I have a setup of 2-node Hadoop cluster running on Windows using cygwin. When I open up the web gui to view the number of Live Nodes, it shows 2. But when I kill the slave node and refreshes the gui, it still shows the
number of Live Nodes as 2.

Its only after some 20-30 mins,

It should be 10 minutes by default.

that the master node is able to detect the
failure which is then reflected in the gui. It then shows up :

Live Node : 1
Dead Node : 1

Also, after killing the slave datanode if I try to copy a file from the
local file system, it fails.
1. Is there a way by which we can configure the time interval after which
master node can declare a datanode as dead.

You can modify "heartbeat.recheck.interval" which by default is set to 5 min.
The expiration time is twice this, that is 10 min.
So you set heartbeat.recheck.interval = 1 min, then your nodes will be
expiring in 2 minutes.

2. Why does the file transfer fail when one of the slave node is dead and
masternode is alive.

There could be different reasons, you need to read the message returned.

Thanks,
--Konstantin

Reply via email to