...

/

Quiz Yourself: Getting Started with Spark

Quiz Yourself: Getting Started with Spark

Revise your basic Spark knowledge.

We'll cover the following...

Spark Basic Knowledge Quiz

1.

Which of the following piece of code creates a Spark session?

A.
SparkSession sparkSession = new SparkSession()
  .appName(APP_NAME)
  .master(LOCAL_NODE_ID)
  .getOrCreate();
B.
SparkSession sparkSession = SparkSession.builder()
  .appName(APP_NAME)
  .master(LOCAL_NODE_ID)
  .getOrCreate();

1 / 4