Categories
topic

Install a JDK (Java Development Kit) from

http://www.oracle.com/technetwork/java/javase/downloads/
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()   
				
			

Leave a Reply

Your email address will not be published. Required fields are marked *

Take Your Learning To The Next Level.