Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Update a csv file with two diffrent jobs

Hello everyone,

 

I have two jobs using the same joblet, the joblet updates a csv file with parameters passed from the parent job.

The problem is that some times both jobs are executed at the same time (with a trigger in the Talend Administration Center) and the file becomes blank and I loos all the records. Is there a way to avoid this conflict ?

Labels (4)
1 Reply
TRF
Champion II
Champion II

To do this you need to have an exclusive lock on the output file. I don't think this is a standard behaviour of tFileOutputDelimited component.
This link may help https://stackoverflow.com/questions/2268997/java-filelock-for-reading-and-writing/58871479#58871479