/spark-examples

Spark examples

Primary LanguageJava

spark-examples

Content

To run the Java example go to the project folder and execute maven test command. Java 8 or above is required.

  • first-example: Performs a simple word count task. Spark, Maven, Java.
  • streaming-twitter-custom-receiver: A custom receiver to collect Twitter messages streams. Update resources/twitter4j.properties with your credentials to use it. Spark streaming, Maven, Java, Kryo serializer, Twitter custom receiver.

More information

For more tutorials and examples about Apache Spark visit http://www.robertomarchetto.com