title: Getting app run id for a Spark job
body: <p>I'd like, from where I run a Spark job, to get the unique id of that job.</p>
  
  <p>Via the Spark master node website, I can see that id. It's something like:</p>
  
  <pre><code>ID: app-20140429125304-0452
  </code></pre>
  
  <p>Is there any way to get this, when creating a running a job? Maybe via the SparkContext?</p>