<?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: Dynamic Jobs in parallel - How to handle logs in console in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Jobs-in-parallel-How-to-handle-logs-in-console/m-p/2371125#M134098</link>
    <description>Sylvian, if you have two people (A and B) counting to 4 one after the other, you get the following output.... 
&lt;BR /&gt;A - 1 
&lt;BR /&gt;A - 2 
&lt;BR /&gt;A - 3 
&lt;BR /&gt;A - 4 
&lt;BR /&gt;B - 1 
&lt;BR /&gt;B - 2 
&lt;BR /&gt;B - 3 
&lt;BR /&gt;B - 4 
&lt;BR /&gt;If they count in parallel, you get something like the following if you have to log the instant they utter the number... 
&lt;BR /&gt; 
&lt;BR /&gt;A - 1 
&lt;BR /&gt;A - 2 
&lt;BR /&gt;B - 1 
&lt;BR /&gt;A - 3 
&lt;BR /&gt;B - 2 
&lt;BR /&gt;A - 4 
&lt;BR /&gt;B - 3 
&lt;BR /&gt;B - 4 
&lt;BR /&gt;Basically, what you are asking for will need a rework so that ALL of the output from each job happens at once. You will not be able to guarantee the order in which the jobs are logged, but you will be able to force the output in one continuous chunk. However, this will require a significant amount of rework to store the messages in memory to output them all at the end of the job.&amp;nbsp;</description>
    <pubDate>Tue, 11 Aug 2015 09:07:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-11T09:07:10Z</dc:date>
    <item>
      <title>Dynamic Jobs in parallel - How to handle logs in console</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Jobs-in-parallel-How-to-handle-logs-in-console/m-p/2371123#M134096</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;We want to make an existing projet "multithreading compatible".&lt;BR /&gt;&lt;BR /&gt;For now, most of the jobs are executed through tRunJob component with "Use dynamic job" option enabled and it runs fine. Those child jobs return information to Master Job through console using system.out.println() in tJava component.&lt;BR /&gt;To illustrate my words, let's say my project is built that way :&amp;nbsp;&lt;BR /&gt;Master Job&lt;BR /&gt;|__Child Job A&lt;BR /&gt;|__Child Job B&lt;BR /&gt;&lt;BR /&gt;Master Job runs through tRunJob component Child Job A then sequentially Child Job B.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Child Job A returns in console &lt;/U&gt;:&amp;nbsp;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Child Job B returns in console :&lt;/U&gt;&amp;nbsp;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;In my Master Job, console should display :&lt;/U&gt;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Now, the parallel scenario.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;We successfully enabled the parallel execution of Child Job A &amp;amp; Child Job B, but console now displays something like :&amp;nbsp;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This display is not easily readable and not compatible with our requirements.&lt;BR /&gt;&lt;BR /&gt;Do you have any clue on how to get the initial display ?&amp;nbsp;Namely :&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;A&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;B&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Changing the way the child jobs return information to master job is hardly an option as dozen of child jobs are concerned.&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance for any help !&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sylvain&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 16:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Jobs-in-parallel-How-to-handle-logs-in-console/m-p/2371123#M134096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-24T16:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Jobs in parallel - How to handle logs in console</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Jobs-in-parallel-How-to-handle-logs-in-console/m-p/2371124#M134097</link>
      <description>Hi&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Sylvain,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;What's the workflow in your current master job? How did you setting the&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;parallel execution&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;of Child Job A &amp;amp; Child Job B (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri," sans-serif=""&gt;tParallelize or 'enable parallel execution'&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;)?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Screenshots will be preferred.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 11 Aug 2015 04:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Jobs-in-parallel-How-to-handle-logs-in-console/m-p/2371124#M134097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-11T04:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Jobs in parallel - How to handle logs in console</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Jobs-in-parallel-How-to-handle-logs-in-console/m-p/2371125#M134098</link>
      <description>Sylvian, if you have two people (A and B) counting to 4 one after the other, you get the following output.... 
&lt;BR /&gt;A - 1 
&lt;BR /&gt;A - 2 
&lt;BR /&gt;A - 3 
&lt;BR /&gt;A - 4 
&lt;BR /&gt;B - 1 
&lt;BR /&gt;B - 2 
&lt;BR /&gt;B - 3 
&lt;BR /&gt;B - 4 
&lt;BR /&gt;If they count in parallel, you get something like the following if you have to log the instant they utter the number... 
&lt;BR /&gt; 
&lt;BR /&gt;A - 1 
&lt;BR /&gt;A - 2 
&lt;BR /&gt;B - 1 
&lt;BR /&gt;A - 3 
&lt;BR /&gt;B - 2 
&lt;BR /&gt;A - 4 
&lt;BR /&gt;B - 3 
&lt;BR /&gt;B - 4 
&lt;BR /&gt;Basically, what you are asking for will need a rework so that ALL of the output from each job happens at once. You will not be able to guarantee the order in which the jobs are logged, but you will be able to force the output in one continuous chunk. However, this will require a significant amount of rework to store the messages in memory to output them all at the end of the job.&amp;nbsp;</description>
      <pubDate>Tue, 11 Aug 2015 09:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Jobs-in-parallel-How-to-handle-logs-in-console/m-p/2371125#M134098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-11T09:07:10Z</dc:date>
    </item>
  </channel>
</rss>

