Generally Datanode sends it heartbeat to namenode for every 3 seconds. If datanode stops sending its heartbeat to name node with in 3 seconds,Namenode thinks it is dead.
On Wed, Jul 2, 2014 at 5:03 PM, MrAsanjar . <afsan...@gmail.com> wrote: > If a datanode is shut-downed by calling "hadoop-daemons.sh stop datanode", > how would the namenode gets notified that a datanode is no longer active? > does datanode send a SHUTDOWN_MSG to the namenode? does namenode has to > wait for heartbeat timeout? > -- Regards, Varun Kumar.P