What is the default replication factor in HDFS?

Default replication factor in HDFS is 3. It means there will be 3 copies of each data.

We can configure it with dfs.replication in hdfs-site.xml file.

We can even set it from command line in Hadoop fs command.

Leave a Reply

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