<?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: JDBC string for HIVE in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102862#M65794</link>
    <description>&lt;P&gt;Please take look here. Great info on connection details for jdbc &lt;A href="https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Jan 2016 02:27:38 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2016-01-17T02:27:38Z</dc:date>
    <item>
      <title>JDBC string for HIVE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102859#M65791</link>
      <description>&lt;P&gt;I have installed VNC server on Ambari(HDP Sandbox).  From Eclipse on VNC Client, I want to query Hive database.  What is the JDBC string I should use?  I looked at other posts.  Its very confusing.  I am using HDP 2.3.2.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2016 12:12:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102859#M65791</guid>
      <dc:creator>vidyaranya_kupp</dc:creator>
      <dc:date>2016-01-16T12:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC string for HIVE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102860#M65792</link>
      <description>&lt;P&gt;Since HDP Sandbox is on one node and you are running the eclipse also on the same node then you should be able to connect using jdbc:hive2://localhost:10000.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2016 13:24:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102860#M65792</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2016-01-16T13:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC string for HIVE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102861#M65793</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/7392"&gt;@de&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I have added jar files and connection details.  Connection failed. Please suggest.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1402-hive-jdbc-2.jpg" style="width: 1366px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23679i3FFF08CB3E0133D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1402-hive-jdbc-2.jpg" alt="1402-hive-jdbc-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1401-hive-jdbc-1.jpg" style="width: 1366px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23680i112AF5277508EA2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1401-hive-jdbc-1.jpg" alt="1401-hive-jdbc-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;,&lt;A rel="user" href="https://community.cloudera.com/users/222/deepesh.html" nodeid="222" target="_blank"&gt;@Deepesh&lt;/A&gt;&lt;P&gt;Thanks Deepesh.  Please find screen shots below.  I have added JAR files and database connection details.  connection failed.  Please help&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1399-hive-jdbc-1.jpg" style="width: 1366px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23681iE4EC82EB553FDFB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1399-hive-jdbc-1.jpg" alt="1399-hive-jdbc-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1400-hive-jdbc-2.jpg" style="width: 1366px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23682i3E8370CE8CF1A84E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1400-hive-jdbc-2.jpg" alt="1400-hive-jdbc-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:12:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102861#M65793</guid>
      <dc:creator>vidyaranya_kupp</dc:creator>
      <dc:date>2019-08-19T12:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC string for HIVE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102862#M65794</link>
      <description>&lt;P&gt;Please take look here. Great info on connection details for jdbc &lt;A href="https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 02:27:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102862#M65794</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-01-17T02:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC string for HIVE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102863#M65795</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1870/vidyaranyakuppa.html" nodeid="1870"&gt;@Vidya SK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Double check that you have all the Hive JDBC jar files&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR HDP 2.3.x&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From /usr/hdp/current/hive-client/lib/ sftp or scp to your local desktop&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;hive-jdbc.jar&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;From /usr/hdp/current/hadoop-client&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;hadoop-common.jar&lt;/LI&gt;&lt;LI&gt;hadoop-auth.jar&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;User name: hive&lt;/P&gt;&lt;P&gt;Password: hive&lt;/P&gt;&lt;P&gt;I cannot remember if the Sandbox is setup with Hive run as user = false or not.  Need to double check.

As was indicated earlier use URL&lt;/P&gt;&lt;PRE&gt;jdbc:hive2://127.0.0.1:10000 &lt;/PRE&gt;&lt;P&gt;See also the &lt;A href="https://community.hortonworks.com/questions/830/how-to-do-i-get-the-hive-jdbc-driver-for-my-clinet.html"&gt;answers&lt;/A&gt; for a related question &lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 02:38:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102863#M65795</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-01-17T02:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC string for HIVE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102864#M65796</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/369/amcbarnett.html" nodeid="369"&gt;@Ancil McBarnett&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It worked !!   Great !!! Thanks a lot Ancil.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:48:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102864#M65796</guid>
      <dc:creator>vidyaranya_kupp</dc:creator>
      <dc:date>2016-01-17T03:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC string for HIVE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102865#M65797</link>
      <description>&lt;P&gt;I'd recommend to test connectivity first. You can do it with beeline tool. Once you connected to jdbc url from beeline u can continue experiments with eclipse. &lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 07:40:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JDBC-string-for-HIVE/m-p/102865#M65797</guid>
      <dc:creator>bluesmix</dc:creator>
      <dc:date>2016-01-17T07:40:41Z</dc:date>
    </item>
  </channel>
</rss>

