Last active
January 2, 2016 08:09
-
-
Save snoremac/8274485 to your computer and use it in GitHub Desktop.
Run a Java-based word count against an already running cluster.
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
# Run the word count against a single crawl segment. | |
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=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment