<?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: How to resolve Unable to read HiveServer2 configs from ZooKeeper in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233706#M195529</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/20328/sidatbigdata.html" nodeid="20328"&gt;@Sidharth Kumar&lt;/A&gt;&lt;P&gt;How you resolved this ? Can you share the exact steps or command.&lt;/P&gt;&lt;P&gt;In my case is showing like below.&lt;/P&gt;&lt;P&gt;hive.server2.zookeeper.namespace=hiveserver2&lt;/P&gt;&lt;P&gt;hive.zookeeper.namespace=hive_zookeeper_namespace&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 21:37:24 GMT</pubDate>
    <dc:creator>debananda_sahoo</dc:creator>
    <dc:date>2018-12-21T21:37:24Z</dc:date>
    <item>
      <title>How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233701#M195524</link>
      <description>&lt;P&gt;Caused by: java.sql.SQLException: org.apache.hive.jdbc.ZooKeeperHiveClientException: Unable to read HiveServer2 configs from ZooKeeper
  at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:134)
  at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
  at java.sql.DriverManager.getConnection(DriverManager.java:664)
  at java.sql.DriverManager.getConnection(DriverManager.java:247)
  at org.apache.ambari.view.hive20.internal.HiveConnectionWrapper$1.run(HiveConnectionWrapper.java:78)
  at org.apache.ambari.view.hive20.internal.HiveConnectionWrapper$1.run(HiveConnectionWrapper.java:75)
  at java.security.AccessController.doPrivileged(Native Method)
  at javax.security.auth.Subject.doAs(Subject.java:422)
  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1869)
  at org.apache.ambari.view.hive20.internal.HiveConnectionWrapper.connect(HiveConnectionWrapper.java:75)
  ... 98 more
Caused by: org.apache.hive.jdbc.ZooKeeperHiveClientException: Unable to read HiveServer2 configs from ZooKeeper
  at org.apache.hive.jdbc.ZooKeeperHiveClientHelper.configureConnParams(ZooKeeperHiveClientHelper.java:96)
  at org.apache.hive.jdbc.Utils.configureConnParams(Utils.java:514)
  at org.apache.hive.jdbc.Utils.parseURL(Utils.java:434)
  at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:132)
  ... 107 more
Caused by: org.apache.hive.jdbc.ZooKeeperHiveClientException: Tried all existing HiveServer2 uris from ZooKeeper.
  at org.apache.hive.jdbc.ZooKeeperHiveClientHelper.configureConnParams(ZooKeeperHiveClientHelper.java:68)
  ... 110 more&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 14:40:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233701#M195524</guid>
      <dc:creator>hlcastro</dc:creator>
      <dc:date>2018-06-28T14:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233702#M195525</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15452/hlcastro.html" nodeid="15452"&gt;@Hamilton Castro&lt;/A&gt;!&lt;BR /&gt;Could you check your ZK namespace under the hiveserver2 path? &lt;BR /&gt;Would be like this:&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[root@node3 ~]# zookeeper-client 
Connecting to localhost:2181
WatchedEvent state:SyncConnected type:None path:null
[zk: localhost:2181(CONNECTED) 0] ls /hiveserver2
[serverUri=node3:10000;version=1.2.1000.2.6.5.0-292;sequence=0000000013]&lt;/PRE&gt;btw, if your zk hosts it's not under the hosts as HS2, check if HS2 can reach 2181 port from ZK host &lt;BR /&gt;Hope this helps!</description>
      <pubDate>Thu, 28 Jun 2018 23:28:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233702#M195525</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-06-28T23:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233703#M195526</link>
      <description>&lt;P&gt;Did you find the solution. I have the same error.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 02:18:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233703#M195526</guid>
      <dc:creator>oz6911</dc:creator>
      <dc:date>2018-08-10T02:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233704#M195527</link>
      <description>&lt;P&gt;hive namespace was not created in zookeeper but ui work sometime and sometime not. I changed the namespace,restarted the hive service and it started working.  &lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 17:32:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233704#M195527</guid>
      <dc:creator>sidatbigdata</dc:creator>
      <dc:date>2018-11-20T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233705#M195528</link>
      <description>&lt;P&gt;I have the same output as you do : [serverUri=sandbox-hdp.hortonworks.com:10000;version=3.1.0.3.0.1.0-187;sequence=0000000008]&lt;/P&gt;&lt;P&gt;But I still get the following output when I try to start the sample.sh script that comes with Kylin:&lt;/P&gt;&lt;P&gt;[main]: ERROR jdbc.Utils: Unable to read HiveServer2 configs from ZooKeeper&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 23:28:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233705#M195528</guid>
      <dc:creator>marko_curlin</dc:creator>
      <dc:date>2018-12-14T23:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233706#M195529</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/20328/sidatbigdata.html" nodeid="20328"&gt;@Sidharth Kumar&lt;/A&gt;&lt;P&gt;How you resolved this ? Can you share the exact steps or command.&lt;/P&gt;&lt;P&gt;In my case is showing like below.&lt;/P&gt;&lt;P&gt;hive.server2.zookeeper.namespace=hiveserver2&lt;/P&gt;&lt;P&gt;hive.zookeeper.namespace=hive_zookeeper_namespace&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 21:37:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/233706#M195529</guid>
      <dc:creator>debananda_sahoo</dc:creator>
      <dc:date>2018-12-21T21:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/286525#M212493</link>
      <description>&lt;P&gt;1. Stop Hive service.&lt;/P&gt;&lt;P&gt;2. Delete hive service followed by its dependencies.&lt;BR /&gt;3. Restart HDFS, YARN, ZOOKEEPER.&lt;/P&gt;&lt;P&gt;4. Install HIVE, refresh hive client config on every host.&lt;/P&gt;&lt;P&gt;5. Start Hive service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check logs in back-end, some times you could see permission denied to remove "/var/lib/spark2/shs_db/listing.ldb", just remove it manually and restart the service.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Dec 2019 20:09:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/286525#M212493</guid>
      <dc:creator>vinish</dc:creator>
      <dc:date>2019-12-28T20:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Unable to read HiveServer2 configs from ZooKeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/288635#M213761</link>
      <description>&lt;P&gt;How do I check if HS2 can reach port 2181?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:24:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-resolve-Unable-to-read-HiveServer2-configs-from/m-p/288635#M213761</guid>
      <dc:creator>dewi</dc:creator>
      <dc:date>2020-01-30T11:24:56Z</dc:date>
    </item>
  </channel>
</rss>

