-
Student Name: Amro Kerkiz
Student UT EID: ank2268 ...
Prerequisite:
-
Maven 3
-
JDK 1.6 or higher
-
(If working with eclipse) Eclipse with m2eclipse plugin installed
The java main class is:
edu.cs.utexas.HadoopEx.WordCount
Input file: Book-Tiny.txt
Specify your own Output directory like
To compile the project and create a single jar file with all dependencies:
mvn clean package
Inside your shell with Hadoop
Running as Java Application:
java -jar target/MapReduce-WordCount-example-0.1-SNAPSHOT-jar-with-dependencies.jar SOME-Text-Fiel.txt output
Or has hadoop application
hadoop jar your-hadoop-application.jar edu.cs.utexas.HadoopEx.WordCount arg0 arg1 ...
Create a single gar file with eclipse
- File export -> export -> export as binary -> "Extract generated libraries into generated JAR"