About Umesh

I am Software consultant with approx 7 years of experience mainly in Business Intelligence and data warehousing assignments using Talend. Writing is not my passion but i am doing it to help others. if you have any special case where you want me to demonstrate then please post me.

4 comments on “Passing value from the parent Job to the child Job

  1. Hi Umesh,

    I have tried above example but I am facing one exception

    Exception in component tJava_1
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
    at gmt_live_jobs.childjob_0_1.ChildJob.tJava_1Process(ChildJob.java:384)
    at gmt_live_jobs.childjob_0_1.ChildJob.runJobInTOS(ChildJob.java:1428)
    at gmt_live_jobs.childjob_0_1.ChildJob.runJob(ChildJob.java:1284)
    at gmt_live_jobs.parentjob_0_1.ParentJob.tRunJob_1Process(ParentJob.java:540)
    at gmt_live_jobs.parentjob_0_1.ParentJob.tSetGlobalVar_1Process(ParentJob.java:396)
    at gmt_live_jobs.parentjob_0_1.ParentJob.runJobInTOS(ParentJob.java:921)
    at gmt_live_jobs.parentjob_0_1.ParentJob.main(ParentJob.java:774)
    Exception in component tRunJob_1
    java.lang.RuntimeException: Child job running failed
    at gmt_live_jobs.parentjob_0_1.ParentJob.tRunJob_1Process(ParentJob.java:562)
    at gmt_live_jobs.parentjob_0_1.ParentJob.tSetGlobalVar_1Process(ParentJob.java:396)
    at gmt_live_jobs.parentjob_0_1.ParentJob.runJobInTOS(ParentJob.java:921)
    at gmt_live_jobs.parentjob_0_1.ParentJob.main(ParentJob.java:774)

    can you please let me know what will be the issue.

Leave a Reply to dwetl Cancel reply

Your email address will not be published. Required fields are marked *