<?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: Will Zookeeper select the stopped hiveserver2? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216107#M84151</link>
    <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/98357/madhura2688.html" nodeid="98357"&gt;@Madhura Mhatre&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1) If you have multiple hiveservers, you will have multiple znodes(of the above mentioned forma) under /hiveserver2. When you stop the hiveserver2, respective znode will be deleted from zookeeper. If you stop all the hiveserver instances, then /hiveserver2 will have no znodes under it. You should not delete /hiveserver2 . hiveserver2 is the parent znode , respective hiveserver znodes will be under the parent znode ie /hiveserver2.&lt;/P&gt;&lt;P&gt;2) By installing do you mean you want to add another hiveserver2 to the cluster. If yes, then follow the below doc link&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_hadoop-high-availability/content/additional_hs2_installed_with_ambari.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_hadoop-high-availability/content/additional_hs2_installed_with_ambari.html&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 23:46:30 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2018-10-08T23:46:30Z</dc:date>
    <item>
      <title>Will Zookeeper select the stopped hiveserver2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216104#M84148</link>
      <description>&lt;P&gt;I have a node where I have installed hiveserver2. I have to stop the running hiveserver2 on that node, if I just stop the hiveserver2. It still shows up in the zookeeper if I do ls /hiverserver ... So zookeeper will still select that hiveserver even though its stopped? As I know zookeeper will select randomly registered hive server2. &lt;/P&gt;&lt;P&gt;Also If I want to install the hiverserver2 again.. I should just install it from Ambari right? is there any other steps need to follow to install hiveserver2?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 22:48:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216104#M84148</guid>
      <dc:creator>madhura2688</dc:creator>
      <dc:date>2018-10-08T22:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Will Zookeeper select the stopped hiveserver2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216105#M84149</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/98357/madhura2688.html" nodeid="98357"&gt;@Madhura Mhatre&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;When you start HiveServer2 , it will create a znode under /hiveserver2 with the below format&lt;/P&gt;&lt;PRE&gt;serverUri=hiveserver2host:10000;version=3.1.0.3.0.1.0-187;sequence=0000000000&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;After hiveserver2 is stopped, it will delete this znode but not the parent /hiveserver znode. If you want to install the hiveserver2 again, you can do it again from Ambari.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please "Accept" the answer if this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 23:05:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216105#M84149</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-10-08T23:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Will Zookeeper select the stopped hiveserver2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216106#M84150</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt;, I have some followup questions.&lt;/P&gt;&lt;P&gt;1. I have multple hiveserver, so thats why I want to stop one.. but if I stop it I still see the znode. So I am not sure if Zookeeper will select this hiveserver2 randomly. Do I need to delete this hiveserver2 after stopping so it will get deleted from the znode?&lt;/P&gt;&lt;P&gt;2. For hiveserver2 to install is there any steps need to follow?&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 23:25:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216106#M84150</guid>
      <dc:creator>madhura2688</dc:creator>
      <dc:date>2018-10-08T23:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Will Zookeeper select the stopped hiveserver2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216107#M84151</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/98357/madhura2688.html" nodeid="98357"&gt;@Madhura Mhatre&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1) If you have multiple hiveservers, you will have multiple znodes(of the above mentioned forma) under /hiveserver2. When you stop the hiveserver2, respective znode will be deleted from zookeeper. If you stop all the hiveserver instances, then /hiveserver2 will have no znodes under it. You should not delete /hiveserver2 . hiveserver2 is the parent znode , respective hiveserver znodes will be under the parent znode ie /hiveserver2.&lt;/P&gt;&lt;P&gt;2) By installing do you mean you want to add another hiveserver2 to the cluster. If yes, then follow the below doc link&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_hadoop-high-availability/content/additional_hs2_installed_with_ambari.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_hadoop-high-availability/content/additional_hs2_installed_with_ambari.html&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 23:46:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Will-Zookeeper-select-the-stopped-hiveserver2/m-p/216107#M84151</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-10-08T23:46:30Z</dc:date>
    </item>
  </channel>
</rss>

