http://www.oracle.com/technetwork/java/javase/downloads/
index.html . Keep track of where you installed the JDK; you’ll need that later.
index.html . Keep track of where you installed the JDK; you’ll need that later.
// Create SparkSession
import org.apache.spark.sql.SparkSession
val spark:SparkSession = SparkSession.builder()
.master("local[1]")
.appName("SparkByExamples.com")
.getOrCreate()