<?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: hiveserver2 not starting (Zookeeper not ready) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-Zookeeper-not-ready/m-p/176127#M138382</link>
    <description>&lt;P&gt;&lt;A href="@Michael North"&gt;&lt;EM&gt;@Michael North&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The znode is created when you fire up zk it read and uploads the config of most of the components. I would think you need to revise your hive setup.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Switch directory to &lt;STRONG&gt;/usr/hdp/current/zookeeper-client/ &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ ./bin/zkCli.sh &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Could you check your ZK namespace under the hiveserver2 path you should have an entry like below &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) o] ls /hiveserver2 
[serverUri=nakuru.kenya.ke:10000;version=1.2.1000.2.6.2.0-205;sequence=0000000061] 
[zk: localhost:2181(CONNECTED) 1] &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Can you check if HS2 can reach 2181 port of ZK host which in your case is the same machine? Have you configured a metastore for your hive either MySQL, Postgres or otherwise? if not you need to do that See my attached screenshot When the HS2 is running and only then when you restart will zk pick the configuration and the znode as shown above&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;
&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6796iABECDF670C783B00/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture10b.jpg" title="capture10b.jpg" /&gt;</description>
    <pubDate>Sat, 01 Sep 2018 03:16:18 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-09-01T03:16:18Z</dc:date>
  </channel>
</rss>

