hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhaval Shah <prince_mithi...@yahoo.co.in>
Subject Re:: Pseudo Distributed: ERROR org.apache.hadoop.hbase.HServerAddress: Could not resolve the DNS name of localhost.localdomain
Date Thu, 07 Jun 2012 12:52:44 GMT

Have you restarted zookeeper? Also clearing zookeeper data dir and data log dir might also
help.. it seems that localhost.localdomain is being cached somewhere

On Thu 7 Jun, 2012 2:48 PM IST Manu S wrote:

>Hi All,
>In pseudo distributed node HBaseMaster is stopping automatically when we
>starts HbaseRegion.
>I have changed all the configuration files of Hadoop,Hbase & Zookeeper to
>set the exact hostname of the machine. Also commented the localhost entry
>from /etc/hosts & cleared the cache as well. There is no entry of
>localhost.localdomain entry in these configurations, but this it is
>resolving to localhost.localdomain.
>Please find the error:
>2012-06-07 12:13:11,995 INFO
>org.apache.hadoop.hbase.master.MasterFileSystem: No logs to split
>*2012-06-07 12:13:12,103 ERROR org.apache.hadoop.hbase.HServerAddress:
>Could not resolve the DNS name of localhost.localdomain
>2012-06-07 12:13:12,104 FATAL org.apache.hadoop.hbase.master.HMaster:
>Unhandled exception. Starting shutdown.*
>*java.lang.IllegalArgumentException: hostname can't be null*
>        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:121)
>        at
>        at
>        at
>        at
>        at
>        at
>        at
>        at
>        at
>        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:293)
>2012-06-07 12:13:12,106 INFO org.apache.hadoop.hbase.master.HMaster:
>2012-06-07 12:13:12,106 DEBUG org.apache.hadoop.hbase.master.HMaster:
>Stopping service threads
>Manu S

View raw message