You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Mridul Muralidharan <mr...@yahoo-inc.com> on 2010/01/08 20:49:34 UTC

Adding new region servers without restart


Hi,
Suppose I want to add a new region server to my instance.  I imagine I 
need to add it to the list in the conf files for Hbase and Hadoop, and 
then stop/start the cluster.  Is there any way to add the server without 
stopping the system?

Thanks,
Mridul

Re: Adding new region servers without restart

Posted by Edward Capriolo <ed...@gmail.com>.
Mridul,

Something that is lost on many people. You do NOT need SSH keys are
the scripts start-all stop-all to start hadoop or hbase. That is only
one suggested way.

cd $hadoop_home
bin/hadoop-daemon.sh start namenode
bin/hadoop-daemon.sh start datanode
bin/hadoop-daemon.sh start jobtracker
bin/hadoop-daemon.sh start tasktracker

This should be more clear in the docs, one would think hadoop/hbase
works over ssh keys when infact the keys do nothing but start deamons
and the start_all scripts are just loop constructs.

On Fri, Jan 8, 2010 at 2:49 PM, Mridul Muralidharan
<mr...@yahoo-inc.com> wrote:
>
>
> Hi,
> Suppose I want to add a new region server to my instance.  I imagine I need
> to add it to the list in the conf files for Hbase and Hadoop, and then
> stop/start the cluster.  Is there any way to add the server without stopping
> the system?
>
> Thanks,
> Mridul
>

Re: Adding new region servers without restart

Posted by Ryan Rawson <ry...@gmail.com>.
Once you have the configuration and binaries on the new system just do:

Bin/hbase-daemon.sh start regionserver

Add the new host to the file so start-hbase.sh will
Know about it. No restart necessary

On Jan 8, 2010 11:50 AM, "Mridul Muralidharan" <mr...@yahoo-inc.com>
wrote:



Hi,
Suppose I want to add a new region server to my instance.  I imagine I need
to add it to the list in the conf files for Hbase and Hadoop, and then
stop/start the cluster.  Is there any way to add the server without stopping
the system?

Thanks,
Mridul

Re: Adding new region servers without restart

Posted by Jean-Daniel Cryans <jd...@apache.org>.
If HBase wasn't able to do that, we would have a major scalability problem :P

I agree tho that we should have a "Cluster Administration" page
somewhere in the documentation, along with recommended configurations
wrt cluster/data size. We've been talking a lot about writing it, but
no one took the time to do it... yet.

J-D

On Fri, Jan 8, 2010 at 12:46 PM, Mridul Muralidharan
<mr...@yahoo-inc.com> wrote:
>
> I was not sure if I bring up a entirely new region server (which did not
> exist earlier) if it can plug into the hbase deployment seemlessly - things
> like register with master, start hosting/serving regions, automatically
> without needing to modify master config, etc.
>
> Thanks all for clarifying !
>
> Regards,
> Mridul
>
> Jean-Daniel Cryans wrote:
>>
>> Use the commands described here:
>> http://wiki.apache.org/hadoop/Hbase/RollingRestart
>>
>> J-D
>>
>> On Fri, Jan 8, 2010 at 11:49 AM, Mridul Muralidharan
>> <mr...@yahoo-inc.com> wrote:
>>>
>>> Hi,
>>> Suppose I want to add a new region server to my instance.  I imagine I
>>> need
>>> to add it to the list in the conf files for Hbase and Hadoop, and then
>>> stop/start the cluster.  Is there any way to add the server without
>>> stopping
>>> the system?
>>>
>>> Thanks,
>>> Mridul
>>>
>
>

Re: Adding new region servers without restart

Posted by Mridul Muralidharan <mr...@yahoo-inc.com>.
I was not sure if I bring up a entirely new region server (which did not 
exist earlier) if it can plug into the hbase deployment seemlessly - 
things like register with master, start hosting/serving regions, 
automatically without needing to modify master config, etc.

Thanks all for clarifying !

Regards,
Mridul

Jean-Daniel Cryans wrote:
> Use the commands described here:
> http://wiki.apache.org/hadoop/Hbase/RollingRestart
> 
> J-D
> 
> On Fri, Jan 8, 2010 at 11:49 AM, Mridul Muralidharan
> <mr...@yahoo-inc.com> wrote:
>>
>> Hi,
>> Suppose I want to add a new region server to my instance.  I imagine I need
>> to add it to the list in the conf files for Hbase and Hadoop, and then
>> stop/start the cluster.  Is there any way to add the server without stopping
>> the system?
>>
>> Thanks,
>> Mridul
>>


Re: Adding new region servers without restart

Posted by Jean-Daniel Cryans <jd...@apache.org>.
Use the commands described here:
http://wiki.apache.org/hadoop/Hbase/RollingRestart

J-D

On Fri, Jan 8, 2010 at 11:49 AM, Mridul Muralidharan
<mr...@yahoo-inc.com> wrote:
>
>
> Hi,
> Suppose I want to add a new region server to my instance.  I imagine I need
> to add it to the list in the conf files for Hbase and Hadoop, and then
> stop/start the cluster.  Is there any way to add the server without stopping
> the system?
>
> Thanks,
> Mridul
>