<?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: NiFi Error:failed to update database due to failed batch update in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122063#M55352</link>
    <description>&lt;P&gt;Look for errors&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/71839/decyphering-error-messages-in-apache-nifi.html" target="_blank"&gt;https://community.hortonworks.com/articles/71839/decyphering-error-messages-in-apache-nifi.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 22:28:28 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2017-02-23T22:28:28Z</dc:date>
    <item>
      <title>NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122059#M55348</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12890-nifi-putsql-error.png" style="width: 405px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22804i973AA4A98CCA275C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12890-nifi-putsql-error.png" alt="12890-nifi-putsql-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi, i am loading records from a csv file into Oracle 12c. The PutSQL processor comes up with error message "&lt;STRONG&gt;&lt;EM&gt;failed to update database due to failed batch update&lt;/EM&gt;&lt;/STRONG&gt;". I am able to run the insert statements using sql developer but not sure why PutSQL is having issues. What could be wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:24:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122059#M55348</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2019-08-19T10:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122060#M55349</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3938/joshuaadeleke.html" nodeid="3938"&gt;@Joshua Adeleke&lt;/A&gt;. Could you have a look at ./logs/nifi-app.log file and share the stack trace? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 21:39:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122060#M55349</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-02-23T21:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122061#M55350</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt;, see the PutSQL error below;&lt;/P&gt;&lt;PRE&gt;2017-02-23 14:40:43,173 INFO [Heartbeat Monitor Thread-1] o.a.n.c.c.h.AbstractHeartbeatMonitor Finished processing 1 heartbeats in 21071 nanos
