July 2018
Intermediate to advanced
474 pages
13h 37m
English
This section walks through the steps to initialize and configure a Spark cluster.
from pyspark.sql import SparkSession
spark = SparkSession.builder \ .master("local[*]") \ .appName("GenericAppName") \ .config("spark.executor.memory", "6gb") \.getOrCreate()
Read now
Unlock full access