FTP connection issue in chaild job only

Five Stars

FTP connection issue in chaild job only

Hi all.

Talend Open Studio for Data Integration Version: 6.1.0

 

I have job Job_chaild downloads one file from FTP server to local. It has own context parameters and can be run independenly. It works OK when run individualy - file downloads. 

I have job_Main, it calls Job_chaild. It has only 2 stage tRunJob and tJavaRow.

 

When I run job_main and parameter <Use an independent processto run subjob> is NOT chechked I get:

Exception in component tFTPConnection_1
java.net.ConnectException: Connection refused: connect

 

When I run job_main and parameter <Use an independent processto run subjob> is chechked I get:

no errors, but warning when tRunJob runs in an independent process, it can't extract datas from tBufferOutput of child job.

Anyway file doesn't download.

 

It is not network problems, becouse direct run job - download files, but call the same job from parent - not, with the same time and environment.

 

 

Highlighted
Fifteen Stars TRF
Fifteen Stars

Re: FTP connection issue in chaild job only

Is the option "Transmit whole context" checked or not?
If yes, what about the value for parameters concerned by ftp connection?

TRF
Five Stars

Re: FTP connection issue in chaild job only

This option doesn't influence on error, checked or not - result the same.

No params to chaild_job, FTP parameters hard coded in context of chaild_job, and all of them are OK - chaild_job connects to FTP server and downloads file, no any problems when chaild_job run as single.

Seven Stars

Re: FTP connection issue in chaild job only

Please try explicitly assigning the context parameter in run job component, at least sftp connection details pass explicitly to child job and print the context var in child as are they correctly passing or not.
Create a file in child job and refer that file in parent job.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download