...

/

Running the First Spark Program

Running the First Spark Program

Let’s run our first-ever Java Spark program.

The trivial example

Let’s start our Spark journey with a very trivial example.

Source code

Let’s walk through the code available in the widget below.

mvn install exec:exec
A basic DataFrame example project

Note: Spark is a pure backend processing tool and doesn’t expose a UI, except for the SparkUI monitoring tool.

For the moment, the Maven project structure with all the necessary dependencies shouldn’t concern us. This is explained in the “Spark Maven-based projects” lesson.

The example application

Our ...

Access this course and 1400+ top-rated courses and projects.