<?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 get Hive zooKeeperNamespace in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-Hive-zooKeeperNamespace/m-p/48459#M48589</link>
    <description>&lt;P&gt;I guess I did my trick to get the zookeeper_namespace . I wrote a small piece of code to connect zookeeper and get the childrens from zookeeper then match with hive server with port number . Ex :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from the below output , I have 2 namespace for hive , but my server match with the 1st one. That I need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{:req_id=&amp;gt;3,&lt;BR /&gt;:rc=&amp;gt;0,&lt;BR /&gt;:children=&amp;gt;&lt;BR /&gt;["serverUri=lnxcdh23.testme.org:10000;version=1.1.0-cdh5.4.4;sequence=0000000001"],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{:req_id=&amp;gt;2,&lt;BR /&gt;:rc=&amp;gt;0,&lt;BR /&gt;:children=&amp;gt;[],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khirod&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2016 09:46:58 GMT</pubDate>
    <dc:creator>Khirod</dc:creator>
    <dc:date>2016-12-13T09:46:58Z</dc:date>
    <item>
      <title>How to get Hive zooKeeperNamespace</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-Hive-zooKeeperNamespace/m-p/48436#M48587</link>
      <description>&lt;P&gt;I need&amp;nbsp;&lt;SPAN&gt;zooKeeperNamespace for jdbc connection . The default value is "hiveserver2" . Can I get this value form any property&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from hive-site.xml I got . But this is different . And could not connect through jdbc. It throws&amp;nbsp;Unable to read HiveServer2 uri from ZooKeeper. Where as when I user hiveserver2 it is working fine. &amp;nbsp;Let me know for any further information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.zookeeper.namespace&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;hive_zookeeper_namespace_hive2&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Khirod&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:50:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-Hive-zooKeeperNamespace/m-p/48436#M48587</guid>
      <dc:creator>Khirod</dc:creator>
      <dc:date>2022-09-16T10:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Hive zooKeeperNamespace</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-Hive-zooKeeperNamespace/m-p/48437#M48588</link>
      <description>&lt;P&gt;OR&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;zooKeeperNamespace = { the Hive service name we choosed at the time of installation which is be default hiveserver2 } ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 17:09:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-Hive-zooKeeperNamespace/m-p/48437#M48588</guid>
      <dc:creator>Khirod</dc:creator>
      <dc:date>2016-12-12T17:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Hive zooKeeperNamespace</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-Hive-zooKeeperNamespace/m-p/48459#M48589</link>
      <description>&lt;P&gt;I guess I did my trick to get the zookeeper_namespace . I wrote a small piece of code to connect zookeeper and get the childrens from zookeeper then match with hive server with port number . Ex :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from the below output , I have 2 namespace for hive , but my server match with the 1st one. That I need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{:req_id=&amp;gt;3,&lt;BR /&gt;:rc=&amp;gt;0,&lt;BR /&gt;:children=&amp;gt;&lt;BR /&gt;["serverUri=lnxcdh23.testme.org:10000;version=1.1.0-cdh5.4.4;sequence=0000000001"],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{:req_id=&amp;gt;2,&lt;BR /&gt;:rc=&amp;gt;0,&lt;BR /&gt;:children=&amp;gt;[],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khirod&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 09:46:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-Hive-zooKeeperNamespace/m-p/48459#M48589</guid>
      <dc:creator>Khirod</dc:creator>
      <dc:date>2016-12-13T09:46:58Z</dc:date>
    </item>
  </channel>
</rss>

