Answer Posted / Rahulendra Singh
In Apache HDFS (Hadoop Distributed File System), Heartbeat is a mechanism used to monitor the health and availability of DataNodes (servers) in the cluster. Each DataNode sends a heartbeat message to the NameNode periodically, usually every 3 seconds by default. The NameNode uses these heartbeats to keep track of which blocks are stored on which DataNodes and to detect any failures or errors.nnIf a DataNode fails to send a heartbeat for more than three times the configured timeout period (default is 10 minutes), the NameNode marks it as dead and replicates any missing data from other DataNodes to ensure data integrity. This mechanism allows HDFS to be highly fault-tolerant and maintain data availability even in the event of node failures.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category