Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


Copy link to this message
-
Re: problem about couldrea hbase ,can not resolve DNS name
Can you update your CDH and hbase?

This seems pretty basic dns setup issue:

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

Can you fix this first?

St.Ack
On Tue, Jul 2, 2013 at 8:29 PM, ch huang <[EMAIL PROTECTED]> wrote:

> 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)
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB