Examples of the cron-like scheduler introduced in OOZIE-1306
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
every-fifteen-minutes Adding examples. Sep 17, 2013
first-day-of-the-month Adding examples. Sep 17, 2013
weekdays-at-two-am Adding examples. Sep 17, 2013
README.md Clarified usage note. Sep 17, 2013

README.md

oozie-cronscheduler-examples

Examples of the cron-like scheduler introduced in OOZIE-1306.

Sample usage: Copy files to local filesystem on your Hadoop cluster or sandbox.

Place the files into HDFS.

hadoop fs -put oozie-newscheduler-examples

Every 15 minutes example:

oozie job -oozie http://localhost:11000/oozie -config oozie-newscheduler-examples/every-fifteen-minutes/job.properties -run

First day of every month example:

oozie job -oozie http://localhost:11000/oozie -config oozie-newscheduler-examples/first-day-of-the-month/job.properties -run

Weekdays at 2 am example.

oozie job -oozie http://localhost:11000/oozie -config oozie-newscheduler-examples/weekdays-at-two-am/job.properties -run

Note: If you are not running on Hortonworks Sandbox (2.0+) you will need to edit job properties to specify your name node, job tracker and username.