Skip to content

Instantly share code, notes, and snippets.

@pjazdzewski1990
Created February 4, 2016 07:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pjazdzewski1990/c153cfd815acd4f5b987 to your computer and use it in GitHub Desktop.
def run(target: String): Array[(String, Double, Seq[String])] = {
val conf = new SparkConf().setAppName("Who said that?").setMaster("local[2]")
val spark = new SparkContext(conf)
// the code will go here
println(s"Ending")
spark.stop()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment