Tips: OOZIE

I would include important commands and other tips related to oozie here..

Trigger Workflow

oozie job -oozie http://<host&gt;:11000/oozie -config /users/oozieTest/ooziePigTest/oozie-test/job/job.properties -run

Trigger Workflow Through REST API

curl -X POST -H “Content-Type: application/xml” -d @oozie-testcurl.xml “http://<host&gt;:11000/oozie/v2/jobs?action=start”

Trigger Coordinator

oozie job -oozie http://<host&gt;:11000/oozie -config /users/oozieTest/ooziePigTest/oozie-test/job/coordinator.properties -run

Trigger Coordinator Through REST API

curl -X POST -H “Content-Type: application/xml” -d @oozie-testCoordCurl.xml “http://<host&gt;:11000/oozie/v2/jobs?action=start”

 

Kill an Oozie job

oozie job -oozie http://<host&gt;:11000/oozie -kill <id>

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, Rest API, Tips 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