title: name 'spark' is not defined in pyspark (Spark Version 1.6.3)
body: <p>As I am using <code>Spark Version 1.6.3</code> in <code>hdfs</code> in <code>pyspark</code> it give me an error:</p>
  <pre><code>df=spark.read.format(&quot;jdbc&quot;).option(&quot;url&quot;,conn_url).option(&quot;drive&quot;,&quot;oracle.jdbc.driver.OracleDriver&quot;).option(&quot;dbtable&quot;,&quot;W_DIM_TIME&quot;).option(&quot;user&quot;,&quot;mvr&quot;).option(&quot;password&quot;,&quot;****&quot;).load()
  </code></pre>
  <p>Kindly help me out.</p>