title: How to change the name of Spark application after it is started?
body: <p>I am having trouble updating/reconfiguring a predefined Spark Context called "spark"</p>
  
  <pre><code>spark.sparkContext._conf.get("spark.app.name")
  </code></pre>
  
  <p>Returns the app name 'Databricks Shell' I want to update this and I try using:</p>
  
  <pre><code>spark.conf.set('spark.app.name', 'New_Name')
  </code></pre>
  
  <p>However this does not update anything, because when I again run</p>
  
  <pre><code>spark.sparkContext._conf.get("spark.app.name")
  </code></pre>
  
  <p>I still get 'Databricks Shell' How do I update or make any changes to the spark context?</p>