Code Monkey home page Code Monkey logo

basic-spark-project.g8's Introduction

This is a Spark template for generating a new Spark application project. It comes bundled with:

  • main and test source directories
  • ScalaTest
  • Scalacheck
  • SBT configuration for 0.13.0 , Scala 2.10.3, and ScalaTest 2.0 dependencies
  • project name , package and version customizable as variables

How to use

First, you need to install conscript .:

$ curl https://raw.github.com/n8han/conscript/master/setup.sh | sh

Conscript command is installed into ~/bin/cs. If ~/bin is included in PATH, you can install giter8 :

$ cs n8han/giter8

Next, the following command generates the first set of Spark application.:

$ g8 nttdata-oss/basic-spark-project

After the short question, you have the project directory (default: basic-spark) In the project directory, README.rst is found, which tells us how to execute sample application.

You can read README.rst of the sample project from this link

CHANGELOG

0.1.2 (Add sample applications)

Add the following sample applications little changed from Spark official samples. The difference is not the algorithm but the mechanism to handle classes and parameters.

  • WordCount, RandomTextWriter (the test data generator for WordCount) and Words (dictionary file)
  • GroupByTest
  • SparkLR
  • SparkHdfsLR and SparkLRTestDataGenerator, the test data generator for SparkHdfsLR.

0.1.1 (Change CDH5b2 to CDH5 GA.)

  • Scalatest 2.0 for testing
  • Sbt 0.12.4
  • Scala 2.10.3
  • Spark 0.9.0
  • Hadoop 2.3 (CDH5)
  • SparkPi

0.1.0 (Initial release!)

  • Scalatest 2.0 for testing
  • Sbt 0.12.4
  • Scala 2.10.3
  • Spark 0.9.0
  • Hadoop 2.2 (CDH5b2)
  • SparkPi

basic-spark-project.g8's People

Contributors

adachij2002 avatar blaisorblade avatar dobashim avatar exnexu avatar fayimora avatar jfmwz avatar mrbogomips avatar

Watchers

 avatar  avatar

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.