title: Where should I put jars on a dataproc cluster so they can be used by gcloud dataproc jobs submit spark?
body: <p>I have an initialisation script that downloads a .jar from our local artefact repository and places it into <code>/usr/local/bin</code> on each node on the cluster. I can run it using </p>
  
  <pre><code>gcloud dataproc jobs submit spark --cluster=my_cluster \
        --region=us-central1 --jar=file:///usr/local/bin/myjar.jar -- arg1 arg2
  </code></pre>
  
  <p>However I'd prefer it if my end users did not have to know the location of the jar.</p>
  
  <p>Where can I put the .jar so that the location of it does not have to be specified?</p>