title: java.io.IOException: No FileSystem for scheme: D while connecting from Windows with Oracle DB
body: <p>I am using Apache Spark in my Windows machine and connected the oracle db using jdbc6.jar driver. When I try to print the schema using this command df.schema, am getting the result but when i try to show the result using command df.show i am getting this error</p>
  
  <pre><code>ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0)
  java.io.IOException: No FileSystem for scheme: D
  at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2660)
  at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2667)
  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:94)
  at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2703)
  at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2685)
  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:373)
  </code></pre>
  
  <p>Below are the codes which I used.</p>
  
  <pre><code>D:\Spark\spark-2.4.3-bin-hadoop2.7\bin&gt;spark-shell --driver-class-path ojdbc6.jar --jars ojdbc6.jar --packages com.databricks:spark-csv_2.10:1.4.0
  
  scala&gt; sc.addJar("D:/Spark/spark-2.4.3-bin-hadoop2.7/bin/ojdbc6.jar")
  
  scala&gt; val sqlContext=new org.apache.spark.sql.SQLContext(sc)
  </code></pre>
  
  <p>**warning: there was one deprecation warning; re-run with -deprecation for details</p>
  
  <pre><code>sqlContext: org.apache.spark.sql.SQLContext = org.apache.spark.sql.SQLContext@42fc744**
  
  scala&gt; val df = sqlContext.load("jdbc",Map("url" -&gt; "jdbc:oracle:thin:vision/vision123@10.16.1.101:1521:vision", "dbtable" -&gt; "vision_business_day"))
  </code></pre>
  
  <p><strong>warning: there was one deprecation warning; re-run with -deprecation for details
  df: org.apache.spark.sql.DataFrame = [COUNTRY: string, LE_BOOK: string ... 1 more field]</strong></p>
  
  <pre><code>scala&gt; df.show
  [Stage 0:&gt;                                                          (0 + 1) / 1]19/08/02 11:44:46 ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0)
          java.io.IOException: No FileSystem for scheme: D
                  at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2660)
                  at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2667)
                  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:94)
                  at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2703)
                  at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2685)
                  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:373)
                  at org.apache.spark.util.Utils$.getHadoopFileSystem(Utils.scala:1866)
                  at org.apache.spark.util.Utils$.doFetchFile(Utils.scala:721)
                  at org.apache.spark.util.Utils$.fetchFile(Utils.scala:509)
  </code></pre>