<?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: TAC - Running parallel job using tParallelize in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TAC-Running-parallel-job-using-tParallelize/m-p/2254935#M37802</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Are you trying to use the same database connection in all the child jobs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Since you are closing the connection within the child job, this could be creating some issue. Could you please try separate DB connections for your child jobs in this case and try to see whether the issue persists?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Dec 2018 04:52:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-24T04:52:41Z</dc:date>
    <item>
      <title>TAC - Running parallel job using tParallelize</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAC-Running-parallel-job-using-tParallelize/m-p/2254934#M37801</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have designed a job to use tParallel component which has say 4&amp;nbsp;tRunJob's, where each tRunJob call the same child job.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;child job connects to a database, read the table, processed the rows using tMap, tDataShuffle and tDataMasking components, updates the same table and closes the connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is to split the table to 8 splits&amp;nbsp;and process the rows in parallel. The split is done based on the primary key of the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tParallel ----&amp;gt; tRunJob_1(job_process_table1 - say for 100 rows)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ----&amp;gt;&lt;SPAN&gt; tRunJob_2(job_process_table1 &lt;/SPAN&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;say for 101 to 200 rows)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;----&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; tRunJob_3(job_process_table1 &lt;/SPAN&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;say for 201 to 300 rows)&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;----&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; tRunJob_4(job_process_table1 &lt;/SPAN&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;say for 301 to 400 rows)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This job runs fine when run locally from Talend to the dev databases.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But fails with "Cannot establish connection error" when running from TAC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The same job runs fine when I run with single tRunJob_1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could not understand the reason.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you kindly suggest what all might be the reason.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 15:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAC-Running-parallel-job-using-tParallelize/m-p/2254934#M37801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-22T15:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: TAC - Running parallel job using tParallelize</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAC-Running-parallel-job-using-tParallelize/m-p/2254935#M37802</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Are you trying to use the same database connection in all the child jobs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Since you are closing the connection within the child job, this could be creating some issue. Could you please try separate DB connections for your child jobs in this case and try to see whether the issue persists?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 04:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAC-Running-parallel-job-using-tParallelize/m-p/2254935#M37802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-24T04:52:41Z</dc:date>
    </item>
  </channel>
</rss>

