<?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: Connections link failure Error due to MySQL DB time out? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290813#M64057</link>
    <description>Hi, 
&lt;BR /&gt;Thanks. 
&lt;BR /&gt;No that was not done in the original job, but that has been fixed. 
&lt;BR /&gt;Currently the sub-job looks like: 
&lt;BR /&gt;(and all using the same connection) 
&lt;BR /&gt; 
&lt;BR /&gt; MySQLConnect --onCompOk--&amp;gt;MySQL Input -&amp;gt; stuff &amp;amp; 2tMaps -&amp;gt; MysqlOut 
&lt;BR /&gt; | 
&lt;BR /&gt; onSubJOk 
&lt;BR /&gt; | 
&lt;BR /&gt; MySQLInput -&amp;gt; stuff &amp;amp; tMap 
&lt;BR /&gt; | 
&lt;BR /&gt; tMySQLOutputBulk -onComOk-&amp;gt;MySQLRow (Drop Indexs) -- 
&lt;BR /&gt; 
&lt;BR /&gt;-OnCompOK--&amp;gt; MySQLBuLkExec --OnCompOK--&amp;gt; MySQlRow (Add Indexs) -&amp;gt;MySQLCommit. 
&lt;BR /&gt; 
&lt;BR /&gt;The Bulk-file gets created, filled and BuldExec uploads the records, 
&lt;BR /&gt;but this gives me the error: 
&lt;BR /&gt; Can't DROP 'UUID-lookup'; check that column/key exists 
&lt;BR /&gt;- The actual Drop happens before the load (see above), but the component is set to NOT die on error. 
&lt;BR /&gt;- After the job is done both indexes exists on the table. 
&lt;BR /&gt;- if I run the Alter-query that is supposed to drop indexes in an SQL-client it works fine. 
&lt;BR /&gt;- And since both indexes are set after the job I assume the add query is fine. 
&lt;BR /&gt; 
&lt;BR /&gt;Any ideas what can be causing this error? 
&lt;BR /&gt; 
&lt;BR /&gt;---Update--- 
&lt;BR /&gt;When running the same job with a limitation of records (10% =2.2 M) the job completed ok.</description>
    <pubDate>Fri, 20 Apr 2012 15:24:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-20T15:24:54Z</dc:date>
    <item>
      <title>Connections link failure Error due to MySQL DB time out?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290809#M64053</link>
      <description>One of my (larger) jobs which have previously worked fine, has now started to give me "Connections Link Failure". 
&lt;BR /&gt;After reading some really old forum posts and looking again at my job I'm starting to wonder if this could be the cause: 
&lt;BR /&gt; The bulk loading of the sub-job before where/when the error occurs takes longer than my MySQL's time out limit. 
&lt;BR /&gt; (See attached screen shot). My MySQL is set to default timeout of 28 800. 
&lt;BR /&gt;How can I confirm or disprove this? 
&lt;BR /&gt;-- update -- 
&lt;BR /&gt;I ran a version of the sub-job before the error, where I substituted the bulk output with a regular tMysqlOutput and the job ran slooow, but without errors. 
&lt;BR /&gt;Might be that the bulk file prep in the initial sub-job times out the connection. 
&lt;BR /&gt;But the MySQL is set for 28 800, and should manage. 
&lt;BR /&gt;Is there other time outs? 
&lt;BR /&gt;In Talend? Or in MySQL? 
&lt;BR /&gt;-- update 2 -- 
&lt;BR /&gt;Adjusted the job by dropping indexes before bulk upload and did not get the "Connections link failure Error". 
&lt;BR /&gt;A working hypothesis is that dropping indexes made the bulk upload faster and hence keeping connection. 
&lt;BR /&gt;But what happens when source table grows past the gain from the index drop. 
&lt;BR /&gt;Any ideas_</description>
      <pubDate>Sat, 07 Apr 2012 17:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290809#M64053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-07T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connections link failure Error due to MySQL DB time out?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290810#M64054</link>
      <description>Hi&lt;BR /&gt;Try to put tMysqlCommit after bulk load component.&lt;BR /&gt;Sometimes this is caused by unclosed mysql connection.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 09 Apr 2012 04:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290810#M64054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-09T04:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connections link failure Error due to MySQL DB time out?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290811#M64055</link>
      <description>Thanks, 
