Wednesday 25 June 2014

Oozie Commands


1. Upload oozie project to HDFS
$ hadoop fs -put oozieProject

2. Submit a job to generate a job id
$ oozie job -oozie http://localhost:11000/oozie -config oozieProject/apps/job.properties -submit
job: 0000010-140624155058601-oozie-oozi-W

3. Start a job 
$ oozie job -oozie http://localhost:11000/oozie -start 0000010-140624155058601-oozie-oozi-W

4. Check job status
$ oozie job -oozie http://localhost:11000/oozie -info 0000010-140624155058601-oozie-oozi-W

5. Directly run a job
$ oozie job -oozie http://localhost:11000/oozie -config oozieProject/apps/job.properties -run
job: 0000010-140624155058601-oozie-oozi-W

We can operate these from Hue WebUI



Reference:
http://hadooped.blogspot.ca/2013/07/apache-oozie-part-7-oozie-workflow-with_3.html

No comments:

Post a Comment