Skip to content

This is a very simple spark application. You can use this project to write your first spark application with no pain ;)

Notifications You must be signed in to change notification settings

popcornylu/spark-wordcount

Repository files navigation

Introduction

This is a very very simple spark application. In this application, we show how to use gradle shadowjar plugin to create a shadow(uber) jar and then submit it to the spark cluster.

How to Use

  1. Build the Shardow Jar (Uber Jar)

    ./gradlew shadowJar
  2. Submit the jar

    $SPARK_HOME/bin/spark-submit --master=<spark-master> build/libs/spark-wordcount-all.jar

Good luck and happy Sparking!!!

About

This is a very simple spark application. You can use this project to write your first spark application with no pain ;)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages