Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Dynamic addition of RegionServer

Copy link to this message
Re: Dynamic addition of RegionServer
Working and consistent hostname resolution is a requirement for running an
HBase cluster.  Usually the easiest way to do this is with DNS.  You can
also use a hosts file, but you need to make sure the hosts file includes all
cluster hosts and have a way of synchronizing it throughout the cluster.
On Tue, Sep 20, 2011 at 8:12 AM, Stuti Awasthi <[EMAIL PROTECTED]> wrote:

> Hi ,
> I was able to add region server dynamically in running cluster . But this
> happens only when hostname of new node is resolved to IP by running cluster.
> Now to achieve this I have to add new node IP and hostname in /etc/hosts
> file and rebooted the machine. Restarted the cluster and added node
> dynamically.
> Now since currently in Hbase it resolves only hostname and not IP is a
> drawback I see because if I want to add any regionserver dynamically  it
> must be present in my /etc/hosts file on each node and this is not always
> possible.
> Any suggesstions if it can be fixed?
> Regards
> Stuti
> From: Stuti Awasthi
> Sent: Tuesday, September 20, 2011 10:30 AM
> Subject: Dynamic addition of RegionServer
> Hi all,
> I was trying to add new regionserver node dynamically to my already running
> cluster. I updated conf/regionserver file and added IP (not hostname) of new
> node and started regionserver daemon on the new node. It is started fine but
> on Hbase webUI it doesnot shows the new regionserver added.
> As far as I know Hbase resolve the hostname of the nodes. Now if I add
> hostname to conf/regionserver file then I will also need to update /etc/host
> and reboot the machines otherwise it will give" unkown host exception ".
> Am I missing something ?
> -Stuti
> ________________________________
> -----------------------------------------------------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of
> this message without the prior written consent of the author of this e-mail
> is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
> -----------------------------------------------------------------------------------------------------------------------