Which file in Hadoop configuration specifies the number of replicas for each block in HDFS?

  • core-site.xml
  • hdfs-site.xml
  • mapred-site.xml
  • yarn-site.xml
The hdfs-site.xml file in Hadoop configuration specifies the number of replicas for each block in HDFS. This configuration is essential for ensuring fault tolerance and data reliability by controlling the replication factor of data blocks across the cluster.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *