Skip to content

mo-fu/SparkPlayingField

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

SparkPlayingField

To build run

Add % provided to spark dependency before you submit it to the cluster. example: ("org.apache.spark" %% "spark-core" % "1.0.0" % "provided").

sbt assembly

Copy the file in target/...assembly..jar to the server. Da shit: scp -P 20022 dev/SparkPlayingField/target/scala-2.10/sparkplayingfield-assembly-0.1.jar [email protected]:/home/hduser/

Ssh into the server and rename the file to maderfaker.jar

To run use this:

bin/spark-submit --class org.menthal.NewAggregations --master yarn-cluster --executor-memory 500M --num-executors 3 ../maderfaker.jar yarn-cluster hdfs:///user/hduser/events.small

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%