# entry point to programming Spark with the Dataset and DataFrame API spark = SparkSession.builder.master( "local").appName( "Words Count").config( "spark.some.config.option", "some-value").getOrCreate()