title: Is it possible to get the current spark context settings in PySpark?
body: <p>I'm trying to get the path to <code>spark.worker.dir</code> for the current <code>sparkcontext</code>.</p>
  
  <p>If I explicitly set it as a <code>config param</code>, I can read it back out of <code>SparkConf</code>, but is there anyway to access the complete <code>config</code> (including all defaults) using <code>PySpark</code>?</p>