Created
July 20, 2013 16:30
-
-
Save ivanlei/6045631 to your computer and use it in GitHub Desktop.
Example command for running an mrjob with job pooling and EMR instances shared between IAM in the same AWS account.
This file contains hidden or 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
export AWS_ACCESS_KEY_ID=XXX | |
export AWS_SECRET_ACCESS_KEY=XXX | |
python ./mr_word_freq_count.py ./wordlist \ | |
--pool-emr-job-flows \ | |
--runner=emr \ | |
--visible-to-all-users \ | |
--num-ec2-instances=1 \ | |
--aws-region=us-west-2 --emr-endpoint=us-west-2.elasticmapreduce.amazonaws.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment