You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Sznajder ForMailingList <bs...@gmail.com> on 2013/09/11 16:03:30 UTC
Two simple questions about distributed mode
Hi
Here are two simple questions:
Let's suppose I have three servers in my cluster serv1, serv2, and serv3.
Question 1 : Must I add the <b>three</b> servers in the conf/regionservers
file?
Question 2 : Must I launch bin/start-hbase.sh file on each one of the
servers or is it sufficient to launch it on one of them?
Thanks a lot
Benjamin
Re: Two simple questions about distributed mode
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Benjamin,
1) It depend if you want those 3 servers to be RegionServers or not. This
file is used bin/regionservers.sh to start the region servers. As Ted said,
it's not REQUIRED to have HBase running, but it's helpful to start the
instances. So I recommend you to add them to the list.
2) If you have added your region servers in the regionservers file, then
you don't need to start your region servers. They will be start by
bin/start-hbase.sh. That's the way I use on my 12 nodes cluster. If you
don't add your region servers to the file, then you will have to start them
manually.
So, I will definitively recommend you to add them to the file and simply
start your cluster using bin/start-hbase.sh.
JM
2013/9/11 Ted Yu <yu...@gmail.com>
> For #1, the region servers would report to master. So no.
>
> For #2, region server has to be started individually.
>
> bq. is it sufficient to launch it on one of them?
>
> No.
>
>
> On Wed, Sep 11, 2013 at 7:03 AM, Sznajder ForMailingList <
> bs4mailinglist@gmail.com> wrote:
>
> > Hi
> >
> > Here are two simple questions:
> >
> >
> > Let's suppose I have three servers in my cluster serv1, serv2, and serv3.
> >
> > Question 1 : Must I add the <b>three</b> servers in the
> conf/regionservers
> > file?
> >
> > Question 2 : Must I launch bin/start-hbase.sh file on each one of the
> > servers or is it sufficient to launch it on one of them?
> >
> >
> > Thanks a lot
> >
> > Benjamin
> >
>
Re: Two simple questions about distributed mode
Posted by Ted Yu <yu...@gmail.com>.
For #1, the region servers would report to master. So no.
For #2, region server has to be started individually.
bq. is it sufficient to launch it on one of them?
No.
On Wed, Sep 11, 2013 at 7:03 AM, Sznajder ForMailingList <
bs4mailinglist@gmail.com> wrote:
> Hi
>
> Here are two simple questions:
>
>
> Let's suppose I have three servers in my cluster serv1, serv2, and serv3.
>
> Question 1 : Must I add the <b>three</b> servers in the conf/regionservers
> file?
>
> Question 2 : Must I launch bin/start-hbase.sh file on each one of the
> servers or is it sufficient to launch it on one of them?
>
>
> Thanks a lot
>
> Benjamin
>