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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend Component Kit - Thread safe? - fFlowToIterate

Hello,

Before I spend additional days of trial and error a short question.

I created a small Input component which does only a System.out from the provided Input-Parameters. The component has two parameter Input fields “value1” and “value2”. It has a tFlowToIterate as Input and the FlowToIterate is filled by a normal CSV Input. Input-Parameter Field “Value1” contains as Value “((String)globalMap.get("row1.Firstname"))” and Input-Parameter Value2 containing “((String)globalMap.get("row1.Lastname"))”. Running the component is ok, but after changing the iteration (green arrow) to parallel will run in some Null-Pointers.

Question, is the whole “Talend Component Kit” threadsafe?

Regards

Martin

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello Martin,

 

The current integration uses a single instance of the component per step in the job.

This means, as you experienced, that it is not thread safe.

However this is a bug in the studio integration since in the Cloud (big data environment) we are thread safe.

 

I will follow up opening an issue in the Studio project to ensure it is fixed in a coming release.

 

Thanks a lot for reporting it.

 

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Pressing "Guess Schema" would also run into an error with activated parallelization. Maybee usefull?
Anonymous
Not applicable
Author

Hello Martin,

 

The current integration uses a single instance of the component per step in the job.

This means, as you experienced, that it is not thread safe.

However this is a bug in the studio integration since in the Cloud (big data environment) we are thread safe.

 

I will follow up opening an issue in the Studio project to ensure it is fixed in a coming release.

 

Thanks a lot for reporting it.

 

Anonymous
Not applicable
Author

You are welcome.

Regards
Martin