<?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: Hbase - Zookeeper connection issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/359044#M238005</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 15:13:59 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2022-12-07T15:13:59Z</dc:date>
    <item>
      <title>Hbase - Zookeeper connection issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358892#M237965</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spark job is hang or struck due to below error. can any one please help here..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;22/12/05 22:29:55 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000 watcher=hconnection-0x5e29988e0x0, quorum=localhost:2181, baseZNode=/hbase&lt;BR /&gt;22/12/05 22:29:55 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)&lt;BR /&gt;22/12/05 22:29:55 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect&lt;BR /&gt;java.net.ConnectException: Connection refused&lt;BR /&gt;at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)&lt;BR /&gt;at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)&lt;BR /&gt;at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)&lt;BR /&gt;at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1126)&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;22/12/05 22:30:12 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)&lt;BR /&gt;22/12/05 22:30:12 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts&lt;BR /&gt;22/12/05 22:30:12 WARN zookeeper.ZKUtil: hconnection-0x5e29988e0x0, quorum=localhost:2181, baseZNode=/hbase Unable to set watcher on znode (/hbase/hbaseid)&lt;BR /&gt;org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 15:04:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358892#M237965</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-12-05T15:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase - Zookeeper connection issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358914#M237977</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Zookeeper services look up and running, you may need to compare the Spark job failure timestamp against Zookeeper logs from the Leader sever. if there is not a visible issue from Zookeeper side you can check if the hbase client configurations were applied properly in the spark job configurations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, confirm that the Hbase service is up and functional as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the above does not help, you may want to raise a support ticket with the Spark component.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 19:11:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358914#M237977</guid>
      <dc:creator>blizano</dc:creator>
      <dc:date>2022-12-05T19:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase - Zookeeper connection issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358950#M237983</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As CDH version was 5.16.1 out of support , i am unable to contact support. please help here.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 08:26:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358950#M237983</guid>
      <dc:creator>hanumanth</dc:creator>
      <dc:date>2022-12-06T08:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase - Zookeeper connection issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358954#M237984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;, As you can see, the spark job is trying to reach the zookeeper on the localhost.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;22/12/05 22:30:12 WARN zookeeper.ZKUtil: hconnection-0x5e29988e0x0, quorum=localhost:2181&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We expect a zookeeper quorum of 3 or more ZK under&amp;nbsp;quorum=. So this indicates that the node on which the spark job is running doesn't have a hbase-site.xml to direct the job to use the hbase.zookeeper.quorum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So make sure you have a Hbase Gateway role deployed on the node from where you are running the spark job and also try running the job if spark-submit using for eg&amp;nbsp;&lt;/SPAN&gt;"--files /etc/spark/conf/yarn-conf/hbase-site.xml"&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 08:49:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/358954#M237984</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2022-12-06T08:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase - Zookeeper connection issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/359044#M238005</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95604"&gt;@hanumanth&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 15:13:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Zookeeper-connection-issue/m-p/359044#M238005</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2022-12-07T15:13:59Z</dc:date>
    </item>
  </channel>
</rss>

