The version of hadoop is 0.20,while I try to decommission a datanode from
the cluster:
(1) Add the network addresses(IP adrress) of the nodes to be decommissioned
to the exclude file.
(2)Add property mapred.hosts.exclude to mapred-sites.xml and
dfs.hosts.exclude to dfs-sites.xml like follow:

   *<property>*
*     <name>mapred.hosts.exclude</name>*
*     <value>/data/stat/hadoop/conf/excludes</value>*
*     <final>true</final>*
*</property>*
*
*
(3)And then I run hadoop dfsadmin -refreshNodes, in report i
see:Decommission Status : Decommission in progress

*Name: 10.134.135.30:50010*
*Decommission Status : Decommission in progress*
*Configured Capacity: 1546959884288 (1.41 TB)*
*DFS Used: 2647441408 (2.47 GB)*
*Non DFS Used: 651818385408 (607.05 GB)*
*DFS Remaining: 892494057472(831.2 GB)*
*DFS Used%: 0.17%*
*DFS Remaining%: 57.69%*
*Last contact: Thu Sep 16 11:32:44 CST 2010*
*
*
but more than one hour has passed,the status of the decommissioning data
 node hasn't been changed to decommissioned,
anyone can tell me how to deal with this?
thanks.



Shuai Chen
Intelligent Transportation Information Systems Laboratory
Department of Electronic Engineering, Tsinghua University
Beijing 100084, P. R. China
Mobile:15210950974

Reply via email to