Created
December 24, 2018 22:41
-
-
Save dgadiraju/f6aa41383703a8b6bb3bb902a8726581 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
#Delete /user/itversity/wordcount, if it exists | |
hadoop fs -rm -R /user/itversity/wordcount | |
#Override individual properties | |
hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar \ | |
wordcount \ | |
-Dmapreduce.job.reduces=8 \ | |
/user/itversity/randomtextwriter \ | |
/user/itversity/wordcount | |
#With Parcels | |
hadoop jar /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar \ | |
wordcount \ | |
-Dmapreduce.job.reduces=8 \ | |
/user/itversity/randomtextwriter \ | |
/user/itversity/wordcount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment