Skip to content

Instantly share code, notes, and snippets.

@dgadiraju
Last active February 18, 2021 16:38
Show Gist options
  • Save dgadiraju/4f5f068023fc432cfcc8df97874cc678 to your computer and use it in GitHub Desktop.
Save dgadiraju/4f5f068023fc432cfcc8df97874cc678 to your computer and use it in GitHub Desktop.
mkdir oozie_demo
cp /opt/cloudera/parcels/CDH/lib/oozie/webapps/oozie/docs/oozie-examples.tar.gz oozie_demo
cd oozie_demo; tar -xzf oozie-examples.tar.gz
nameNode=hdfs://nameservice1
jobTracker=yarnrm
queueName=default
examplesRoot=oozie_demo/examples
oozie job \
-oozie http://bigdataserver-3:11000/oozie \
-config /home/itversity/oozie_demo/examples/apps/map-reduce/job.properties -run
#Use that job id and review the status by running below command
# oozie job \
# -oozie http://bigdataserver-3:11000/oozie \
# -info <job_id>
hadoop fs -ls /user/itversity/oozie_demo/examples/output-data/map-reduce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment