Firstly, edit hdfs-site.xml;
hdfs-site.xml:
<property>
<name>dfs.hosts.exclude</name>
<value>/path/to/exclude_dn_list</value>
</property>
Then,
hdfs dfsadmin -refreshNodes
2013/8/19 Manickam P <[email protected]>
> Hello,
>
> I have a hadoop cluster setup with 1 master node and 6 data nodes. I have
> set the replication factor as 2 in hadoop. Currently due to some hardware
> issue i have lost 2 data nodes.
> If i remove the dead nodes from the cluster can i get all the data from
> rest of the nodes since i have the replication factor as 2 here?
>
> Please tell me the steps to remove the dead nodes from the cluster.
>
>
> Thanks,
> Manickam P
>
--
Bing Jiang
Tel:(86)134-2619-1361
weibo: http://weibo.com/jiangbinglover
BLOG: www.binospace.com
BLOG: http://blog.sina.com.cn/jiangbinglover
Focus on distributed computing, HDFS/HBase