sparkbyexamples.com
Spark Get the Current SparkContext Settings
In Spark/PySpark you can get the current active SparkContext and its configuration settings by accessing spark.sparkContext.getConf.getAll(), here spark
Naveen Nelamali