Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: Removing Dead Nodes from Cluster


Copy link to this message
-
Re: Removing Dead Nodes from Cluster
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB