<?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>topic Re: Job Failing when enabling Parallel execution in tDB2Output in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Job-Failing-when-enabling-Parallel-execution-in-tDB2Output/m-p/2353598#M119749</link>
    <description>Hi
&lt;BR /&gt;Usually the reason is that error log of database is full.
&lt;BR /&gt;You can't use the getNextException() method, because it has to hard code in TOS which is not allowed.
&lt;BR /&gt;Well, here are two workarounds.
&lt;BR /&gt;NO.1: Check your database error log and find detail errors which cause Talend Job fail. There must something wrong with your data. 
&lt;BR /&gt;NO.2: Change TOS into Java Debug mode. Add breakpoint and see variables like 'ExceptionMessage' or 'detailMessage'.
&lt;BR /&gt;Best regards!
&lt;BR /&gt;Pedro</description>
    <pubDate>Mon, 26 Dec 2011 06:34:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-12-26T06:34:45Z</dc:date>
    <item>
      <title>Job Failing when enabling Parallel execution in tDB2Output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-Failing-when-enabling-Parallel-execution-in-tDB2Output/m-p/2353597#M119748</link>
      <description>Talend team, 
&lt;BR /&gt;I am trying to insert appx 2500000 records to a DB2 table by enabling parallel execution (2) and with batch size 1000 in tDB2Output component. When I run the job by enabling this option, the job runs fine till 125001 records but fails after that with an exception given below.
&lt;BR /&gt;"Non-atomic batch failure. The batch was submitted, but at least one exception occurred on an individual member of the batch. Use getNextException() to retrieve the exceptions for specific batched elements.
&lt;BR /&gt;Non-atomic batch failure. The batch was submitted, but at least one exception occurred on an individual member of the batch. Use getNextException() to retrieve the exceptions for specific batched elements."
&lt;BR /&gt;Please note, the job runs fine if I disable the parallel execution in tDB2Output component.
&lt;BR /&gt;Talend Version - T0S 4.2.2.r63143
&lt;BR /&gt;OS - Win XP
&lt;BR /&gt;Mem - 4 GB
&lt;BR /&gt;DB2 (ver9)
&lt;BR /&gt;The Sample delimited file format (delimiter "|") is as given below.
&lt;BR /&gt;abc.txt
&lt;BR /&gt;unitnumber|url|partnum|type|startdt|enddt|price
&lt;BR /&gt;0009300|000015458714|09810009000|R|2011-08-19 00:00:00|9999-12-31 23:59:59|000002.50
&lt;BR /&gt;0009300|000015458714|09810009000|P|2011-08-19 00:00:00|9999-12-31 23:59:59|000000.60
&lt;BR /&gt;Data types used in the componets (tFileInputDelimited and tDB2Output) in the job
&lt;BR /&gt;column key type nullable length Precision
&lt;BR /&gt;unitnumber Y string n 7
&lt;BR /&gt;url n string n 20
&lt;BR /&gt;partn y strign n 17
&lt;BR /&gt;ptype y char n 1
&lt;BR /&gt;startdt y string n 
&lt;BR /&gt;enddt y string n 
&lt;BR /&gt;prc n bigdecimal y 20 5 
&lt;BR /&gt;DB2 Table DDl
&lt;BR /&gt;XSRPT
&lt;BR /&gt;unitnumber CHARACTER(7) NOT NULL,
&lt;BR /&gt;url VARCHAR(64) NOT NULL,
&lt;BR /&gt;partn VARCHAR(64) NOT NULL,
&lt;BR /&gt;ptype CHARACTER(1) NOT NULL,
&lt;BR /&gt;startdt string NOT NULL,
&lt;BR /&gt;enddt string NOT NULL,
&lt;BR /&gt;prc DECIMAL(20,5),
&lt;BR /&gt; 
&lt;BR /&gt;PRIMARY KEY (unitnumber,partn,ptype,startdt,enddt,prc)
&lt;BR /&gt;Questions: 
&lt;BR /&gt;1. Please let me know how to know the exception which is causing the batch failure and how this can be resolved.
&lt;BR /&gt;2. It has been mentioned to use the getNextException() option to know the exception that has occured in the batch. How can we do this in talend</description>
      <pubDate>Sat, 16 Nov 2024 12:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-Failing-when-enabling-Parallel-execution-in-tDB2Output/m-p/2353597#M119748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Job Failing when enabling Parallel execution in tDB2Output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-Failing-when-enabling-Parallel-execution-in-tDB2Output/m-p/2353598#M119749</link>
      <description>Hi
&lt;BR /&gt;Usually the reason is that error log of database is full.
&lt;BR /&gt;You can't use the getNextException() method, because it has to hard code in TOS which is not allowed.
&lt;BR /&gt;Well, here are two workarounds.
&lt;BR /&gt;NO.1: Check your database error log and find detail errors which cause Talend Job fail. There must something wrong with your data. 
&lt;BR /&gt;NO.2: Change TOS into Java Debug mode. Add breakpoint and see variables like 'ExceptionMessage' or 'detailMessage'.
&lt;BR /&gt;Best regards!
&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 26 Dec 2011 06:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-Failing-when-enabling-Parallel-execution-in-tDB2Output/m-p/2353598#M119749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-26T06:34:45Z</dc:date>
    </item>
  </channel>
</rss>

