You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Manickam P <ma...@outlook.com> on 2013/08/19 11:29:27 UTC
Removing Dead Nodes from Cluster
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
Re: Removing Dead Nodes from Cluster
Posted by Bing Jiang <ji...@gmail.com>.
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 <ma...@outlook.com>
> 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
Re: Removing Dead Nodes from Cluster
Posted by Bing Jiang <ji...@gmail.com>.
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 <ma...@outlook.com>
> 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
Re: Removing Dead Nodes from Cluster
Posted by Bing Jiang <ji...@gmail.com>.
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 <ma...@outlook.com>
> 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
Re: Removing Dead Nodes from Cluster
Posted by Ravi Mutyala <ra...@hortonworks.com>.
Check on name node ui for missing blocks. You will lose all the blocks that
have replicas only on the lost data nodes.
On Aug 19, 2013 4:30 AM, "Manickam P" <ma...@outlook.com> wrote:
> 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
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Removing Dead Nodes from Cluster
Posted by Ravi Mutyala <ra...@hortonworks.com>.
Check on name node ui for missing blocks. You will lose all the blocks that
have replicas only on the lost data nodes.
On Aug 19, 2013 4:30 AM, "Manickam P" <ma...@outlook.com> wrote:
> 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
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Removing Dead Nodes from Cluster
Posted by Bing Jiang <ji...@gmail.com>.
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 <ma...@outlook.com>
> 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
Re: Removing Dead Nodes from Cluster
Posted by Ravi Mutyala <ra...@hortonworks.com>.
Check on name node ui for missing blocks. You will lose all the blocks that
have replicas only on the lost data nodes.
On Aug 19, 2013 4:30 AM, "Manickam P" <ma...@outlook.com> wrote:
> 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
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Removing Dead Nodes from Cluster
Posted by Ravi Mutyala <ra...@hortonworks.com>.
Check on name node ui for missing blocks. You will lose all the blocks that
have replicas only on the lost data nodes.
On Aug 19, 2013 4:30 AM, "Manickam P" <ma...@outlook.com> wrote:
> 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
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.