Since I've upgrade TOS 7.1.1 to 7.2.1, i have a error in All Job containing tFileInputExcel and tFileArchive in the same Job.
I've got this error on tFileInputExcel component :
Exception in component tFileInputExcel_2 (Test)
java.lang.IllegalArgumentException: InputStream of class class org.apache.commons.compress.archivers.zip.ZipFile$1 is not implementing InputStreamStatistics.
Just by removing the tFileArchive component of the job, so all work fine without error.
I've trying to test a Job with only tFileInputExcel -> tLogRow. It work fine.
I've trying to test a Job with only tFileArchive. It work fine too.
Finaly, I've testing a Job with one tFileInputExcel -> tLogRow and tFileArchive and then I've got this error !
In TOS 7.1.1 all the jobs works fine.
I've testing all this case on a another computer with same environnement, and I've the same isssue.
Is someone can help me to resolve this troubleshooting ?
Thank you for yor help.
Environnement context :
- MacOS Mojave 10.14.6
- TOS 7.2.1,
- Java : jdk1.8.0_221
Have you tried to use "OnsubjobOK" instead of "OnComponentOk" trigger to see if this job works?
Your tFileArchive subjob starts only when the previous subjob completely finishes.
I have the same problem in TOS 7.2.1
Try also in TOS 7.3.1 M1, same problem there...
I try in a simple job, just take a tFileArchive and after a OnSubJobOk a tFileInputExcel and you have the crash !
I have had a similar issue with a job created in 6.5.2 and migrated to 7.2.1.
It uses a tFileInputExcel component that fails with the exact same error message, we do not have any archiving components in the job.
The job is a sub-job when executed on its own it works fine, if called from its parent job then I get the same error as you.
The fix for us is to create a new sub job and copy in the components from the original sub-job and hey presto, it works!
There is a workaround given by talend :
I have the same issue and I have to separate into 2 independent processes as follows and It works perfectly.
It is recommended to check on "Use an independent process to run subjob" of tFileUnarchive.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema