hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Tariq <donta...@gmail.com>
Subject Re: Hbase master doesn't start
Date Tue, 29 May 2012 08:18:35 GMT
disable your IPv6 settings..problem with IPv6 is that using 0.0.0.0
for various networking-related Hadoop configuration options will
result in Hadoop binding to the IPv6 addresses..add the following
lines at the end of your /etc/sysctl.conf -

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Regards,
    Mohammad Tariq


On Mon, May 28, 2012 at 7:07 AM, Norbert Burger
<norbert.burger@gmail.com> wrote:
> Looks like localhost is somehow resolving to an IPv6 address.  If this is
> not your intent (usually not recommended), then you can hint the JVM by
> adding
> -Djava.net.preferIPv4Stack=true to the HBASE_OPTS var in hbase-env.sh.
>
> Norbert
>
> On Sun, May 27, 2012 at 5:43 PM, Dalia Sobhy <dalia.mohsobhy@hotmail.com>wrote:
>
>>
>> Hi,
>> I have a problem with Hbase master, although namenode, and job tracker are
>> working well.
>> 2012-05-27 09:13:27,587 INFO org.apache.zookeeper.ClientCnxn: Opening
>> socket connection to server localhost/0:0:0:0:0:0:0:1:21812012-05-27
>> 09:13:27,588 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server
>> null, unexpected error, closing socket connection and attempting
>> reconnectjava.net.ConnectException: Connection refused    at
>> sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)     at
>> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>>   at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143)
>> Although /etc/hosts:
>> 127.0.0.1 localhost
>> 10.0.2.3        namenode.dalia.com10.0.2.5
>>  datanode3.dalia.com10.0.2.6     datanode1.dalia.com10.0.2.7
>> datanode2.dalia.com
>>
>> /etc/resolve.conf
>> nameserever 10.0.2.3
>> So any info.??????

Mime
View raw message