Sub-job not executing

Eight Stars

Sub-job not executing

I have a strange problem. I have a main job which calls a couple of subjobs.

 

Main job:
tJava (set context values) --> tRunJob (call the subjob)

 

I pass on the contexts set in the main job to the sub-job. The problem is:

  • When I run the subjob manually, it executes perfectly fine
  • I print the contexts (sent from main job to subjob), it is listed correctly
  • However, when I execute the main job and it calls the sub-job, the process hangs.

I am out of options trying to figure out whats going wrong here. How can I troubleshoot this? 

Any help is appreciated.


Accepted Solutions
Community Manager

Re: Sub-job not executing

Have you tried deleting the tRunJob in your Main job and re-adding the child job. I've seen situations where this fixes issues like you're describing.

View solution in original post


All Replies
Community Manager

Re: Sub-job not executing

Have you tried deleting the tRunJob in your Main job and re-adding the child job. I've seen situations where this fixes issues like you're describing.

View solution in original post

Eight Stars

Re: Sub-job not executing

Ahh, i did not try this. I tried restarting talend and my computer. Thanks.
Highlighted
Community Manager

Re: Sub-job not executing

Let us know if it works

Eight Stars

Re: Sub-job not executing

Yes, that helped. I will keep it in my troubleshooting list!
Community Manager

Re: Sub-job not executing

Glad it helped

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 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog