title: GCP Dataproc: Directly working with Spark over Yarn Cluster
body: <p>I'm trying to minimize changes in my code so I'm wondering if there is a way to submit a spark-streaming job from my personal PC/VM as follows:</p>
  
  <pre class="lang-sh prettyprint-override"><code>spark-submit --class path.to.your.Class --master yarn --deploy-mode client \
      [options] &lt;app jar&gt; [app options]
  </code></pre>
  
  <p>without using GCP SDK.</p>
  
  <p>I also have to specify a directory with configuration files <code>HADOOP_CONF_DIR</code> which I was able to download from Ambari.
  Is there a way to do the same?</p>
  
  <p>Thank you</p>