<?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: [resolved] Parallel Execution in TOS in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206075#M6281</link>
    <description>Hi jlolling,
&lt;BR /&gt;Thanks for you input. it really helped me to solve the scenario.
&lt;BR /&gt;Regards----&amp;gt;D</description>
    <pubDate>Thu, 19 Feb 2015 07:33:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-19T07:33:12Z</dc:date>
    <item>
      <title>[resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206068#M6274</link>
      <description>Hi,&lt;BR /&gt;I am looping a files in a folder and i want to loop the files in parallel.&lt;BR /&gt;i am giving "On Component OK" connection to the sub-jobs, and it is executing as Order:1 and Order:2.&amp;nbsp;&lt;BR /&gt;Ex: I have folder "A" contains "A_20140502.txt" &amp;amp; "B_20140502.txt" &amp;amp; "C_20140502.txt".&lt;BR /&gt;as explained above file "B_20140502.txt" is waiting for the file "A_20140502.txt" to complete the process.&lt;BR /&gt;Its like sequentially execution. i want to execute three files at a time in a loop.&lt;BR /&gt;help needed to make it as parallel execution.&lt;BR /&gt;Thanks----&amp;gt;D</description>
      <pubDate>Mon, 16 Feb 2015 13:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206068#M6274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T13:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206069#M6275</link>
      <description>Hi Ashok, 
&lt;BR /&gt;A screen-shot of your job would help provide more insight as to what exactly are you trying to achieve. 
&lt;BR /&gt;MathurM</description>
      <pubDate>Tue, 17 Feb 2015 07:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206069#M6275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T07:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206070#M6276</link>
      <description>Hi MathurM 
&lt;BR /&gt;Please find the scree-shot below. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCpm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132135i4286A7CD7C7494FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCpm.png" alt="0683p000009MCpm.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 17 Feb 2015 07:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206070#M6276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T07:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206071#M6277</link>
      <description>Hi Ashok, 
&lt;BR /&gt;If you want to implement parallel process in your TOS job then you have to enable the Multi thread execution feature like below. 
&lt;BR /&gt;Go to --&amp;gt;Job settings --&amp;gt; select Extra tab --&amp;gt; enable the Multi thread execution checkbox. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;Now you need to make sure that all the sub jobs are running independently in this way you will going to utilize the multi thread feature in your main job. 
&lt;BR /&gt;After enabling multi thread execution,your main job should looks like below : 
&lt;BR /&gt;Main job : This is just a basic idea 
&lt;BR /&gt;&amp;nbsp;Read file names from the directory "A" --&amp;gt;&amp;nbsp; Read the contents from the file1 
&lt;BR /&gt;&amp;nbsp;Read file names from the directory "B" --&amp;gt;&amp;nbsp; Read the contents from the file2 
&lt;BR /&gt;Use global variable ( ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) )to read the current file path and configure in the tFileInput* component. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;tFileList configuration : 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;tFileInput* configuration : 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;Hope that helps you. 
&lt;BR /&gt;Follow the above procedure and get back to us in case of any issues.</description>
      <pubDate>Tue, 17 Feb 2015 07:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206071#M6277</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-02-17T07:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206072#M6278</link>
      <description>Hi Sayagoud, 
&lt;BR /&gt;I tried with your input, but no luck. may be i am in wrong route to achieve my scenario. 
&lt;BR /&gt;let's dig deep. 
&lt;BR /&gt;I have following files directory with two set of files i.e. 20140502, 20140503.&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5lz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147994i05B87DA67FB74C60/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5lz.png" alt="0683p000009M5lz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;first i will loop the date 20140502 as shown above with three parallel executions of files A,B,C 
&lt;BR /&gt;second i will loop second date 20140503 with three parallel executions of A,B,C. 
&lt;BR /&gt;I designed a job as shown below. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCfN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131606iD954F1DC4BA97307/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCfN.png" alt="0683p000009MCfN.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;After enabling multi thread execution it is behaving same as previous. 
&lt;BR /&gt; 
&lt;BR /&gt;In my sub jobs tfilelist i am using filemask as ""*_A_*"+((String)globalMap.get("row9.newColumn"))+".txt"" &amp;amp; &amp;nbsp; 
&lt;BR /&gt;""*_B_*"+((String)globalMap.get("row9.newColumn"))+".txt"" 
&lt;BR /&gt;Please suggest me whether i am doing it in right way or not? I hope you are clear now. 
&lt;BR /&gt;Thanks----&amp;gt;D</description>
      <pubDate>Tue, 17 Feb 2015 10:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206072#M6278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T10:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206073#M6279</link>
      <description>This design cannot be optimized for parallelization.
&lt;BR /&gt;You have to build a job which processes only one file and file path have to given as context variable to the job (call it e.g. file_worker).
&lt;BR /&gt;Now create a job which iterates through the files via tFileList and start with the iterate trigger the worker job and hand over the file name via the context setting in the tRunJob component for the worker job.
&lt;BR /&gt;No select the iterate trigger and enable parallel execution.
&lt;BR /&gt;This design can handle as much files in parallel nearly endless. One good thing is the way talend handles the parallelisation. The number of threads will be kept stable if possible, means if you set the parallelisation to 5 always 5 files will be processed parallel.
&lt;BR /&gt;Next good thing is: you can test the processing of one file separately.</description>
      <pubDate>Tue, 17 Feb 2015 11:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206073#M6279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T11:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206074#M6280</link>
      <description>Can you please help me out with sample job design?&lt;BR /&gt;Thanks----&amp;gt;D</description>
      <pubDate>Wed, 18 Feb 2015 12:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206074#M6280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-18T12:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206075#M6281</link>
      <description>Hi jlolling,
&lt;BR /&gt;Thanks for you input. it really helped me to solve the scenario.
&lt;BR /&gt;Regards----&amp;gt;D</description>
      <pubDate>Thu, 19 Feb 2015 07:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206075#M6281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-19T07:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206076#M6282</link>
      <description>One hint. I suggest you persists the data in the database within one transaction (if the number of rows is reasonable). This way your job can fail and do not violate the consistence of the database.
&lt;BR /&gt;Next thing: I would always try to delete previous data related to the same data realm. Perhaps you want to reload a file and this way no records from the previous run can survive. &amp;nbsp;</description>
      <pubDate>Thu, 19 Feb 2015 08:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206076#M6282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-19T08:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Parallel Execution in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206077#M6283</link>
      <description>On every execution, my partition's on table is taking care.</description>
      <pubDate>Thu, 19 Feb 2015 09:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Parallel-Execution-in-TOS/m-p/2206077#M6283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-19T09:01:33Z</dc:date>
    </item>
  </channel>
</rss>

