程序代写代做代考 Java ## Versions Used

## Versions Used

I choose Scala for this project. The version I use is 2.11. The spark version I use is 2.2.1.

## Run

### TrackHashTags

“`
bin/spark-submit –class TrackHashTags Zhendong_Hu_hw5.jar
“`

### AveTweetLength

“`
bin/spark-submit –class AveTweetLength Zhendong_Hu_hw5.jar
“`

### UniqueUserCount

run StreamingSimulation first

“`
java -cp simulation.jar StreamingSimulation userId.txt 9999 1
“`

then run spark

“`
bin/spark-submit –class UniqueUserCount Zhendong_Hu_hw5.jar localhost 9999
“`

Ctr-c stop, the program will print the estimate.