<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Not a host:port pair: PBUF, how to resolve? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235794#M197607</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt; How can we check HBase cluster version?&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2019 23:19:40 GMT</pubDate>
    <dc:creator>duasidra127</dc:creator>
    <dc:date>2019-07-19T23:19:40Z</dc:date>
    <item>
      <title>Not a host:port pair: PBUF, how to resolve?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235791#M197604</link>
      <description>&lt;P&gt;I am trying to connect Java api to Hbase, I am using Ambari for Hbase and netbean for java. I am facing an error &lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.IllegalArgumentException: Not a host:port pair: PBUF&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;sandbox.hortonworks.com�}�����-.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;libraries of Hbase-client-0.95.0.jar and Hbase-server.0.95.0.jar have same version. please guide how can I resolve ? &lt;/P&gt;&lt;P&gt;this is a code that I am using for connection.&lt;/P&gt;&lt;P&gt; Configuration conf = HBaseConfiguration.create();&lt;/P&gt;&lt;P&gt; conf.set("hbase.master", "192.168.23.143:16020");&lt;/P&gt;&lt;P&gt;   conf.set("hbase.zookeeper.quorum","192.168.23.143");&lt;/P&gt;&lt;P&gt;   conf.set("hbase.zookeeper.property.clientPort", "2181");&lt;/P&gt;&lt;P&gt;   conf.set("zookeeper.znode.parent", "/hbase-unsecure");&lt;/P&gt;&lt;P&gt;   System.out.println("Connecting ...");&lt;/P&gt;&lt;P&gt;    HBaseAdmin admin = new HBaseAdmin(conf);&lt;/P&gt;&lt;P&gt;    HBaseAdmin.checkHBaseAvailable(conf);&lt;/P&gt;&lt;P&gt;System.out.println("Connecting ...");&lt;/P&gt;&lt;P&gt;    boolean bool = admin.tableExists("transport");&lt;/P&gt;&lt;P&gt;    System.out.println( bool);&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;run:&lt;/P&gt;&lt;P&gt;Connecting ...&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.3.1-942149, built on 05/07/2010 17:14 GMT&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:host.name=DESKTOP-959ROGC&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:java.version=1.8.0_192&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:java.home=C:\Program Files\Java\jdk1.8.0_192\jre&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:java.class.path=E:\NetBeanProject\HBaseConnection\jar_file\commons-beanutils-1.7.0.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-beanutils-core-1.8.0.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-cli-1.2.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-codec-1.4.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-collections-3.2.1.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-configuration-1.6.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-digester-1.8.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-el-1.0.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-httpclient-3.0.1.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-io-2.1.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-lang-2.4.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-logging-1.0.3.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-logging-1.1.2.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-math-2.1.jar;E:\NetBeanProject\HBaseConnection\jar_file\commons-net-1.4.1.jar;E:\NetBeanProject\HBaseConnection\jar_file\core-3.1.1.jar;E:\NetBeanProject\HBaseConnection\jar_file\hadoop-core-1.1.2.jar;E:\NetBeanProject\HBaseConnection\jar_file\hadoop-core-1.2.1.jar;E:\NetBeanProject\HBaseConnection\jar_file\hbase-0.94.10.jar;E:\NetBeanProject\HBaseConnection\jar_file\hbase-client-0.95.0.jar;E:\NetBeanProject\HBaseConnection\jar_file\hbase-server-0.95.0.jar;E:\NetBeanProject\HBaseConnection\jar_file\hsqldb-1.8.0.10.jar;E:\NetBeanProject\HBaseConnection\jar_file\log4j-1.2.16.jar;E:\NetBeanProject\HBaseConnection\jar_file\servlet-api-2.5-20081211.jar;E:\NetBeanProject\HBaseConnection\jar_file\servlet-api-2.5-6.1.14.jar;E:\NetBeanProject\HBaseConnection\jar_file\zookeeper.jar;E:\NetBeanProject\HBaseConnection\build\classes&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:java.library.path=C:\Program Files\Java\jdk1.8.0_192\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Java\bin;C:\Java;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Users\sidra\AppData\Local\Microsoft\WindowsApps;;.&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=C:\Users\sidra\AppData\Local\Temp\&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:java.compiler=&amp;lt;NA&amp;gt;&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:os.name=Windows 10&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:os.version=10.0&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:user.name=sidra&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:user.home=C:\Users\sidra&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Client environment:user.dir=E:\NetBeanProject\HBaseConnection&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.23.143:2181 sessionTimeout=180000 watcher=hconnection&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 17072@DESKTOP-959ROGC&lt;/P&gt;&lt;P&gt;19/07/18 21:31:32 INFO zookeeper.ClientCnxn: Opening socket connection to server /192.168.23.143:2181&lt;/P&gt;&lt;P&gt;19/07/18 21:31:39 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.23.143/192.168.23.143:2181, initiating session&lt;/P&gt;&lt;P&gt;19/07/18 21:31:39 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.23.143/192.168.23.143:2181, sessionid = 0x16c04d6c5dc002e, negotiated timeout = 40000&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.IllegalArgumentException: Not a host:port pair: PBUF&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;sandbox.hortonworks.com�}�����-&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:44:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235791#M197604</guid>
      <dc:creator>duasidra127</dc:creator>
      <dc:date>2019-07-19T12:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not a host:port pair: PBUF, how to resolve?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235792#M197605</link>
      <description>&lt;P&gt;Please anybody guide ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 19:17:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235792#M197605</guid>
      <dc:creator>duasidra127</dc:creator>
      <dc:date>2019-07-19T19:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Not a host:port pair: PBUF, how to resolve?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235793#M197606</link>
      <description>&lt;P&gt;HBase 0.94 and 0.95 are extremely old versions. You should not be using them any longer.&lt;/P&gt;&lt;P&gt;In general, you should use the same exact version of client jars which match the HBase cluster version you are trying to interact with.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 20:57:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235793#M197606</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2019-07-19T20:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not a host:port pair: PBUF, how to resolve?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235794#M197607</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt; How can we check HBase cluster version?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 23:19:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235794#M197607</guid>
      <dc:creator>duasidra127</dc:creator>
      <dc:date>2019-07-19T23:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not a host:port pair: PBUF, how to resolve?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235795#M197608</link>
      <description>&lt;P&gt;My Apachi Ambari 2.2.1.0 version and HBase client 2.2.0 are same now. but still getting same error Not a host:port pair: PBUF. Can you explain in detail how can I resolve it?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jul 2019 11:55:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-a-host-port-pair-PBUF-how-to-resolve/m-p/235795#M197608</guid>
      <dc:creator>duasidra127</dc:creator>
      <dc:date>2019-07-20T11:55:13Z</dc:date>
    </item>
  </channel>
</rss>

