Oozie: CRON style scheduling in Oozie

  • Cron scheduling adds a lot of flexibility while scheduling jobs using the Oozie coordinator.
  • Its bit tricky, but once you familiarize its going to benefit a lot.
  • Here, just focus on the frequency part in your coordinator.xml

<coordinator-app name=”oozie-coordinator” frequency=”0/10 1/2 * * *” start=”2017-10-05T:00Z” end=”2099-09-19T13:00Z” timezone=”Canada/Eastern” xmlns=”uri:oozie:coordinator:0.1″>

frequency=”01 19 * * *”

Cron expression has 5 fields

  • Minutes: Accepts values 0-59
  • Hours: 0-23
  • Day of the Month: 1-31
  • Month: JAN-DEC or 1-12
  • Day of the Month:  SUN-SAT or 1-7

 

stay tuned…

Advertisements

About shalishvj : My Experience with BigData

6+ years of experience using Bigdata technologies in Architect, Developer and Administrator roles for various clients. • Experience using Hortonworks, Cloudera, AWS distributions. • Cloudera Certified Developer for Hadoop. • Cloudera Certified Administrator for Hadoop. • Spark Certification from Big Data Spark Foundations. • SCJP, OCWCD. • Experience in setting up Hadoop clusters in PROD, DR, UAT , DEV environments.
This entry was posted in oozie, Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s