2017-02-23 14:40:43,202 INFO [Timer-Driven Process Thread-18] o.a.n.controller.FileSystemSwapManager Successfully swapped out 10000 FlowFiles from FlowFileQueue[id=14c03e86-82c8-103d-984e-73d1ee3b19f6] to Swap File /apps1/flowfile-repo/swap/1487853642436-14c03e86-82c8-103d-984e-73d1ee3b19f6-2bfefc74-f917-4d3c-80a2-2707596f1dd8.swap
2017-02-23 14:40:43,617 INFO [Timer-Driven Process Thread-18] o.a.n.c.r.WriteAheadFlowFileRepository Successfully swapped out 10000 FlowFiles from FlowFileQueue[id=14c03e86-82c8-103d-984e-73d1ee3b19f6] to Swap File /apps1/flowfile-repo/swap/1487853642436-14c03e86-82c8-103d-984e-73d1ee3b19f6-2bfefc74-f917-4d3c-80a2-2707596f1dd8.swap
2017-02-23 14:40:44,580 INFO [StandardProcessScheduler Thread-3] o.a.n.c.s.TimerDrivenSchedulingAgent Scheduled PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] to run with 5 threads
2017-02-23 14:40:44,584 ERROR [Timer-Driven Process Thread-5] o.apache.nifi.processors.standard.PutSQL PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] Failed to update database due to a failed batch update. There were a total of 1 FlowFiles that failed, 0 that succeeded, and 0 that were not execute and will be routed to retry;
2017-02-23 14:40:44,584 ERROR [Timer-Driven Process Thread-8] o.apache.nifi.processors.standard.PutSQL PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] Failed to update database due to a failed batch update. There were a total of 1 FlowFiles that failed, 0 that succeeded, and 0 that were not execute and will be routed to retry;
2017-02-23 14:40:44,585 ERROR [Timer-Driven Process Thread-17] o.apache.nifi.processors.standard.PutSQL PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] Failed to update database due to a failed batch update. There were a total of 1 FlowFiles that failed, 0 that succeeded, and 0 that were not execute and will be routed to retry;
2017-02-23 14:40:44,585 ERROR [Timer-Driven Process Thread-10] o.apache.nifi.processors.standard.PutSQL PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] Failed to update database due to a failed batch update. There were a total of 1 FlowFiles that failed, 0 that succeeded, and 0 that were not execute and will be routed to retry;
2017-02-23 14:40:44,585 ERROR [Timer-Driven Process Thread-3] o.apache.nifi.processors.standard.PutSQL PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] Failed to update database due to a failed batch update. There were a total of 1 FlowFiles that failed, 0 that succeeded, and 0 that were not execute and will be routed to retry;
2017-02-23 14:40:44,586 ERROR [Timer-Driven Process Thread-17] o.apache.nifi.processors.standard.PutSQL PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] Failed to update database due to a failed batch update. There were a total of 1 FlowFiles that failed, 0 that succeeded, and 0 that were not execute and will be routed to retry;
2017-02-23 14:40:44,586 ERROR [Timer-Driven Process Thread-5] o.apache.nifi.processors.standard.PutSQL PutSQL[id=c37c33b4-f4f6-165c-beb3-be6de80a4882] Failed to update database due to a failed batch update. There were a total of 1 FlowFiles that failed, 0 that succeeded, and 0 that were not execute and will be routed to retry;
&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Feb 2017 21:50:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122061#M55350</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2017-02-23T21:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122062#M55351</link>
      <description>&lt;P&gt;Can you access oracle 12c from that same machine from the command-line or from Oracle SQL Developer?   Make sure there are no firewall or other blockers.&lt;/P&gt;&lt;P&gt;Check the SQL connection, is there errors listed there?   Anything in the data provenance look odd?&lt;/P&gt;&lt;P&gt;For me, sometimes that will happen if there's a network issue or bad data.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 22:25:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122062#M55351</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-02-23T22:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122063#M55352</link>
      <description>&lt;P&gt;Look for errors&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/71839/decyphering-error-messages-in-apache-nifi.html" target="_blank"&gt;https://community.hortonworks.com/articles/71839/decyphering-error-messages-in-apache-nifi.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 22:28:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122063#M55352</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-02-23T22:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122064#M55353</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt; I am able to access Oracle 12c and successfully run the insert statements generated in NiFi. SQL connection is fine, no errors. I have checked data provenance as well and nothing seems to be amiss but that it dropped the flowfile.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 00:51:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122064#M55353</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2017-02-24T00:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122065#M55354</link>
      <description>&lt;P&gt;Could you set the relationship "retry" back to the SQL processor just to check if it gives more info in the logs? And the same for other relationship you are auto terminating at the moment.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 00:53:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122065#M55354</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-02-24T00:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122066#M55355</link>
      <description>&lt;P&gt;what is the Oracle Connection parameters you are using?&lt;/P&gt;&lt;P&gt;which JDBC driver?&lt;/P&gt;&lt;P&gt;is it the same user/password that you are using in SQL Developer?&lt;/P&gt;&lt;P&gt;is oracle limiting where connections are allowed from?&lt;/P&gt;&lt;P&gt;do you have enough / too many connections specified in your NIFI pool?&lt;/P&gt;&lt;P&gt;if you have Oracle DBA access, can you see if anything is showing up in Oracle?   anything in oracle logs?&lt;/P&gt;&lt;P&gt;can you trace via TCP/IP ala wireshark?&lt;/P&gt;&lt;P&gt;can you read from that connection via NIFI?&lt;/P&gt;&lt;P&gt;are there specific table permissions?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 01:43:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122066#M55355</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-02-24T01:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122067#M55356</link>
      <description>&lt;P&gt;have you restarted NIFI?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 01:44:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122067#M55356</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-02-24T01:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Error:failed to update database due to failed batch update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122068#M55357</link>
      <description>&lt;P&gt;The issue was with a column that handled datetime in millseconds and needed the format as  'YYYY-MM-DD HH24:MI:SS,FF9' specified in NiFi and it worked.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 17:56:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Error-failed-to-update-database-due-to-failed-batch/m-p/122068#M55357</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2017-03-01T17:56:30Z</dc:date>
    </item>
  </channel>
</rss>

