Shva B
Shva B

Reputation: 21

How run Pig jobs in sequence one by one

I have requirement to run pig jobs in sequence without manual interaction . Could you please advise me is there anyway to automate pig jobs by using pig / some other way Assume jobs :

JOB001 JOB002 JOB003 JOB004

JOB001 -- Is my 1 st JOB --> after successful run 'JOB001' It should trigger 'JOB002'
JOB002 --> after successful run 'JOB002' It should trigger 'JOB003'
JOB003 --> after successful run 'JOB003' It should trigger 'JOB004'.

Upvotes: 1

Views: 113

Answers (2)

Kumar
Kumar

Reputation: 3990

oozie is designed to schedule the hadoop jobs. see here for running pig jobs in oozie. Quick start help you to begin with oozie.

Upvotes: 0

Gwen Shapira
Gwen Shapira

Reputation: 5158

Oozie is the tool for you.

Simply create a workflow connecting one Pig job to another.

Upvotes: 1

Related Questions