Created
March 15, 2019 06:07
-
-
Save tori-takashi/122c66ea4848aed4a2129dbf0dc733d3 to your computer and use it in GitHub Desktop.
invindex.sh
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
#!/bin/bash | |
hadoop jar ./hadoop-streaming-3.2.0.jar \ | |
-input testfile.txt testfile2.txt \ | |
-output i \ | |
-mapper 'inverted_index_mapper.py' \ | |
-reducer 'inverted_index_reducer.py' \ | |
-file inverted_index_mapper.py \ | |
-file inverted_index_reducer.py \ | |
-file testfile.txt \ | |
-file testfile2.txt \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment