/etc/apt/sources.list.d/cloudera.list
)
deb [arch=amd64] http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh precise-cdh4 contrib
deb-src http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh precise-cdh4 contrib
sudo apt-get update
sudo apt-get install oozie-client
export OOZIE_URL="http://localhost:11000/oozie"
export OOZIE_TIMEZONE="EST"
source ~/.bashrc
user@localhost:~$ oozie admin -version
Oozie server build version: 3.3.2-cdh4.5.0
user@localhost:~$ oozie jobs
user@localhost:~$ oozie jobs -len 5
user@localhost:~$ oozie job -info <OOZIE_JOB_ID> [-verbose]
user@localhost:~$ oozie job -info <OOZIE_ACTION_ID>
user@localhost:~$ oozie job -log <OOZIE_JOB_ID>
First, use get the job ID by finding it in the list from oozie jobs
or the details of oozie job -info <OOZIE_JOB_ID>
. Then kill the job:
user@localhost:~$ oozie job -kill <OOZIE_JOB_ID>
nameNode=hdfs://localhost:18020
jobTracker=localhost:18021
queueName=default
oozie.wf.application.path=<OOZIE APP PATH, eg: hdfs://localhost:18020/user/someUser/seqware_workflow/oozie-da66ddd3-1f1b-4441-8f04-658db9a8644a>
oozie.wf.rerun.failnodes=true
Note: The host and port numbers shown assume that you are running SeqWare in a VirtualBox instance, with the port forwarding configured. See here for more details. If you are not connecting to SeqWare running inside a local virtual machine, you may want to adjust these values.
user@localhost:~$ oozie job -rerun <OOZIE_JOB_ID> -config job.properties
user@localhost:~$ oozie job -info <OOZIE_JOB_ID> [-verbose]
Or:
user@localhost:~$ oozie job -log <OOZIE_JOB_ID>
user@localhost:~$ oozie job -resume <OOZIE_JOB_ID>