Last active
February 18, 2021 16:38
-
-
Save dgadiraju/4f5f068023fc432cfcc8df97874cc678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nameNode=hdfs://nameservice1 | |
jobTracker=yarnrm | |
queueName=default | |
examplesRoot=oozie_demo/examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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