One Star

Communications Link Failure Broken Pipe in tMysqlOutputBulkExec

Hi Talend,
We are using TIS 4.0.1
We have been running into the following error intermittently (but frequent enough) when using tMysqlOutputBulkExec. When processing a large file, we sometimes get the 'Communications Link Failure' - root cause Broken pipe. It always failed at executing 'LOAD DATA LOCAL INFILE...'. This suggests that the file is created properly but when pushing the file to load into database is when it hit the error. The file sits in one server and the database in another. Here are the details:
What we have tried:
* Set autoReconnect for the connection to 'true'
* Set flush buffer size in the component to 10k - although it should matter
Logic tells me that breaking the files into manageable chunks would help. Although looking at the component, it doesn't seem to have the option to easily handle that. Any suggestion? The job is quite simple - tMysqlInput -> tMap -> tMysqlOutputBulkExec.
File Size:
* ~14 million records (although it had failed as small as 1mil)
Mysql Variables Settings
? Wait-timeout is not explicitly defined. The default value is 8 hours
? Max-allowed-packet is 64M
? Net-read-timeout is not explicitly defined. The default value is 30 seconds
Stack trace:
Root cause: Broken Pipe
Exception in component tMysqlOutputBulkExec_2_tMBE
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 84874 ms ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at com.mysql.jdbc.Util.handleNewInstance(
at com.mysql.jdbc.SQLError.createCommunicationsException(
at com.mysql.jdbc.MysqlIO.send(
at com.mysql.jdbc.MysqlIO.sendFileToServer(
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(
at com.mysql.jdbc.MysqlIO.readAllResults(
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
at com.mysql.jdbc.Connection.execSQL(
at com.mysql.jdbc.Connection.execSQL(
at com.mysql.jdbc.Statement.execute(
One Star

Re: Communications Link Failure Broken Pipe in tMysqlOutputBulkExec

Hi Talend/Chong,
Do you have any update or suggestion with this?