Skip to content

Instantly share code, notes, and snippets.

@snoremac
Last active January 2, 2016 08:09
Show Gist options
  • Save snoremac/8274508 to your computer and use it in GitHub Desktop.
Save snoremac/8274508 to your computer and use it in GitHub Desktop.
Run a Java-based word count against 15 common crawl segments on an already running EMR cluster.
# Run the word against 15 crawl segments
elastic-mapreduce -j j-2XP9O9IRLHHBU \
--jar s3n://emr-examples.dius.com.au/java/emr-examples.jar \
--main-class au.com.dius.emr.CommonCrawlTool \
--arg -D --arg target.words=hello,world \
--arg -D --arg max.segments=15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment