Skip to content

reynoldsm88/spark-batch-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spark Batch Base

Overview

This is a skeleton/example application for a spark batch application

Building

  • To build and run the tests sbt clean test
  • To build the deployable application package sbt clean assembly

Running

You can run the project on an existing Spark cluster. An easy way to start one is provided in deploy/spark-cluster.yml

  1. Start the Spark cluster.
deploy/start-spark.sh
  1. Verify that Spark Master and Spark worker are running and connected via the Spark Admin Console
  2. Launch the application
$SPARK_HOME/bin/spark-submit \
    --class Main \
    --master spark://localhost:7077 \
    ./target/scala-2.11/spark-batch-base-assembly-0.0.1-SNAPSHOT.jar \
    --env default

About

Basic SBT module for Spark Batch jobs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published