Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> problem about couldrea hbase ,can not resolve DNS name


+
ch huang 2013-07-03, 03:29
+
Stack 2013-07-03, 18:07
Copy link to this message
-
Re: problem about couldrea hbase ,can not resolve DNS name
Hi Huang,

Few things.

1), cdh3.4 is a pretty old version. You should thing about upgrading
to a more recent version.
2) Have you checked you hosts files? Can you ping CH35 (if it's your
host name) from you ZK and other servers?

JM

2013/7/2 ch huang <[EMAIL PROTECTED]>:
> i modified all hostname in hadoop&hbase configuration file instead of
> IP,but i receive following error ,thanks all
>
> hbase version is
> Version 0.90.6-cdh3u4,
>
> 13/07/03 11:22:34 INFO zookeeper.ClientCnxn: Session establishment complete
> on server 192.168.10.22/192.168.10.22:2281, sessionid = 0x3fa28145010001,
> negotiated timeout = 40000
> 13/07/03 11:22:36 ERROR hbase.HServerAddress: Could not resolve the DNS
> name of CH35
> java.lang.IllegalArgumentException: hostname can't be null
>  at java.net.InetSocketAddress.checkHost(Unknown Source)
>  at java.net.InetSocketAddress.<init>(Unknown Source)
>  at
> org.apache.hadoop.hbase.HServerAddress.getResolvedAddress(HServerAddress.java:108)
>  at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:64)
>  at
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.dataToHServerAddress(RootRegionTracker.java:82)
>  at
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:841)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:819)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:950)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:852)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:819)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:950)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:856)
>  at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:819)
>  at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:189)
>  at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:163)
>  at com.testme.demo.HBaseTest.testInsert(HBaseTest.java:92)
>  at com.testme.demo.HBaseTest.main(HBaseTest.java:158)