Example code word count already running in Hadoop using MapReduce
Please use the command below
mvn clean compile package
java -jar target/*.jar input output
, remove folder output if already exist
Please use the command hadoop jar *.jar [folder input] [folder output]
Disclaimer
- for input file could spesific file, such as
java -jar target/*.jar input/input01.txt output
- Edit file
pom.xml
to change main class in properties<mainClass>jobsheet11.App</mainClass>