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 |
What is Fault Tolerance in HDFS?
how does hdfs ensure data integrity of data blocks stored in hadoop hdfs?
How to use hdfs put command for data transfer from flume to hdfs?
List the various HDFS daemons in HDFS cluster?
How to Delete directory and files recursively from HDFS?
Data node block size in HDFS, why 64MB?
What is the command for archiving a group of files in hdfs.
Explain NameNode and DataNode in HDFS?
How is indexing done in HDFS?
What is hdfs block size?
Mention what is the difference between hdfs and nas?
Explain what is heartbeat in hdfs?
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)