How to remove Datanode from the recovery Hadoop cluster

Source: Internet
Author: User

Sometimes it may be necessary to remove Datanode from the Hadoop cluster because of a temporary adjustment, as follows:

First add the machine name of the node you want to delete in/etc/hadoop/conf/dfs.exclude

In the console page, you see a dead datanodes

To refresh node information using commands:

[HDFS@HMC ~]$ Hadoop dfsadmin-refreshnodes

To view HDFs usage reports: [HDFS@HMC ~]$ hadoop dfsadmin-report Red font status indicates node exit

name:192.168.100.210:50010

Decommission status:decommissioned

Configured capacity:0 (0 KB)

DFS used:0 (0 KB)

Non DFS used:0 (0 KB)

DFS remaining:0 (0 KB)

DFS used%: 100%

DFS remaining%: 0%

Last Contact:thu 07:00:00 CST 1970

Login http://192.168.100.200:50030/jobtracker.jsp View node or there are 11

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.