<?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: Unable to connect hive via ODBC zookeeper in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177104#M67676</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/43277/ayazahmed535.html"&gt;Mohammed Ayaz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you paste here your hosts entry ?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 18:00:44 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2017-09-06T18:00:44Z</dc:date>
    <item>
      <title>Unable to connect hive via ODBC zookeeper</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177103#M67675</link>
      <description>&lt;P&gt;Hi hortonworks Community,&lt;/P&gt;&lt;P&gt;I am facing some issues while connecting hive via ODBC using zookeeper. &lt;/P&gt;&lt;P&gt;HDP version: 2.6&lt;/P&gt;&lt;P&gt;Zookeeper:3.4.6&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="38539-zookeeper.png" style="width: 1378px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19604i02AAFB129A1C9DDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="38539-zookeeper.png" alt="38539-zookeeper.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="38538-odbc.png" style="width: 935px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19605i947052AA82ABE35E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="38538-odbc.png" alt="38538-odbc.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:47:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177103#M67675</guid>
      <dc:creator>ayazahmed535</dc:creator>
      <dc:date>2019-08-18T09:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive via ODBC zookeeper</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177104#M67676</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/43277/ayazahmed535.html"&gt;Mohammed Ayaz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you paste here your hosts entry ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 18:00:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177104#M67676</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-06T18:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive via ODBC zookeeper</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177105#M67677</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;10.127.36.221   ambari.hdp.local   hdpc &lt;/P&gt;&lt;P&gt;10.127.36.214   hadoopmaster.hdp.local   hdpm &lt;/P&gt;&lt;P&gt;10.127.36.217   hadoopslave1.hdp.local   hdps1 &lt;/P&gt;&lt;P&gt;10.127.36.218   hadoopslave2.hdp.local   hdps2&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 20:12:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177105#M67677</guid>
      <dc:creator>ayazahmed535</dc:creator>
      <dc:date>2017-09-06T20:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive via ODBC zookeeper</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177106#M67678</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/43277/ayazahmed535.html"&gt;Mohammed Ayaz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HDP 2.3 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ambari 2.1.2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Non kerberized. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Installed HortonworksHiveODBC32 and  HortonworksHiveODBC64 bit &lt;/P&gt;&lt;P&gt;Laptop C:\Windows\System32\drivers\etc\hosts  entry &lt;/P&gt;&lt;PRE&gt;# localhost name resolution is handled within DNS itself. 
#127.0.0.1       localhost 
#::1             localhost 
192.168.0.80   gulu.uganda.com   gulu 
192.168.0.157  bombo.uganda.com  bombo 
192.168.0.213  sandbox.hortonworks.com   sandbox &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Logged to my I node cluster using putty&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[hive@bombo ~]$ hive WARNING: Use "yarn jar" to launch YARN applications. 
Logging initialized using configuration in file:/etc/hive/2.3.6.0-3796/0/hive-log4j.properties 
hive&amp;gt; show databases; 
OK 
default Time taken: 4.796 seconds, Fetched: 1 row(s) 
hive&amp;gt; SET hive.cli.print.header=true;
hive&amp;gt; create database amin; 
OK 
Time taken: 1.79 seconds &lt;/PRE&gt;
&lt;PRE&gt;hive&amp;gt; use amin; 
OK 
Time taken: 0.355 seconds &lt;/PRE&gt;&lt;P&gt;Created a table&lt;/P&gt;&lt;PRE&gt;hive&amp;gt;CREATE TABLE amin.orders_hive
(
  Order_ID                      string
, Customer_ID                   int
, Store_ID                      int
-- , Order_Datetime_Orig           timestamp
, Order_Datetime                timestamp
, Ship_Completion_Datetime      timestamp
, Return_Datetime               timestamp
, Refund_Datetime               timestamp
, Payment_Method_Code           string
)
  -- PARTITIONED BY (Order_Datetime timestamp)
  ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'
  STORED AS TEXTFILE
  LOCATION '/apps/hive/warehouse/';&lt;/PRE&gt;&lt;P&gt;I choose 2 types of connection with and without zookeeper and my connection was successful. I then created a third connection with my user/password  and that too was successful using  option.&lt;/P&gt;&lt;P&gt;See attached screenshots&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6009iFA898A7DAC6B2306/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ayaz02hdp23.jpg" title="ayaz02hdp23.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6010i52388C7BEB335FAF/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ayaz-zookeeper-hdp23.jpg" title="ayaz-zookeeper-hdp23.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6011i89ED6D1B724D3F26/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="newuserhdp23.jpg" title="newuserhdp23.jpg" /&gt;</description>
      <pubDate>Thu, 07 Sep 2017 02:43:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177106#M67678</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-07T02:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive via ODBC zookeeper</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177107#M67679</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I have added hosts in client machine, it works like charm.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 12:51:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-hive-via-ODBC-zookeeper/m-p/177107#M67679</guid>
      <dc:creator>ayazahmed535</dc:creator>
      <dc:date>2017-09-07T12:51:49Z</dc:date>
    </item>
  </channel>
</rss>

