see this discussion http://search-hadoop.com/m/Hxigg2WeEQu/decommissioning+datanodes+&subj=decommissioning+datanodes
On Tue, Jun 12, 2012 at 8:42 PM, varun kumar <varun....@gmail.com> wrote: > Hi All, > > I want to remove nodes from my cluster *gracefully*. I added the > following lines to my hdfs-site.xml > > <property> > > <name>dfs.hosts.exclude</name> > <value>/opt/hadoop/conf/exclude</value> > </property> > > In exclude file i have mentioned the hostname of the datanode. > > Then I run 'hadoop dfsadmin -refreshNodes' > > On the web interface the node now appear in both the 'Live Node' and 'Dead > Node' (but there's nothing in the Decommissioning Node list). > > What am I missing during the decommission process? > > > -- > Regards, > Varun Kumar.P > > -- https://github.com/zinnia-phatak-dev/Nectar