hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmitri garbuzov <dgarbu...@gmail.com>
Subject Re: hbase with multiple interfaces
Date Thu, 29 Apr 2010 00:11:37 GMT
I'm getting the same results without hbase.regionserver.dns.interface 
set and with it explicitly set  to "default"

hbase-site.xml:
<configuration>
    <property>
        <name>hbase.rootdir</name>
        <value>hdfs://sns12.cs.princeton.edu:8020/hbase</value>
    </property>
    <property>
        <name>hbase.master</name>
        <value>sns12-virt.CS.Princeton.EDU:60000</value>
    </property>
    <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
    </property>
    <property>
        <name>hbase.zookeeper.quorum</name>
        
<value>sns12-virt.CS.Princeton.EDU,sns13-virt.CS.Princeton.EDU,sns14-virt.CS.Princeton.EDU</value>
    </property>
</configuration>


Ryan Rawson wrote:
> If you are using the "hbase.regionserver.dns.interface" option this is
> what would happen - binding to a specific interface.
>
> What is your config looking like?
>
> On Wed, Apr 28, 2010 at 4:54 PM, dmitri garbuzov <dgarbuzov@gmail.com> wrote:
>   
>> Doesn't look like it's binding to 0.0.0.0
>>
>> sudo lsof -i :60020
>> COMMAND   PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
>> java    22530 hadoop   37u  IPv4 81808593      0t0  TCP
>> sns12-virt.CS.Princeton.EDU:60020 (LISTEN)
>>
>> sudo netstat -an | grep 60020
>> tcp        0      0 128.112.7.112:60020         0.0.0.0:*
>> LISTEN
>>
>>
>> Ryan Rawson wrote:
>>     
>>> HBase does bind to 0.0.0.0:60020.  It uses the hostname to report this
>>> to META and that is how other people find the region servers.
>>>
>>> Are you not seeing this?
>>>
>>> On Wed, Apr 28, 2010 at 4:15 PM, dmitri garbuzov <dgarbuzov@gmail.com>
>>> wrote:
>>>
>>>       
>>>> Hi all,
>>>>
>>>> I'm trying to set up hbase on a cluster where each machine has multiple
>>>> interfaces.  Hdfs worked right away since I could just set the name node
>>>> to
>>>> listen on 0.0.0.0, but hbase region servers seem to pick one of the
>>>> interfaces at random, ignoring the hbase.regionserver.dns.interface
>>>> option.
>>>>  Is the dns.interface setting supposed to make hbase bind to a specific
>>>> interface? Is there anything special I need to do to get this to work?
>>>>
>>>> dmitri
>>>>
>>>>
>>>>         
>>>       
>>     
>
>   


Mime
View raw message