I need to re-replicate blocks on my HDFS cluster in case of a datanode is failing. Actually, this appears to already happen after a period of maybe 10min. However, I want to decrease this time, but wondering how to do so.
I tried to set dfs.namenode.check.stale.datanode
but w/o any big success. So what is the configrations options or what are the options I have to adjust here to maybe decrease it to 1min?
The complete section out of hdfs-site.xml looks like this
<property>
<name>dfs.namenode.check.stale.datanode</name>
<value>true</value>
<description>Activate stale check</description>
</property>
<property>
<name>dfs.namenode.stale.datanode.interval</name>
<value>10</value>
<description>Timeout</description>
</property>