spark = SparkSession.builder.getOrCreate()
spark.sparkContext.getConf().get('spark.executor.instances')
# Result: None
spark.conf.get('spark.executor.instances')
# Result: java.util.NoSuchElementException: spark.executor.instances
I would like to see default value of the number of executors.
I looked into the ways to get the value and none of them worked.