Two ways: 1. To close all DNs, use hadoop-daemons.sh (notice the plural). Doing hadoop-daemons.sh stop datanode will stop all datanodes listed in slaves file. 2. To close an individual DN, ssh the command on the specific box. {{ssh dnbox01 hadoop-daemon.sh stop datanode}}.
On Thu, May 17, 2012 at 4:25 AM, waled tayiib <waledta...@yahoo.com> wrote: > > > Hi, > > I was wandering if anyone could explain to me if its possible and how I can > stop a data node > from the namenode computer. I have been trying to do it with > hadoop-daemon.sh but it only lets me > stop the datanode on that machine. > I need to stop the datanodes on the other machines. > Any help is greatly appreciated! > > Thanks, > Waled -- Harsh J