<?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 access Spark Thrift server via jdbc from apache nifi? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-access-Spark-Thrift-server-via-jdbc-from-apache-nifi/m-p/374069#M241868</link>
    <description>&lt;P&gt;Old version of Databricks jdbc jar has the simba driver class, with that I am able to use jdbc:spark:// connection&amp;nbsp; string.&lt;BR /&gt;But jdbc:hive2:// performance looks better with thrift for me&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 03:46:53 GMT</pubDate>
    <dc:creator>hegdemahendra</dc:creator>
    <dc:date>2023-07-19T03:46:53Z</dc:date>
    <item>
      <title>How to access Spark Thrift server via jdbc from apache nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-access-Spark-Thrift-server-via-jdbc-from-apache-nifi/m-p/373945#M241825</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to query delta table from apache nifi.&lt;BR /&gt;Since Nifi cant connect delta table directly, I am trying it through Spark Thrift Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used 'Hive3ConnectionPool' controller service with 'SelectHive3QL' processor and used below jdbc url and it worked for me.&lt;/P&gt;&lt;PRE&gt;jdbc:hive2://localhost:10002&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I dont know whether using jdbc:hive2//&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt; is right approach or should I use jdbc:spark//&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt; url?&lt;/P&gt;&lt;P&gt;Will there be any performance difference between&amp;nbsp;jdbc:hive2 &amp;amp;&amp;nbsp;jdbc:spark jdbc url's with respect to performance or any other imp thing?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried&amp;nbsp;jdbc:spark//&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt; url with '&lt;SPAN&gt;DBCPConnectionPool 1.16.3&lt;/SPAN&gt;' cntroller service but could not succeed with DatabricksJDBC jar.&lt;BR /&gt;&lt;BR /&gt;Any suggestion would be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 04:48:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-access-Spark-Thrift-server-via-jdbc-from-apache-nifi/m-p/373945#M241825</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2023-07-17T04:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Spark Thrift server via jdbc from apache nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-access-Spark-Thrift-server-via-jdbc-from-apache-nifi/m-p/374069#M241868</link>
      <description>&lt;P&gt;Old version of Databricks jdbc jar has the simba driver class, with that I am able to use jdbc:spark:// connection&amp;nbsp; string.&lt;BR /&gt;But jdbc:hive2:// performance looks better with thrift for me&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 03:46:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-access-Spark-Thrift-server-via-jdbc-from-apache-nifi/m-p/374069#M241868</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2023-07-19T03:46:53Z</dc:date>
    </item>
  </channel>
</rss>