&lt;BR /&gt;I tried it, but I think the MysqlCommit closes connection before the previous component is done. 
&lt;BR /&gt;Let me explain. 
&lt;BR /&gt;My job has several (2+3) inserts and updates to one table. 
&lt;BR /&gt;Two of them is done as Bulk uploads, and in those sub-jobs I drop indexes before the bulk is uploaded and then I add the indexes back on: 
&lt;BR /&gt; 
&lt;BR /&gt;... -&amp;gt; tMysqlOutputBulk -&amp;gt; Drop Indexes (tMysqlRow) -&amp;gt; tMysqlBulkExec -&amp;gt; Add indexes (tMysqlRow) -&amp;gt; tMysqlCommit 
&lt;BR /&gt; 
&lt;BR /&gt;The second sub-job with this structure breaks with an error: Can't DROP 'UUID-lookup'; check that column/key exists 
&lt;BR /&gt;And correctly assessed: the two indexes did not get added in the previous sub-job. 
&lt;BR /&gt;Could it be that the MySQLCommit closes the connection before "Add User_Dim indexes" has completed? 
&lt;BR /&gt;How do get around this? 
&lt;BR /&gt;Change the commit-setting on Add indexes (tMysqlRow)?</description>
      <pubDate>Tue, 10 Apr 2012 08:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290811#M64055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-10T08:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connections link failure Error due to MySQL DB time out?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290812#M64056</link>
      <description>Hi&lt;BR /&gt;Have you put a tMysqlConnection in the beginning of this job?&lt;BR /&gt;Have all these tMysql components checked "Use an existing connection"?&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 10 Apr 2012 09:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290812#M64056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-10T09:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connections link failure Error due to MySQL DB time out?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290813#M64057</link>
      <description>Hi, 
&lt;BR /&gt;Thanks. 
&lt;BR /&gt;No that was not done in the original job, but that has been fixed. 
&lt;BR /&gt;Currently the sub-job looks like: 
&lt;BR /&gt;(and all using the same connection) 
&lt;BR /&gt; 
&lt;BR /&gt; MySQLConnect --onCompOk--&amp;gt;MySQL Input -&amp;gt; stuff &amp;amp; 2tMaps -&amp;gt; MysqlOut 
&lt;BR /&gt; | 
&lt;BR /&gt; onSubJOk 
&lt;BR /&gt; | 
&lt;BR /&gt; MySQLInput -&amp;gt; stuff &amp;amp; tMap 
&lt;BR /&gt; | 
&lt;BR /&gt; tMySQLOutputBulk -onComOk-&amp;gt;MySQLRow (Drop Indexs) -- 
&lt;BR /&gt; 
&lt;BR /&gt;-OnCompOK--&amp;gt; MySQLBuLkExec --OnCompOK--&amp;gt; MySQlRow (Add Indexs) -&amp;gt;MySQLCommit. 
&lt;BR /&gt; 
&lt;BR /&gt;The Bulk-file gets created, filled and BuldExec uploads the records, 
&lt;BR /&gt;but this gives me the error: 
&lt;BR /&gt; Can't DROP 'UUID-lookup'; check that column/key exists 
&lt;BR /&gt;- The actual Drop happens before the load (see above), but the component is set to NOT die on error. 
&lt;BR /&gt;- After the job is done both indexes exists on the table. 
&lt;BR /&gt;- if I run the Alter-query that is supposed to drop indexes in an SQL-client it works fine. 
&lt;BR /&gt;- And since both indexes are set after the job I assume the add query is fine. 
&lt;BR /&gt; 
&lt;BR /&gt;Any ideas what can be causing this error? 
&lt;BR /&gt; 
&lt;BR /&gt;---Update--- 
&lt;BR /&gt;When running the same job with a limitation of records (10% =2.2 M) the job completed ok.</description>
      <pubDate>Fri, 20 Apr 2012 15:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290813#M64057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-20T15:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Connections link failure Error due to MySQL DB time out?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290814#M64058</link>
      <description>Hi
&lt;BR /&gt;This issue has been raised many times and even in JIRA there is no solution.
&lt;BR /&gt;As you say, all connection settings are correct and it's not behind a firewall.
&lt;BR /&gt;So it seems that it is related to the job design itself or mysql server.
&lt;BR /&gt;Could you tell us where you run this job at local machine or Jobserver?
&lt;BR /&gt;Please send me an email and attach this export job. Hope I can reproduce this issue and find reason.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 23 Apr 2012 12:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connections-link-failure-Error-due-to-MySQL-DB-time-out/m-p/2290814#M64058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-23T12:22:27Z</dc:date>
    </item>
  </channel>
</rss>

