Open Givo29 opened 1 year ago
can you isolate an example/reproduction path for us to look at? It seems that in some way you are breaking outside of the SQL command, there must be something in the data causing this.
Thanks for the reply :)
I'm afraid I don't quite understand what you're looking for though, what do you mean by reproduction path?
A pipeline that I can run that generates this error. Simplest form would be a data grid and table output. With the data grid containing the data that causes that error
Hey @hansva,
I've been trying to reproduce this issue for you, even so far as to dump the whole table into a csv and using a csv input step for you to replicate it, but I can only get it to fail using the table input step, which is strange.
Any ideas what this could be?
Hi @Givo29 ,
What you can try to do but it will make your pipeline a bit slower, is set the commit size on the table output to 1. And attach error handling to the table output and write this data to a file. Then you will know the exact line(s) that are causing the issue.
and then you might be able to generate insert into statements based on that data (or a dump). If the issue is only present when starting from a mysql table.
Hope this helps, Hans
I'm thinking it's possibly some sort of race condition. I've now put a blocking step between the table input and output and it seems to have stopped the intermittent issue.
Would a race condition of sorts be possible here?
Apache Hop version?
2.3.0 - 2.5.0
Java version?
Openjdk version 11.0.17
Operating system
Linux
What happened?
Mysql database version: 8.0.21 Mysql jar version: mysql-connector-java-8.0.21.jar
Intermittently, our pipelines will fail with mysql errors when loading data into mysql with the following error message, this is the case for multiple versions of apache hop and multiple versions of the mysql connector. The pipeline will work correctly 8/10 times, but 2/10 it will fail and stop our data from syncing correctly.
This bug is also preventing us from moving more data jobs to Apache Hop.
Issue Priority
Priority: 2
Issue Component
Component: Hop Gui, Component: Hop Run