Re: Confusion between dfs.replication and dfs.namenode.replication.min options in hdfs-site.xml

2017-02-02 Thread Ravi Prakash
Hi Andrey! Your assumption is absolutely correct. dfs.namenode.replication.min is what you should set to 2 in your case. You should also look at dfs.client.block.write.replace-datanode-on-failure.policy, dfs.client.block.write.replace-datanode-on-failure.enable and

Confusion between dfs.replication and dfs.namenode.replication.min options in hdfs-site.xml

2017-02-01 Thread Andrey Elenskiy
Hello, I use hadoop 2.7.3 non-HA setup with hbase 1.2.3 on top of it. I'm trying to understand these options in hdfs-site.xml: dfs.replication 3 Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not