hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enis Söztutar <enis....@gmail.com>
Subject Re: Question regarding the regionservers file on the HBase master
Date Thu, 19 Nov 2015 18:38:30 GMT
The regionservers file is used only by the start-hbase.sh and stop-hbase.sh
kind of scripts. That is why the documentation is referring to as "if you
rely on ssh to start your daemons". These scripts executes the start or
stop daemon request using SSH. That is also why you need to have a list of

Nothing on a running cluster depends on the regionservers file. The
regionserver discovery, etc already happens via zookeeper.

If you are deploying via chef or Ambari, etc, or manually starting the
daemons on every node via hbase-daemon.sh, you do not need the
regionservers file in the conf directory.


On Wed, Nov 18, 2015 at 9:01 PM, F21 <f21groups@gmail.com> wrote:

> I have got 2 questions regarding the regionservers file on the HBase
> master:
> 1. Do we need to update the regionservers file when adding or removing a
> region server from the cluster only if we administer it via SSH? The
> documentation (http://hbase.apache.org/book.html#adding.new.node) is
> quite unclear: "If you rely on ssh to start your daemons, don’t forget to
> add the new hostname in/conf/regionservers/on the master."
> 2. What is the regionservers file used for? Why can't the region servers
> and master discover each other through the Zookeeper /hbase/rs znode?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message