Thanks, Ted. Just check the scripts. Start-balancer.sh calls hadoop-daemon.sh to start balancer, which ofcoz actually calls hadoop to do its job.
Thanks, Michael --- On Tue, 8/24/10, Ted Yu <[email protected]> wrote: From: Ted Yu <[email protected]> Subject: Re: command to start and stop balancer? To: [email protected] Date: Tuesday, August 24, 2010, 2:20 PM start-balancer.sh calls 'start balancer' They have same effect. On Tue, Aug 24, 2010 at 12:13 PM, jiang licht <[email protected]> wrote: > In current hadoop documentation, it is "hadoop balancer [-threshold > <threshold>]" to start a balancer and to stop the balancer press ctrl-c. > > But in some other places (YDN and older hadoop version documentation), call > "start-balancer.sh" to start it and call "stop-balancer.sh" to stop it. And > I guess start-balancer.sh can also take an optional argument "[-threshold > <threshold>]", right? > > Which one is recommended for hadoop 0.20 (I am using CDH3 > hadoop-0.20.2+228)? > > Thanks, > > Michael > > >
