What is default replication factor in Hadoop?

Free Online Certification Courses – Learn Today. Lead Tomorrow. Forums Apache Hadoop What is default replication factor in Hadoop?

Viewing 1 reply thread
  • Author
    Posts
    • #4631
      DataFlair TeamDataFlair Team
      Spectator

      What is default replication factor in Hadoop HDFS?
      What is the minimum replication factor and what is maximum replication factor?

    • #4632
      DataFlair TeamDataFlair Team
      Spectator

      Replication factor means how many copies of hdfs block should be copied (replicated) in Hadoop cluster.

      Default replication factor is = 3
      Minimum replication factor that can be set = 1
      Maximum replication factor that can be set = 512

      One can set the replication factor in hdfs-site xml file as follows:

      <property>
      <name>dfs.replication</name>
      <value>512</value>
      </property>

Viewing 1 reply thread
  • You must be logged in to reply to this topic.