hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1279) Fix the way hostnames and IPs are handled
Date Mon, 04 May 2009 18:35:30 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Daniel Cryans resolved HBASE-1279.
---------------------------------------

      Resolution: Fixed
    Release Note: To tell HBase how to use your DNS configuration, set hbase.regionserver.dns.interface
and hbase.regionserver.dns.nameserver in hbase-site.xml just like in hadoop-site.xml

I tested my patch against 2 clusters at openplaces, one with dns problems and one with no
problem at all. On the first by setting the new configs from hbase-default the hostnames were
now correctly set and on the second one nothing was changed.

> Fix the way hostnames and IPs are handled
> -----------------------------------------
>
>                 Key: HBASE-1279
>                 URL: https://issues.apache.org/jira/browse/HBASE-1279
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.19.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.19.2, 0.20.0
>
>         Attachments: hbase-1279.patch
>
>
> From the list by Yabo-Arber Xu,
> {quote}
> Yes, I've unlocked the port, and i am actually able to access from the web
> UI with a client not running on EC2 to HBase at example.com:60010. It shows
> all User Tables, but the Region Servers Address is the EC2 internal address:
> domU-12-31-39-00-65-E5.compute-1.internal:60020.
> I guess the client fails because it can not connect region server, which
> serves only for an internal IP. However, in hbase-site.xml, I did configure
> with region server explicitly in its external IP.
> <property>
>    <name>hbase.regionserver</name>
>    <value>ec2-67-202-57-127.compute-1.amazonaws.com:60020</value>
>    <description>The host and port a HBase region server runs at.
>    </description>
>  </property>
> {quote}
> In fact we completely bypass the hostname set in hbase.regionserver, also the hostnames
in the web UI are not the good ones. We should do that part like hadoop does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message