Explain what is heartbeat in hdfs?
Answer / 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 |
Tell me two most commonly used commands in HDFS?
How will you perform the inter cluster data copying work in hdfs?
Define data integrity?
Explain how indexing in hdfs is done?
How to create directory in HDFS?
What is HDFS?
What does hdfs mean?
Can you modify the file present in hdfs?
What is the procedure to create users in HDFS and how to allocate Quota to them?
Why rack awareness algorithm is used in hadoop?
Why HDFS?
What do you mean by metadata in HDFS? Where is it stored in Hadoop?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)