You can add the hostname/IP in exclude file and run this command hadoop dfsadmin -refreshNodes.
On Mon, Apr 14, 2014 at 11:34 AM, Stanley Shi <s...@gopivotal.com> wrote: > I believe there's some command to show list of datanodes from CLI, using > parsing HTML is not a good idea. HTML page is intended to be read by human. > I also don't know how to refresh node list; > > > > Regards, > *Stanley Shi,* > > > > On Sat, Apr 12, 2014 at 11:31 AM, Ashwin Shankar < > ashwinshanka...@gmail.com> wrote: > >> Hi, >> Hadoop-1's name node UI displays dead datanodes >> even if those instances are terminated and are not part of the cluster >> anymore. >> Is there a way to reset the dead datenode list without bouncing namenode ? >> >> This would help me in my script(which would run nightly) which parses the >> html page,terminates >> dead datanodes and resize the cluster. >> -- >> Thanks, >> Ashwin >> >> >> > -- --Regards Sandeep Nemuri