Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF

Ads

 
 

Share on Google+Share on Google+

Java Coder
Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF
1 Answer(s)      a year and 3 months ago
Posted in : Java Beginners

Hi,

While connecting to BHase server I got following error:

Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF

    at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:133)
    at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:104)
    at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:163)
    ... 2 more
Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF


at org.apache.hadoop.hbase.util.Addressing.parseHostname(Addressing.java:60)
    at org.apache.hadoop.hbase.ServerName.<init>(ServerName.java:101)
    at org.apache.hadoop.hbase.ServerName.parseVersionedServerName(ServerName.java:283)
    at org.apache.hadoop.hbase.MasterAddressTracker.bytesToServerName(MasterAddressTracker.java:77)
    at org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:61)
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:805)
    at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:127)
    at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:115)
    ... 4 more

How to solve the issue?

Thanks

Ads
View Answers

April 17, 2016 at 11:19 PM


Hi,

You check the version of HBase client library used in your application. You should use the compatible version of HBase client library in your application.

Thanks


Ads









Related Tutorials/Questions & Answers: