- Java 8
- JDK
- Maven
$ Java --version
$ brew update
$ brew install maven
mvn compile exec:java -Dexec.mainClass=tweetAnalysis.App \
-Dexec.args="--inputFile=pom.xml --output=counts" -Pdirect-runner
mvn compile exec:java -Dexec.mainClass=tweetAnalysis.App \
-Dexec.args="--runner=SparkRunner --inputFile=pom.xml --output=data/counts" -Pspark-runner
mvn package exec:java -Dexec.mainClass=tweetAnalysis.App \
-Dexec.args="--runner=FlinkRunner --flinkMaster=<flink master> --filesToStage=target/tweet-Analysis-App-0.1.jar \
--inputFile=pom.xml --output=/data/counts" -Pflink-runner