Skip to content

seoeun25/spark-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spark-app

Simple example of spark application.

Build

To build, use maven.

$ mvn clean package -DskipTests

modules

  • example

Running

Run application locally on 4 cores

$ bin/spark-sumbit \
    --class com.nexr.spark.simpleapp.SparkPiApp \
    --master local[4] \
    /path/to/spark-app/example/target/example-0.9-SNAPSHOT.jar 100

Run application on cluster (standalone or yarn)

$ bin/spark-submit \
    --master yarn-cluster \
    --class com.nexr.spark.WordCount example-0.9-SNAPSHOT.jar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published