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.