In the terminal input the following commands one by one
mvn clean mvn compile mvn assembly:single
java -cp target/spark-challenge-1.0.0-jar-with-dependencies.jar edu.nwmissouri.aksharagurram.App "data.txt"
I used a paper on spark as data source
https://www.usenix.org/legacy/events/hotcloud10/tech/full_papers/Zaharia.pdf