An open API service indexing awesome lists of open source software.

https://github.com/michaelmior/spark-java-example

:sparkles: Basic Java example for Apache Spark
https://github.com/michaelmior/spark-java-example

Last synced: 2 months ago
JSON representation

:sparkles: Basic Java example for Apache Spark

Awesome Lists containing this project

README

        

# Apache Spark Java example

This is a simple example taken from the Apache Spark code base.
Once you have compiled the program to produce a JAR file, you can run the program as follows:

/path/to/spark-submit --class edu.rit.cs.mmior.spark.JavaWordCount /path/to/spark-example-1.0-SNAPSHOT.jar

You should replace the paths above with the path to your Spark installation directory, the compiled JAR file, and the file the word count should be run on.