I just deployed a oozie job. Now when I go to the oozie web ui ... i just cannot see the job I deployed.
Is there a command line tool which will allow me to do two things
List all the jobs which are deployed (not running, active, killed)... but deployed. like an inventory of all jobs.
execute a job from the command line. (on demand, not based on schedule).
Note : The job. properties file needs to be a local file during submissions, and not a HDFS path. To check the workflow job status via the Oozie web console, with a browser go to http://localhost:11000/oozie .
To run this coordinator, use the following command. oozie. wf. application.
As already mentioned in one of the comments that oozie
in itself is a command line tool.
Therefore, to answer both of your questions:
workflow
jobs use the following command
oozie jobs
oozie jobs -jobtype wf
coordinator
jobs use the following command from the console
oozie jobs -jobtype coordinator
oozie job --oozie http://oozie-url:11000/oozie -config job.properties -run
Mind you that if you want to keep on starting on demand job either you have to run the above command manually (also only for workflow jobs, not for coordinator jobs as coordinator jobs would be scheduled according to the schedule you define) or put in a shell script so that it is triggered under certain situations
For more info check this link - Oozie_Command_Line_Usage
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With