First you put workflow.xmlin a given oozie.wf.application.pathusing a hadoop fs -put workflow-full-path to-oozie-wf-application-pathscript,
oozie script, -
bin/oozie job --oozie http://localhost:11000/oozie/ -config /home/arif/applications/hadoop/oozie-4.3.0/apps/sqoop/job.properties -run
job.properties :
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}/
, , , .