|
|
-
command to start and stop balancer?
jiang licht 2010-08-24, 19:13
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
-
Re: command to start and stop balancer?
Ted Yu 2010-08-24, 19:20
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 > > >
-
Re: command to start and stop balancer?
jiang licht 2010-08-24, 19:37
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 > > >
-
Re: command to start and stop balancer?
jiang licht 2010-08-24, 21:22
Just run the balancer and know that it logs progress in its own log file.
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 > > >
|
|