<?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: Error: PutDatabaseRecord + Hive connection pool in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212555#M174491</link>
    <description>&lt;P&gt;What version of the Hive driver are you using? I'm not sure there is a version of the Hive driver available that supports all the JDBC API calls made by PutDatabaseRecord, such as executeBatch(). Also since the Hive JDBC driver auto-commits after each operation, PutDatabaseRecord + Hive would not be any more performant than using PutHiveQL. In an upcoming version of NiFi/HDF (for Hive 3.0), you should be able to use PutHive3Streaming to do what you want.&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 22:43:42 GMT</pubDate>
    <dc:creator>mburgess</dc:creator>
    <dc:date>2018-05-29T22:43:42Z</dc:date>
    <item>
      <title>Error: PutDatabaseRecord + Hive connection pool</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212554#M174490</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using the processor PutDatabaseRecord with a Hive connection pool to insert data in my table. But I get the following error:&lt;/P&gt;&lt;P&gt;Error : &lt;/P&gt;&lt;P&gt;My log file :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="77416-fichierlog.png" style="width: 1904px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16571iE5A3870CFD9F1E46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="77416-fichierlog.png" alt="77416-fichierlog.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="77415-error.png" style="width: 660px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16572i01A4BF19176DBBDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="77415-error.png" alt="77415-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used the same connection pool with putHiveQL and everything is working fine. &lt;/P&gt;&lt;P&gt;Can someone help me plz? &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 03:48:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212554#M174490</guid>
      <dc:creator>AmiraKhalifa</dc:creator>
      <dc:date>2019-08-18T03:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error: PutDatabaseRecord + Hive connection pool</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212555#M174491</link>
      <description>&lt;P&gt;What version of the Hive driver are you using? I'm not sure there is a version of the Hive driver available that supports all the JDBC API calls made by PutDatabaseRecord, such as executeBatch(). Also since the Hive JDBC driver auto-commits after each operation, PutDatabaseRecord + Hive would not be any more performant than using PutHiveQL. In an upcoming version of NiFi/HDF (for Hive 3.0), you should be able to use PutHive3Streaming to do what you want.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 22:43:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212555#M174491</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2018-05-29T22:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error: PutDatabaseRecord + Hive connection pool</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212556#M174492</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; Thank you for your response &lt;/P&gt;&lt;P&gt;I'm using hive-jdbc-2.1.0.jar.&lt;/P&gt;&lt;P&gt; So the processor PutDatabaseRecord does not offer the insert functionality wih a hive pool connection? if it is the case ,why this connection is proposed in the processor ? Can we do an update and delete query with PutDatabaseRecord + Hive ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 23:33:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212556#M174492</guid>
      <dc:creator>AmiraKhalifa</dc:creator>
      <dc:date>2018-05-29T23:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error: PutDatabaseRecord + Hive connection pool</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212557#M174493</link>
      <description>&lt;P&gt;The HiveConnectionPool is a special type of DBCPConnectionPool, so instances of it get listed with all the others, as it is not the connection pool that doesn't support the operations, but the driver itself. &lt;/P&gt;&lt;P&gt;What format is the input data in? You should be able to use ConvertRecord with a FreeFormTextWriter to generate SQL from your input data (don't forget the semicolon at the end of the line), then you can send that to PutHiveQL.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 00:03:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212557#M174493</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2018-05-30T00:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error: PutDatabaseRecord + Hive connection pool</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212558#M174494</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have a csv file .. I will try this approach &lt;/P&gt;&lt;P&gt;Thank you ! I accept this answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 15:48:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/212558#M174494</guid>
      <dc:creator>AmiraKhalifa</dc:creator>
      <dc:date>2018-05-30T15:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: PutDatabaseRecord + Hive connection pool</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/268629#M206313</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for a processor that would let me pull a query out of a field of the incoming flow file, instead of turning the entire flow file into a query. PutDatabaseRecord allowed to do that (which is when I discovered that the Hive connection does not support an explicit call of conn.commit()).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to keep as much of the flow file intact as possible, is there a way to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 03:11:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-PutDatabaseRecord-Hive-connection-pool/m-p/268629#M206313</guid>
      <dc:creator>sujay1848</dc:creator>
      <dc:date>2019-08-22T03:11:42Z</dc:date>
    </item>
  </channel>
</rss>

