I have tried to run AWS glue trigger with proper values but it is not going to run job, On which we have setup the trigger.
For instance I have Job1 and Job2. On complition of Job1 i want to run Job2. Job1 is getting passed but it is unable to trigger Job2.
Can you please help me to know what am i missing?
Old ticket but my problem was the trigger was not "enabled". In the AWS console select the trigger, and in actions click enable. At the time of writing this was not possible to do via cloudformation :(
From AWS documentation:
Dependent jobs are only started if the job which completes was started by a trigger (not run ad-hoc). All jobs in a dependency chain must be descendants of a single schedule or on-demand trigger.
https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html
You can create another on-demand job and trigger your job by the new job. That would work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With