How NameNode tackle Datanode failures in Hadoop?



How NameNode tackle Datanode failures in Hadoop?..

Answer / Neeraj Rastogi

When a DataNode fails, the NameNode notices the absence of its heartbeats and marks the affected blocks as missing. The NameNode then schedules replication of these blocks to other available DataNodes. If necessary, the NameNode may also redirect client read and write requests to other DataNodes that have replicas of the desired data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hadoop General Interview Questions

Web-ui shows that half of the datanodes are in decommissioning mode. What does that mean? Is it safe to remove those nodes from the network?

1 Answers  


What are the four basic parameters of a mapper?

1 Answers  


Why would nosql be better than using a sql database? And how much better is it?

1 Answers  


Why does one remove or add nodes in a Hadoop cluster frequently?

1 Answers  


After the Map phase finishes, the Hadoop framework does 'Partitioning, Shuffle and sort'. Explain what happens in this phase?

1 Answers  


Does hadoop follows the unix pattern?

1 Answers  


Which object can be used to get the progress of a particular job

1 Answers  


How to add/delete a Node to the existing cluster?

1 Answers  


Who are ‘Data Scientists’?

1 Answers  


What is the difference between an inputsplit and a block?

1 Answers  


What is Mapper in Hadoop?

1 Answers  


When and how to create hadoop archive?

1 Answers  


Categories