title: Change default stack size for spark driver running from jupyter?
body: <p>I'm running python script on Spark cluster using jupyter. I want to change driver default stack size. I found in the <a href="http://spark.apache.org/docs/latest/configuration.html" rel="nofollow noreferrer">documentation</a> that I can use <code>spark.driver.extraJavaOptions</code> to send any options to driver JVM, but there is a note in the documentation:</p>
  
  <blockquote>
    <p>Note: In client mode, this config must not be set through the
    SparkConf directly in your application, because the driver JVM has
    already started at that point. Instead, please set this through the
    --driver-java-options command line option or in your default properties file.</p>
  </blockquote>
  
  <p>The question is: How to change default driver parameter when running from jupyter ?</p>