- Spark 2.0.0
- sbt 0.13.12
- OpenJDK 1.8.0_101 (Scala 2.11.8)
Edit src/main/resources/twitter4j.properties
Copy .sbtopts.example
to .sbtops
and edit.
Declaration in SPARK_HOME/conf/spark-default.conf
spark.driver.extraJavaOptions -Dhttp.proxyHost=proxy.host -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.host -Dhttps.proxyPort=8080
$ sbt
> assembly
$ spark-submit --class local.riverside.TwitterStreaming --master local[2] ./target/scala-2.11/spark-streaming-twitter-assembly-0.0.1.jar '#heartbleed'