Giter Club home page Giter Club logo

sparkprojecttemplate.g8's Introduction

Spark Project Template

A Giter8 template for Scala Spark Projects.

What this gives you

This is a fork of Holden Karau's Spark Project Template, with my own choice of different plugins and UT style. Check out her repo for the latest version of the real thing.

This template will bootstrap a new spark project with everyone's "favourite" wordcount example (modified for stop words). You can then replace the wordcount example as desired, and customize the Spark components your project needs.

To encourage good software development practice, this starts with a project at 100% code coverage (e.g. one test :p), while its expected for this to decrease, we hope you use the provided spark-testing-base library or similar option.

A basic release process with auto-incrementing version is in place in the build script, based on sbt-git and sbt-release and heavily inspired from those very useful sbt release tips from Jean Helou.

Creating a new project from this template

Have g8 installed? You can run it with:

g8 sv3nd/sparkProjectTemplate --name=projectname --organization=com.my.org --sparkVersion=2.2.0

Using sbt (0.13.13+)? just do

sbt new sv3nd/sparkProjectTemplate.g8

And specify values when prompted for the template variables.

The version of the project is handled by the sbt-git plugin, so it's expecting you to git init the project as soon as it's created.

See also the README.md on the generated project for more instructions on how to build and release it.

Related

Want to build your application using the Spark Job Server? The spark-jobserver.g8 template can help you get started too.

License

This project is available under your choice of Apache 2 or CC0 1.0. See https://www.apache.org/licenses/LICENSE-2.0 or https://creativecommons.org/publicdomain/zero/1.0/ respectively. This template is distributed without any warranty.

sparkprojecttemplate.g8's People

Contributors

sv3ndk avatar holdenk avatar

Watchers

James Cloos avatar

Forkers

zazrivec

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.