A
heartbeat is a signal indicating that it is alive. A datanode sends heartbeat
to Namenode and task tracker will send its heart beat to job tracker. If the
Namenode or job tracker does not receive heart beat then they will decide that
there is some problem in datanode or task tracker is unable to perform the
assigned task.