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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

trunJob design in masterJob

Hello everyone,

 

Am new to talend i have question actually i got 4 talend jobs which need to implemented in masterJob what is an effective way of doing it using trunJob ?

please check the screenshot of my talend masterjob  that am trying to perform 

Labels (2)
11 Replies
Anonymous
Not applicable
Author

Hi @jaychander ,

 

You can do like this..

 

tRunJob1->On Subjob Ok -> tRunJob2 ->On Subjob Ok ->tRunJob3.

 

In tRunJob settings, you can call your actual job.

 

Do not forget to transmit whole context (check the Transmit Whole Context settings) in tRunJob settings.

 

Thanks and Regards,

Subhadip

Anonymous
Not applicable
Author

Hi @jaychander ,

 

You can do like this..

 

tRunJob1 > On Subjob Ok > tRunJob2 > On Subjob Ok > tRunJob3.

 

In tRunJob settings, you can call your actual job.

 

Do not forget to transmit whole context (check the Transmit Whole Context settings) in tRunJob settings.

 

Thanks and Regards,

Subhadip

Anonymous
Not applicable
Author

Hi,

 

Am getting this error when i follow the this scenario

tRunJob1 > On Subjob Ok > tRunJob2 > On Subjob Ok > tRunJob3.

Starting job Seq_Master_GURUMART at 14:30 09/07/2019.

[statistics] connecting to socket on port 3876
[statistics] connected
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
org.talend.designer cannot be resolved to a type
org.talend.designer cannot be resolved to a type
org.talend.designer cannot be resolved to a type
org.talend.designer cannot be resolved to a type
org.talend.designer cannot be resolved to a type
org.talend.designer cannot be resolved to a type

at talend_gurumart.guru_fact_0_1.Guru_Fact.tDBInput_1Process(Guru_Fact.java:5621)
at talend_gurumart.guru_fact_0_1.Guru_Fact.runJobInTOS(Guru_Fact.java:49643)
at talend_gurumart.guru_fact_0_1.Guru_Fact.runJob(Guru_Fact.java:49389)
at talend_gurumart.seq_master_gurumart_0_1.Seq_Master_GURUMART.tRunJob_2Process(Seq_Master_GURUMART.java:2810)
at talend_gurumart.seq_master_gurumart_0_1.Seq_Master_GURUMART.tRunJob_1Process(Seq_Master_GURUMART.java:2534)
at talend_gurumart.seq_master_gurumart_0_1.Seq_Master_GURUMART.runJobInTOS(Seq_Master_GURUMART.java:4032)
at talend_gurumart.seq_master_gurumart_0_1.Seq_Master_GURUMART.main(Seq_Master_GURUMART.java:3683)
[statistics] disconnected
[statistics] disconnected

Job Seq_Master_GURUMART ended at 14:32 09/07/2019. [exit code=0]

Anonymous
Not applicable
Author

Hi @jaychander ,

 

Can you share the screenshot of your job and the tRunJob settings.

 

Thanks and Regards,

Subhadip

Anonymous
Not applicable
Author

Here you  go:

i got this


job1.PNG
job2.PNG
Anonymous
Not applicable
Author

Hi @jaychander ,

 

As per your screenshot I see the job failed in second tRunJob, can you please send the screenshot of second tRunJob.

 

Are you using any external component which requires any external jars in that job.

 

Thanks and Regards,

Subhadip

Anonymous
Not applicable
Author

Hi @jaychander ,

 

In addition to this, you can change your workspace and run this job once. Sometimes, Java files or jars in workspace gets corrupted then also this problem can arise.

 

Thanks and regards,

Subhadip

Anonymous
Not applicable
Author

No am not using any external components trunjob settings for second is also same there were no changes
Anonymous
Not applicable
Author

does postJob is going impact anything ?
i was not running postJob in second trunjob