<?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 connect to Spark2 Thrift Server via JDBC in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215755#M177665</link>
    <description>&lt;P&gt;I figured this one out - the hive-jdbc.jar driver that comes with HDP 2.6.1 is not compatible with the Spark2 Thrift Server.&lt;/P&gt;&lt;P&gt;It's also not compatible with the Hive 1.2 that ships with 2.6.1.&lt;/P&gt;&lt;P&gt;If you just grab an older version of the driver, it works as expected, using the connection settings described above.&lt;/P&gt;&lt;P&gt;Port 10016 for Spark2, port 10015 for the original...&lt;/P&gt;</description>
    <pubDate>Sat, 24 Jun 2017 18:18:02 GMT</pubDate>
    <dc:creator>zack_riesland</dc:creator>
    <dc:date>2017-06-24T18:18:02Z</dc:date>
    <item>
      <title>How to connect to Spark2 Thrift Server via JDBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215753#M177663</link>
      <description>&lt;P&gt;I want to connect Aqua Data Studio to the Spark2 Thrift Server on our cluster.&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction as far as connection string and drivers, etc?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 21:17:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215753#M177663</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2017-06-23T21:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Spark2 Thrift Server via JDBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215754#M177664</link>
      <description>&lt;P&gt;So far, I've figured out that a connection string like this is what you need:&lt;/P&gt;&lt;P&gt;jdbc:hive2://&amp;lt;thrift server&amp;gt;:10016/&amp;lt;dbname&amp;gt;&lt;/P&gt;&lt;P&gt;And the driver class is just like Hive: org.apache.hive.jdbc.HiveDriver&lt;/P&gt;&lt;P&gt;However, the hive-jdbc.jar file is supposed to work, but doesn't.&lt;/P&gt;&lt;P&gt;I get this error:&lt;/P&gt;&lt;TABLE&gt;
      &lt;TBODY&gt;&lt;TR&gt;
        &lt;TD&gt;
          Required field 'client_protocol' is unset! 
          Struct:TOpenSessionReq(client_protocol:null, 
          configuration:{use:database=default})
        &lt;/TD&gt;
      &lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 23 Jun 2017 22:02:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215754#M177664</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2017-06-23T22:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Spark2 Thrift Server via JDBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215755#M177665</link>
      <description>&lt;P&gt;I figured this one out - the hive-jdbc.jar driver that comes with HDP 2.6.1 is not compatible with the Spark2 Thrift Server.&lt;/P&gt;&lt;P&gt;It's also not compatible with the Hive 1.2 that ships with 2.6.1.&lt;/P&gt;&lt;P&gt;If you just grab an older version of the driver, it works as expected, using the connection settings described above.&lt;/P&gt;&lt;P&gt;Port 10016 for Spark2, port 10015 for the original...&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 18:18:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215755#M177665</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2017-06-24T18:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Spark2 Thrift Server via JDBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215756#M177666</link>
      <description>&lt;P&gt;Which files did you end up using? I looked here &lt;A href="http://repo.hortonworks.com/content/repositories/releases/org/apache/hive/hive-jdbc/" target="_blank"&gt;http://repo.hortonworks.com/content/repositories/releases/org/apache/hive/hive-jdbc/&lt;/A&gt; and there are tons of them.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Dec 2017 05:27:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-connect-to-Spark2-Thrift-Server-via-JDBC/m-p/215756#M177666</guid>
      <dc:creator>hoc</dc:creator>
      <dc:date>2017-12-31T05:27:59Z</dc:date>
    </item>
  </channel>
</rss>

