npm install oozie-client
node app.js --help
Options:
-s, --save save params -undefined, --cluster hdinsight cluster name (expects value) -undefined, --user user (expects value) -undefined, --pass password (expects value) -o, --option options [status | jobs | job | run <job.properties> | log ] (expects value)
node app.js --cluster --user --pass --save
node app.js -o status
node app.js -o jobs <oozie_status>
node app.js -o job
node app.js -o run <job.properties file>
where job.properties (example):
{
"nameNode": "wasb://<container_name>@<storage>.blob.core.windows.net",
"jobTracker": "jobtrackerhost:9010",
"queueName": "default",
"user.name": "god",
# container where oozie workflow.xml is
"oozie.wf.application.path": "wasb://<container>@<storage>.blob.core.windows.net/",
"outputDir": "ooziejobs-out",
"oozie.use.system.libpath": "true"
}
node app.js -o log