title: Can driver process run outside of the Spark cluster?
body: <p>I read an answer from <a href="https://stackoverflow.com/questions/28807490/what-conditions-should-cluster-deploy-mode-be-used-instead-of-client">What conditions should cluster deploy mode be used instead of client?</a>, </p>
  
  <blockquote>
    <p>(In client mode) You could run spark-submit on your laptop, and the Driver Program would run on your laptop.</p>
  </blockquote>
  
  <p>Also, the Spark Doc says,</p>
  
  <blockquote>
    <p>In client mode, the driver is launched in the same process as the client that submits the application. </p>
  </blockquote>
  
  <p>Does it mean that I can submit spark tasks from any machine, as long as it can be reachable from master and has Spark environment? </p>
  
  <p>Or in other words, can driver process run outside of the Spark cluster?</p>