<?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 able to connect to HBase.  Zookeeper Error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135688#M23301</link>
    <description>&lt;P&gt;You need to port forward port 2181.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Mar 2016 21:59:12 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-19T21:59:12Z</dc:date>
    <item>
      <title>Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135687#M23300</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I am trying to connect to HBase in a HDP sandbox environment from a Java client in Eclipse.  Have brought up the HBase from Ambari.  But getting the below error.&lt;/P&gt;&lt;P&gt;2016-03-19 10:20:48.182  WARN 10236 --- [           main] o.s.d.h.h.HbaseConfigurationFactoryBean  : Use of 'stopProxy' has been deprecated
2016-03-19 10:20:54.293  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
2016-03-19 10:20:54.294  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:host.name=home-pc
2016-03-19 10:20:54.295  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.version=1.8.0_74
2016-03-19 10:20:54.295  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.vendor=Oracle Corporation
2016-03-19 10:20:54.295  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.home=C:\Program Files\Java\jre1.8.0_74
2016-03-19 2016-03-19 10:20:54.302  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.library.path=C:\Training\HDP\hadoop-common-2.2.0-bin-master\bin
2016-03-19 10:20:54.302  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.io.tmpdir=C:\Users\Ravi\AppData\Local\Temp\
2016-03-19 10:20:54.303  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.compiler=&amp;lt;NA&amp;gt;
2016-03-19 10:20:54.303  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.name=Windows 10
2016-03-19 10:20:54.303  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.arch=amd64
2016-03-19 10:20:54.303  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.version=10.0
2016-03-19 10:20:54.303  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.name=Ravi
2016-03-19 10:20:54.303  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.home=C:\Users\Ravi
2016-03-19 10:20:54.303  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.dir=C:\Users\Ravi\workspace\gs-rest-service-initial
2016-03-19 10:20:54.305  INFO 10236 --- [           main] org.apache.zookeeper.ZooKeeper           : Initiating client connection, connectString=sandbox.hortonworks.com:2181 sessionTimeout=60000 watcher=hconnection-0xaa10649, quorum=sandbox.hortonworks.com:2181, baseZNode=/hbase-unsecure
2016-03-19 10:20:57.469  INFO 10236 --- [           main] o.a.h.h.zookeeper.RecoverableZooKeeper   : Process identifier=hconnection-0xaa10649 connecting to ZooKeeper ensemble=sandbox.hortonworks.com:2181
2016-03-19 10:21:02.006  INFO 10236 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server 92.242.140.21/92.242.140.21:2181. Will not attempt to authenticate using SASL (unknown error)
2016-03-19 10:21:23.039  WARN 10236 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_74]
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_74]
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
2016-03-19 10:21:23.186  WARN 10236 --- [           main] o.a.h.h.zookeeper.RecoverableZooKeeper   : Possibly transient ZooKeeper, quorum=sandbox.hortonworks.com:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase-unsecure/hbaseid
2016-03-19 10:21:23.187  INFO 10236 --- [           main] o.apache.hadoop.hbase.util.RetryCounter  : Sleeping 1000ms before retry #0...
2016-03-19 10:21:24.157  INFO 10236 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server 92.242.140.21/92.242.140.21:2181. Will not attempt to authenticate using SASL (unknown error)
2016-03-19 10:21:45.161  WARN 10236 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_74]
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_74]
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
2016-03-19 10:21:45.268  WARN 10236 --- [           main] o.a.h.h.zookeeper.RecoverableZooKeeper   : Possibly transient ZooKeeper, quorum=sandbox.hortonworks.com:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase-unsecure/hbaseid
2016-03-19 10:21:45.269  INFO 10236 --- [           main] o.apache.hadoop.hbase.util.RetryCounter  : Sleeping 2000ms before retry #1...
2016-03-19 10:21:46.268  INFO 10236 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server 92.242.140.21/92.242.140.21:2181. Will not attempt to authenticate using SASL (unknown error)&lt;/P&gt;&lt;P&gt;I have restarted the HBase from Ambari.  But no luck.&lt;/P&gt;&lt;P&gt;Running out of ideas.  Please help.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 21:54:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135687#M23300</guid>
      <dc:creator>ravimn</dc:creator>
      <dc:date>2016-03-19T21:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135688#M23301</link>
      <description>&lt;P&gt;You need to port forward port 2181.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 21:59:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135688#M23301</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-19T21:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135689#M23302</link>
      <description>&lt;P&gt;Do I need to do port forwarding even if my sandbox is running on my local laptop from which I am running my eclipse based java client as well.  &lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 22:42:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135689#M23302</guid>
      <dc:creator>ravimn</dc:creator>
      <dc:date>2016-03-19T22:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135690#M23303</link>
      <description>&lt;P&gt;In your network adapter properties, make sure allow all is enabled for 2nd adapter. Once that's set, make sure there's no firewall blocking traffic. As last resort, make sure port forward of zk port is enabled. &lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 23:17:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135690#M23303</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-19T23:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135691#M23304</link>
      <description>&lt;P&gt;The port forwarding worked.  Thank you for the tip.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2016 02:16:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135691#M23304</guid>
      <dc:creator>ravimn</dc:creator>
      <dc:date>2016-03-20T02:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135692#M23305</link>
      <description>&lt;P&gt;As part of the sandbox install, I see lot of other ports forwarded that are relevant to the hadoop installation.  Any reason why the 2181 is not part of that list.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 06:11:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135692#M23305</guid>
      <dc:creator>ravimn</dc:creator>
      <dc:date>2016-03-21T06:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135693#M23306</link>
      <description>&lt;P&gt;My only guess is that your use case is more advanced than other users'. I will raise this question with the team. @rcoss &lt;A rel="user" href="https://community.cloudera.com/users/527/rmolina.html" nodeid="527"&gt;@rmolina&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 08:20:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135693#M23306</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-21T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect to HBase.  Zookeeper Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135694#M23307</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3545/ravimn.html" nodeid="3545"&gt;@Ravi Malayambakkam&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/69/rcoss.html" nodeid="69"&gt;@Rafael Coss&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;That zookeeper port forward was just missed, I've added it to our build code and will be available in our next release. &lt;/P&gt;&lt;P&gt;Thanks for notifying us!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 21:37:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-connect-to-HBase-Zookeeper-Error/m-p/135694#M23307</guid>
      <dc:creator>glupu</dc:creator>
      <dc:date>2016-03-21T21:37:59Z</dc:date>
    </item>
  </channel>
</rss>

