My SparkSession initialization takes forever to run on my laptop. Does anybody have any idea why?

Viewed 1221

My SparkSession takes forever to initialize

from pyspark.sql import SparkSession
spark = (SparkSession
         .builder
         .appName('Huy')
         .getOrCreate())
sc = spark.SparkContext

waited for hours without success

0 Answers
Related