Skip to content

Instantly share code, notes, and snippets.

@dgadiraju
Last active May 17, 2017 00:52
Show Gist options
  • Save dgadiraju/dd7383cb1dc72012d52b6886d17e42c6 to your computer and use it in GitHub Desktop.
Save dgadiraju/dd7383cb1dc72012d52b6886d17e42c6 to your computer and use it in GitHub Desktop.
import org.apache.spark.{SparkConf,SparkContext}
val conf = new SparkConf().setAppName("Spark Demo").setMaster("local")
val sc = new SparkContext(conf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment