Created
February 5, 2019 15:58
-
-
Save dgadiraju/fddf23bb57c5279a9cedd1b59c4a492a 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
yarn jar /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar \ | |
wordcount \ | |
-Dmapreduce.input.fileinputformat.split.minsize=268435456 \ | |
-Dmapreduce.job.reduces=8 \ | |
-Dmapreduce.output.fileoutputformat.compress=true \ | |
-Dmapreduce.output.fileoutputformat.compress.codec=org.apache.hadoop.io.compress.GzipCodec \ | |
/user/itversity/randomtextwriter/part-m-00000 \ | |
/user/itversity/wordcount_compressed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment