iimpulse / spark-scala

Testing spark-scala with gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spark-Scala-Demo

A barebones project with scala, apache spark built using gradle. Spark-shell provides spark and sc variables pre-initialised, here I did the same using a scala trait that you can extend.

Credit To: https://github.com/faizanahemad/spark-gradle-template.git`

Prerequisites

Install

brew install apache-spark

Scala Plug In for Intellij

Clone the Repo

git clone ssh://git@bitbucket.jax.org:7999/tes/spark-scala.git

Build

./gradlew clean build

Run

./gradlew run

All Together

./gradlew clean run

Using this Repo

Import External Spark Library Jars from SPARK_HOME/libexec/jars/

Useful Links

About

Testing spark-scala with gradle


Languages

Language:Scala 100.0%