<?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 How to Do I get the Hive JDBC Driver for My Client in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94804#M8074</link>
    <description>&lt;P&gt;I would like to use SquirrelSQL or Oracle SQL Developer or another SQL tool to connect to Hive via JDBC.  Where do I find the Hive JDBC Client?&lt;/P&gt;</description>
    <pubDate>Sat, 03 Oct 2015 07:22:30 GMT</pubDate>
    <dc:creator>amcbarnett</dc:creator>
    <dc:date>2015-10-03T07:22:30Z</dc:date>
    <item>
      <title>How to Do I get the Hive JDBC Driver for My Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94804#M8074</link>
      <description>&lt;P&gt;I would like to use SquirrelSQL or Oracle SQL Developer or another SQL tool to connect to Hive via JDBC.  Where do I find the Hive JDBC Client?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2015 07:22:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94804#M8074</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2015-10-03T07:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Do I get the Hive JDBC Driver for My Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94805#M8075</link>
      <description>&lt;P&gt;&lt;STRONG&gt;FOR HDP 2.2.x&lt;/STRONG&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-*-0.14*.jar&lt;/LI&gt;&lt;LI&gt;httpclient-4.2.5.jar&lt;/LI&gt;&lt;LI&gt;httpcore-4.2.5.jar&lt;/LI&gt;&lt;LI&gt;libthrift-0.9.0.jar&lt;/LI&gt;&lt;LI&gt;libfb303-0.9.0.jar&lt;/LI&gt;&lt;LI&gt;commons-logging-1.1.3.jar&lt;/LI&gt;&lt;/UL&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;&lt;STRONG&gt;FOR BOTH&lt;/STRONG&gt;&lt;/P&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;From /usr/hdp/current/hadoop-client/lib&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;log4j-1.2.17.jar&lt;/LI&gt;&lt;LI&gt;slf4j-*.jar&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Download SquirrelSQL from
sourceforge.net&lt;/P&gt;&lt;P&gt;&lt;A href="http://squirrel-sql.sourceforge.net/"&gt;http://squirrel-sql.sourceforge.net/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://squirrel-sql.sourceforge.net/"&gt;&lt;/A&gt;Configure Hive Driver in Squirrel
SQL&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Select ‘Drivers -&amp;gt; New Driver…’ to register the Hive JDBC driver.&lt;/LI&gt;&lt;LI&gt;Enter Hive for Driver Name and jdbc:// Example URL:
jdbc:hive://localhost:10000/default&lt;/LI&gt;&lt;LI&gt;Select ‘Extra Class Path -&amp;gt; Add’ to add the jars you copied from the
previous steps.&lt;/LI&gt;&lt;LI&gt;Enter org.apache.hive.jdbc.HiveDriver
as Class Name&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Add a New Hive Connection Alias for HDP 2.3&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Choose Alias -&amp;gt; New Alias&lt;/LI&gt;&lt;LI&gt;Enter “Hive for HDP 2.3”&lt;/LI&gt;&lt;LI&gt;Enter “jdbc:hive2://1270.0.1:10000”&lt;/LI&gt;&lt;LI&gt;Enter “hive” for User Name and “hive” for Password.&lt;/LI&gt;&lt;LI&gt;Test your connection and ensure it is successful&lt;/LI&gt;&lt;LI&gt;Connect to “Hive for HDP 2.3.” alias.  If successful you would be presented with the
default and xademo databases.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Oracle SQL Developer and Toad for Apache Hadoop does not use Apache Hive JDBC Driver.  They are both black boxes that hide the the ability to easily point to a JDBC class path and just end whatever JDBC properties you desire.&lt;/P&gt;&lt;P&gt;So if you need to add special properties for ssl, or kerberos or ldap authentication, neither SQL Developer nor Toad will work.&lt;/P&gt;&lt;P&gt;
Use SQL Workbench J, RazorSQL or Squirrel SQL instead.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2015 07:33:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94805#M8075</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2015-10-03T07:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Do I get the Hive JDBC Driver for My Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94806#M8076</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/175/dstreever.html" nodeid="175"&gt;@dstreever@hortonworks.com&lt;/A&gt; has a nice write up on this, including a script that pulls together the needed jars, on his wiki at &lt;A href="https://streever.atlassian.net/wiki/x/DABD" target="_blank"&gt;https://streever.atlassian.net/wiki/x/DABD&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2015 08:45:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94806#M8076</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2015-10-03T08:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Do I get the Hive JDBC Driver for My Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94807#M8077</link>
      <description>&lt;P&gt;Starting with Hive 0.14, there is a standalone jar that contains most of the necessary binaries. It still currently requires two additional jars until &lt;A target="_blank" href="https://issues.apache.org/jira/browse/HIVE-9600"&gt;HIVE-9600&lt;/A&gt; is resolved:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hive-jdbc-&amp;lt;version&amp;gt;-standalone.jar&lt;/LI&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;See &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_dataintegration/content/hive-jdbc-odbc-drivers.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_dataintegration/content/hive-jdbc-odbc-drivers.html&lt;/A&gt; for details.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 00:13:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94807#M8077</guid>
      <dc:creator>jpp</dc:creator>
      <dc:date>2015-10-06T00:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Do I get the Hive JDBC Driver for My Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94808#M8078</link>
      <description>&lt;P&gt;I have tested this and this is the best/easy way to configure the connection&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2189-screen-shot-2016-02-16-at-34215-pm.png" style="width: 1378px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/24057i0AF0FF2C45CEE5C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2189-screen-shot-2016-02-16-at-34215-pm.png" alt="2189-screen-shot-2016-02-16-at-34215-pm.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="2190-screen-shot-2016-02-16-at-34347-pm.png" style="width: 2234px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/24058iBBA35DFE82F8CCB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2190-screen-shot-2016-02-16-at-34347-pm.png" alt="2190-screen-shot-2016-02-16-at-34347-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:59:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94808#M8078</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T12:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Do I get the Hive JDBC Driver for My Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94809#M8079</link>
      <description>&lt;P&gt;I have HDP 2.3 sandbox in my server, I followed you instruction to setup the connection for squirrel sql,
I got under exception:&lt;/P&gt;&lt;P&gt;java.util.concurrent.ExecutionException: java.lang.RuntimeException: &lt;STRONG&gt;java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration&lt;/STRONG&gt;
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.awaitConnection(OpenConnectionCommand.java:132)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$100(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$2.run(OpenConnectionCommand.java:115)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:175)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
... 5 more
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
at org.apache.hive.jdbc.HiveConnection.createUnderlyingTransport(HiveConnection.java:418)
at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:438)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:179)
at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:152)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
... 7 more
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 14 more&lt;/P&gt;&lt;P&gt;can you please help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 21:03:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94809#M8079</guid>
      <dc:creator>guostong</dc:creator>
      <dc:date>2016-04-25T21:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Do I get the Hive JDBC Driver for My Client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94810#M8080</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; check out the repo i've been maintianing that uses maven to pull the required jars.  &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/repos/33592/hive-jdbc-uber-jar.html" target="_blank"&gt;https://community.hortonworks.com/repos/33592/hive-jdbc-uber-jar.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 20:47:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Do-I-get-the-Hive-JDBC-Driver-for-My-Client/m-p/94810#M8080</guid>
      <dc:creator>tveil</dc:creator>
      <dc:date>2016-05-18T20:47:49Z</dc:date>
    </item>
  </channel>
</rss>

