In order to compile and run the examples here, please have the following installed on your PC:
- Git (this is needed to clone the project)
- JDK1.8
- Maven
java -Dlog4j.configuration="file:src/main/resources/log4j.xml" -cp target/uber-simplesparkprog-1.0-SNAPSHOT.jar com.dhee.SparkPi 20
Change to the directory where you have cloned SimpleSalesAggregator
cd mvn clean mvn package
java -Dlog4j.configuration="file:src/main/resources/log4j.xml" -cp target/uber-simplesparkprog-1.0-SNAPSHOT.jar com.dhee.SimpleSalesAggregator
SimpleSalesAggregator reads data in data/somegeneratedData.csv, and produces aggregated data as in results.txt on your console.