You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Cheney Sun (JIRA)" <ji...@apache.org> on 2014/08/18 09:01:25 UTC

[jira] [Created] (HBASE-11768) Register region server in zookeeper by ip address

Cheney Sun created HBASE-11768:
----------------------------------

             Summary: Register region server in zookeeper by ip address
                 Key: HBASE-11768
                 URL: https://issues.apache.org/jira/browse/HBASE-11768
             Project: HBase
          Issue Type: Improvement
          Components: regionserver
    Affects Versions: 2.0.0
            Reporter: Cheney Sun


HBase cluster isn't always setup along with a DNS server. But regionservers now register their hostnames in zookeeper, which bring some inconvenience when regionserver isn't in one DNS server. In such situation, clients have to maintain the ip/hostname mapping in their /etc/hosts files in order to resolve the hostname returned from zookeeper to the right address. 
This causes a lot of pain for clients to maintain the mapping, especially when adding new machines to the cluster, or some machines' address changed due to some reason. All clients need to update their host mapping files. 

The issue is to address this problem above, and try to add an option to let each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.2#6252)