What happens if the block in HDFS is corrupted?



What happens if the block in HDFS is corrupted?..

Answer / Ashish Kumar Pankaj

If a block in HDFS is corrupted, the NameNode marks it as corrupt and doesn't allow data nodes to serve that block. DataNodes will periodically replicate the blocks to other DataNodes for redundancy, so if one block is lost or corrupted, another copy can be used to recover the data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache HDFS Hadoop Distributed File System Interview Questions

What is Fault Tolerance in HDFS?

1 Answers  


how does hdfs ensure data integrity of data blocks stored in hadoop hdfs?

1 Answers  


How to use hdfs put command for data transfer from flume to hdfs?

1 Answers  


List the various HDFS daemons in HDFS cluster?

1 Answers  


How to Delete directory and files recursively from HDFS?

1 Answers  


Data node block size in HDFS, why 64MB?

1 Answers  


What is the command for archiving a group of files in hdfs.

1 Answers  


Explain NameNode and DataNode in HDFS?

1 Answers  


How is indexing done in HDFS?

1 Answers  


What is hdfs block size?

1 Answers  


Mention what is the difference between hdfs and nas?

1 Answers  


Explain what is heartbeat in hdfs?

1 Answers  


Categories