<?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: Problem in connectivity between HBase &amp;amp; JAVA in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/2671#M299</link>
    <description>&lt;P&gt;Hey Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It Works for both Centos as well as for Windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added all hosts IP's &amp;amp; their name in etc/hosts file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Windows hosts file is located at&amp;nbsp;C:\Windows\System32\drivers\etc\hosts.&lt;/P&gt;&lt;P&gt;In Centos type vi /etc/hosts to access hosts file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank U so much for helping me to solve out this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surbhi Singh&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2013 07:41:37 GMT</pubDate>
    <dc:creator>Radius</dc:creator>
    <dc:date>2013-10-28T07:41:37Z</dc:date>
    <item>
      <title>Problem in connectivity between HBase &amp; JAVA</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/1693#M297</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to connect my HBase with JAVA Application for creation, insertion, deletion data into hbase table. I have installed Cloudera Standard Verion with 7 hosts named as shown below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server &amp;nbsp; &amp;nbsp;Cloudera-new&amp;nbsp;&lt;/P&gt;&lt;P&gt;Host1 &amp;nbsp; &amp;nbsp; &amp;nbsp;Cluster1&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Host2 &amp;nbsp; &amp;nbsp; &amp;nbsp;Cluster2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Host3 &amp;nbsp; &amp;nbsp; &amp;nbsp;Cluster3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Host4 &amp;nbsp; &amp;nbsp; &amp;nbsp;Cluster4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Host5 &amp;nbsp; &amp;nbsp; &amp;nbsp;Cluster5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Host6 &amp;nbsp; &amp;nbsp; &amp;nbsp;Cluster6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Host7 &amp;nbsp; &amp;nbsp; &amp;nbsp;Cluster7&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Here is my etc/hosts file:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;192.168.3.100 Cloudera-new Cloudera-new&lt;BR /&gt;192.168.3.101 Cluster1 Cluster1&lt;BR /&gt;192.168.3.102 Cluster2 Cluster2&lt;BR /&gt;192.168.3.103 Cluster3 Cluster3&lt;BR /&gt;192.168.3.104 Cluster4 Cluster4&lt;BR /&gt;192.168.3.105 Cluster5 Cluster5&lt;BR /&gt;192.168.3.106 Cluster6 Cluster6&lt;BR /&gt;192.168.3.107 Cluster7 Cluster7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;All services are started on Cluster1 rest all hosts have some services started not all. Now I want to connect hbase Master running on Cluster 1 with JAVA Application. Here is my program:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;package Hive;&lt;/P&gt;&lt;P&gt;import java.sql.SQLException;&lt;BR /&gt;import org.apache.hadoop.conf.Configuration;&lt;BR /&gt;import org.apache.hadoop.hbase.HBaseConfiguration;&lt;BR /&gt;import org.apache.hadoop.hbase.client.HBaseAdmin;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;public class hbasecommand {&lt;BR /&gt;private static String driverName = "org.apache.hadoop.hbase.HBaseConfiguration";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;public static void main(String[] args) throws SQLException {&lt;BR /&gt;try {&lt;BR /&gt;Class.forName(driverName);&lt;BR /&gt;}&lt;BR /&gt;catch (ClassNotFoundException e) {&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;System.exit(1);&lt;BR /&gt;}&lt;BR /&gt;System.out.println("Running connecting test...");&lt;BR /&gt;System.out.println(" 1. From program: Hello from MySimpleHBase");&lt;BR /&gt;System.out.println(" 2. From program: Create a HBase config");&lt;BR /&gt;Configuration config = HBaseConfiguration.create();&lt;BR /&gt;config.set("hbase.master", "192.168.3.101:60000");&lt;BR /&gt;config.set("hbase.zookeeper.quorum", "192.168.3.101");&lt;BR /&gt;config.set("hbase.zookeeper.property.clientPort", "2181");&lt;BR /&gt;&lt;BR /&gt;try {&lt;BR /&gt;String tableName = "hbase_table";&lt;BR /&gt;System.out.println("Enetered");&lt;BR /&gt;System.out.println(tableName);&lt;BR /&gt;HBaseAdmin admin = new HBaseAdmin(config);&lt;BR /&gt;System.out.println("===========Delete table========");&lt;BR /&gt;admin.disableTable(tableName);&lt;BR /&gt;admin.deleteTable(tableName);&lt;BR /&gt;System.out.println("delete table " + tableName + " ok.");&lt;BR /&gt;} catch (Exception e) {&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i run this program &lt;STRONG&gt;&lt;FONT color="#993366"&gt;error&lt;/FONT&gt; &lt;/STRONG&gt;occur:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;Running connecting test...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;1. From program: Hello from MySimpleHBase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;2. From program: Create a HBase config&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;Enetered&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;hbase_table&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.5-cdh4.3.0--1, built on 05/28/2013 02:01 GMT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:host.name=RSPL-NDA-005&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_03&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:java.home=C:\Program Files\Java\jre7&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:java.class.path=C:\Users\Surbhi Singh\workspace\HiveTesting\bin;C:\Users\Surbhi Singh\Desktop\hive\commons-logging-1.0.4.jar;C:\Users\Surbhi Singh\Desktop\hive\commons-logging-api-1.0.4.jar;C:\Users\Surbhi Singh\Desktop\hive\guava-11.0.2.jar;C:\Users\Surbhi Singh\Desktop\hive\hadoop-core.jar;C:\Users\Surbhi Singh\Desktop\hive\hbase.jar;C:\Users\Surbhi Singh\Desktop\hive\hive-contrib-0.10.0-cdh4.3.0.jar;C:\Users\Surbhi Singh\Desktop\hive\hive-exec-0.10.0-cdh4.3.1.jar;C:\Users\Surbhi Singh\Desktop\hive\hive-hbase-handler-0.10.0-cdh4.3.0.jar;C:\Users\Surbhi Singh\Desktop\hive\hive-jdbc-0.10.0-cdh4.3.1.jar;C:\Users\Surbhi Singh\Desktop\hive\hive-metastore-0.10.0-cdh4.3.1.jar;C:\Users\Surbhi Singh\Desktop\hive\hive-service-0.10.0-cdh4.3.1.jar;C:\Users\Surbhi Singh\Desktop\hive\libfb303-0.9.0.jar;C:\Users\Surbhi Singh\Desktop\hive\libthrift-0.9.0-cdh4-1.jar;C:\Users\Surbhi Singh\Desktop\hive\log4j-1.2.16.jar;C:\Users\Surbhi Singh\Desktop\hive\mysql-connector-java.jar;C:\Users\Surbhi Singh\Desktop\hive\mysql-connector-java-5.1.25-bin.jar;C:\Users\Surbhi Singh\Desktop\hive\slf4j-api-1.6.1.jar;C:\Users\Surbhi Singh\Desktop\hive\slf4j-log4j12-1.6.1.jar;C:\Users\Surbhi Singh\Desktop\hive\zookeeper.jar;C:\Users\Surbhi Singh\Desktop\hive\commons-lang-2.4.jar;C:\Users\Surbhi Singh\Desktop\hive\commons-configuration-1.6.jar;C:\Users\Surbhi Singh\Desktop\hive\hadoop-common.jar&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:java.library.path=C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\csvn\bin\;C:\csvn\Python25\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\xampp\mysql\bin;;E:\Setup\eclipse;;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=C:\Users\SURBHI~1\AppData\Local\Temp\&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:java.compiler=&amp;lt;NA&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:os.name=Windows 7&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:os.arch=x86&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:os.version=6.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:user.name=Surbhi Singh&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:user.home=C:\Users\Surbhi Singh&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Client environment:user.dir=C:\Users\Surbhi Singh\workspace\HiveTesting&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.3.101:2181 sessionTimeout=180000 watcher=hconnection&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:38 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 8136@RSPL-NDA-005&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:42 INFO zookeeper.ClientCnxn: Opening socket connection to server 192.168.3.101/192.168.3.101:2181. Will not attempt to authenticate using SASL (unknown error)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:42 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.3.101/192.168.3.101:2181, initiating session&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:42 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.3.101/192.168.3.101:2181, sessionid = 0x1413531a8eb0a86, negotiated timeout = 60000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:45 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 0 of 10 failed; retrying after sleep of 1004&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;java.net.UnknownHostException: unknown host: Cluster1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.&amp;lt;init&amp;gt;(HBaseClient.java:276)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.createConnection(HBaseClient.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1111)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at $Proxy5.getProtocolVersion(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:711)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.client.HBaseAdmin.&amp;lt;init&amp;gt;(HBaseAdmin.java:126)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at Hive.hbasecommand.main(hbasecommand.java:33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:46 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 1 of 10 failed; retrying after sleep of 1000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;java.net.UnknownHostException: unknown host: Cluster1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.&amp;lt;init&amp;gt;(HBaseClient.java:276)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.createConnection(HBaseClient.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1111)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at $Proxy5.getProtocolVersion(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:711)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.client.HBaseAdmin.&amp;lt;init&amp;gt;(HBaseAdmin.java:126)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at Hive.hbasecommand.main(hbasecommand.java:33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;13/09/20 11:21:47 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 2 of 10 failed; retrying after sleep of 1002&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;java.net.UnknownHostException: unknown host: Cluster1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.&amp;lt;init&amp;gt;(HBaseClient.java:276)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.createConnection(HBaseClient.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1111)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at $Proxy5.getProtocolVersion(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:711)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at org.apache.hadoop.hbase.client.HBaseAdmin.&amp;lt;init&amp;gt;(HBaseAdmin.java:126)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at Hive.hbasecommand.main(hbasecommand.java:33)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't understand why this error unknown host came. Please help me by providing solution as soon as possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks&lt;/P&gt;&lt;P&gt;Surbhi Singh&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:48:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/1693#M297</guid>
      <dc:creator>Radius</dc:creator>
      <dc:date>2022-09-16T08:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in connectivity between HBase &amp; JAVA</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/2073#M298</link>
      <description>&lt;P&gt;OK, I see that you are running under Windows, so that may be part of the issue. &amp;nbsp;There is a hosts file in Control Panel-&amp;gt;Administration somewhere that needs to have all the cluster hosts info (IP/hostname) in it. &amp;nbsp;/etc/hosts is not applicable on Windows, unless that changed in recent versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The basic point is that all the hosts in the cluster need to be able to ping each other by hostname and IP, so just double-check that they are all able to do that. &amp;nbsp;You client server (wherever you are running the app from) needs to also be able to resolve all the IPs and hostnames of the cluster machines.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 18:22:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/2073#M298</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2013-10-08T18:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in connectivity between HBase &amp; JAVA</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/2671#M299</link>
      <description>&lt;P&gt;Hey Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It Works for both Centos as well as for Windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added all hosts IP's &amp;amp; their name in etc/hosts file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Windows hosts file is located at&amp;nbsp;C:\Windows\System32\drivers\etc\hosts.&lt;/P&gt;&lt;P&gt;In Centos type vi /etc/hosts to access hosts file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank U so much for helping me to solve out this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surbhi Singh&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 07:41:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/2671#M299</guid>
      <dc:creator>Radius</dc:creator>
      <dc:date>2013-10-28T07:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in connectivity between HBase &amp; JAVA</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/8490#M300</link>
      <description>&lt;P&gt;I used the same code as above but getting the below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connecting to a cdh cluster and to hbase master.I am running 5 zoo keeper instances.What would be my zoo keeper qourum in this case?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2014 19:53:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/8490#M300</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2014-04-07T19:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in connectivity between HBase &amp; JAVA</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/45135#M301</link>
      <description>&lt;P&gt;hi ....... i am runnnig cloudera sandbox on Vmware . i want to connect from wiindow using java program want to create table in hbase.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:50:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-in-connectivity-between-HBase-amp-JAVA/m-p/45135#M301</guid>
      <dc:creator>piyushclodera</dc:creator>
      <dc:date>2016-09-15T12:50:53Z</dc:date>
    </item>
  </channel>
</rss>

