title: Py4JJavaError - getting error while submit PySpark job in Dataproc
body: <p>I am getting error while trying to submit a PySpark job in Dataproc cluster.</p>
  
  <p>gcloud submission command:</p>
  
  <pre class="lang-sh prettyprint-override"><code>gcloud dataproc jobs submit pyspark --cluster test-cluster migrate_db_table.py
  </code></pre>
  
  <p>But getting below error:</p>
  
  <blockquote>
    <p>('Exception occurs !!!', Py4JJavaError(u'An error occurred while
    calling o31311.jdbc.\n', JavaObject id=o31313))</p>
  </blockquote>
  
  <p>Any idea about this error?</p>