Skip to content

Instantly share code, notes, and snippets.

@narendrakadari
narendrakadari / 00-OozieWorkflowCallWithJavaAPI
Created May 2, 2016 — forked from airawat/00-OozieWorkflowCallWithJavaAPI
Oozie workflow - invoked from Java using Oozie Java API
View 00-OozieWorkflowCallWithJavaAPI
import java.util.Properties;
import org.apache.oozie.client.OozieClient;
import org.apache.oozie.client.WorkflowJob;
public class myOozieWorkflowJavaAPICall {
public static void main(String[] args) {
OozieClient wc = new OozieClient("http://cdh-dev01:11000/oozie");