<?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: Spark Connect to CDP Warehouse using Hive JDBC Method not supported error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Spark-Connect-to-CDP-Warehouse-using-Hive-JDBC-Method-not/m-p/374050#M241864</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105854"&gt;@dcardenas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;In CDH/CDP clusters, the integration between Spark and Hive service is get done by implementing &lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/developing-spark-applications/topics/spark-using-spark-sql.html" target="_self"&gt;Spark SQL API&lt;/A&gt; for Hive External tables through HiveMetastore and HWC (&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/integrating-hive-and-bi/topics/hive_hivewarehouseconnector_for_handling_apache_spark_data.html" target="_self"&gt;Hive Warehouse Connector&lt;/A&gt;) to Hive Managed/ACID tables.&lt;BR /&gt;&lt;BR /&gt;Therefore, Spark accessing Hive with JDBC is not supported, please check&amp;nbsp;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/spark-overview/topics/spark-unsupported-features.html" target="_self"&gt;Unsupported Apache Spark Features&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2023 18:32:18 GMT</pubDate>
    <dc:creator>PaulDM</dc:creator>
    <dc:date>2023-07-18T18:32:18Z</dc:date>
    <item>
      <title>Spark Connect to CDP Warehouse using Hive JDBC Method not supported error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-Connect-to-CDP-Warehouse-using-Hive-JDBC-Method-not/m-p/374021#M241858</link>
      <description>&lt;P&gt;Hello, I've been trying to use Spark jdbc to connect to a CDP cloud virtual warehouse using the Hive jar (hive-jdbc-3.1.0-SNAPSHOT-standalone.jar) but I have the following error&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Caused by: java.sql.SQLFeatureNotSupportedException: Method not supported&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at org.apache.hive.jdbc.HivePreparedStatement.addBatch(HivePreparedStatement.java:78)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Looking into the jar sources I see that the addBatch method throws the exception by default. Spark needs to use this method to insert the data into hive. Is there any other driver that can be used to overcome this problem.If no, does cloudera will support spark to connect to CDP virtual warehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:51:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-Connect-to-CDP-Warehouse-using-Hive-JDBC-Method-not/m-p/374021#M241858</guid>
      <dc:creator>dcardenas</dc:creator>
      <dc:date>2026-04-21T06:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connect to CDP Warehouse using Hive JDBC Method not supported error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-Connect-to-CDP-Warehouse-using-Hive-JDBC-Method-not/m-p/374035#M241862</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105854"&gt;@dcardenas&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Spark experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22324"&gt;@Bharati&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/67146"&gt;@jagadeesan&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 16:10:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-Connect-to-CDP-Warehouse-using-Hive-JDBC-Method-not/m-p/374035#M241862</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-07-18T16:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connect to CDP Warehouse using Hive JDBC Method not supported error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-Connect-to-CDP-Warehouse-using-Hive-JDBC-Method-not/m-p/374050#M241864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105854"&gt;@dcardenas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;In CDH/CDP clusters, the integration between Spark and Hive service is get done by implementing &lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/developing-spark-applications/topics/spark-using-spark-sql.html" target="_self"&gt;Spark SQL API&lt;/A&gt; for Hive External tables through HiveMetastore and HWC (&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/integrating-hive-and-bi/topics/hive_hivewarehouseconnector_for_handling_apache_spark_data.html" target="_self"&gt;Hive Warehouse Connector&lt;/A&gt;) to Hive Managed/ACID tables.&lt;BR /&gt;&lt;BR /&gt;Therefore, Spark accessing Hive with JDBC is not supported, please check&amp;nbsp;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/spark-overview/topics/spark-unsupported-features.html" target="_self"&gt;Unsupported Apache Spark Features&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 18:32:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-Connect-to-CDP-Warehouse-using-Hive-JDBC-Method-not/m-p/374050#M241864</guid>
      <dc:creator>PaulDM</dc:creator>
      <dc:date>2023-07-18T18:32:18Z</dc:date>
    </item>
  </channel>
</rss>

