First you put the workflow.xml
in the given oozie.wf.application.path
using hadoop fs -put workflow-full-path to-oozie-wf-application-path
script,
later you run the oozie script like below said -
bin/oozie job --oozie http://localhost:11000/oozie/ -config /home/arif/applications/hadoop/oozie-4.3.0/apps/sqoop/job.properties -run
I have defined the job.properties
file like this -
nameNode=hdfs://localhost:9000
jobTracker=localhost:9001
queueName=default
value_dfs=1
examplesRoot=/user/oozie/sqoop
exampleRootDir=${examplesRoot}/oozie-moviesdb-sqoop
oozie.use.system.libpath=true
oozie.wf.application.path=${nameNode}${examplesRoot}/
hope it will helps anyone by coming on this thread, thanks.