Skip to content
Empty Spark 2 template with Maven
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
child few minor changes Jul 17, 2017
.gitignore
README.md
names.csv
pom.xml
test10features.txt
test10features2.txt
test2.txt
test3.txt
train2.txt
train3.txt
training10features.txt
training10features2.txt

README.md

Empty Spark + Maven project

You may use this project as a template to build Spark project using Maven

Project Structure

This project contains all you need to start from scratch a new Spark project.

It has the following folders:

  • /child/src/main/java - A Java HelloWorld example in Spark

  • /child/src/main/scala - A Scala folder with three programs:

    • HelloWorldScala.scala - A Scala HelloWorld example in Spark

    • HelloWorldSqlScala.scala - A Scala HelloWorld example in SparkSQL

    • HelloWorldStreaming.scala - A Scala HelloWorld example in SparkStreaming

  • /child/src/test/scala - A Scalatest example of testing the code

Getting Started

Clone the project

$ git clone https://github.com/ransilberman/empty_spark2_mvn.git

Build it

$ cd empty_spark2_mvn
$ mvn package

Author

You can’t perform that action at this time.