obar1
7/9/2017 - 8:53 AM

sbt console init

sbt console init

 import org.apache.spark.{SparkConf,SparkContext}
 
 var appName:String ="TODO"
val conf = new SparkConf().setAppName(appName).setMaster("local[*]").set("spark.executor.memory","1g");
val sc =  SparkContext.getOrCreate(conf)
sc.setLogLevel("WARN")