title: metastore_db doesn't get created with apache spark 2.2.1 in windows 7
body: <p>I want read CSV files using latest <code>Apache Spark Version i.e 2.2.1</code> in <code>Windows 7 via cmd</code> but unable to do so because there is some problem with the <code>metastore_db</code>. I tried below steps:  </p>
  
  <pre><code>1. spark-shell --packages com.databricks:spark-csv_2.11:1.5.0 //Since my scala 
                                                                // version is 2.11  
   2. val df = spark.read.format("csv").option("header", "true").option("mode", "DROPMALFORMED").load("file:///D:/ResourceData.csv")// As //in latest versions we use SparkSession variable i.e spark instead of //sqlContext variable  
  </code></pre>
  
  <p>but it throws me below error:  </p>
  
  <pre><code>  Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database 'metastore_db' with class loader o
  .spark.sql.hive.client.IsolatedClientLoader  
  
  Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database 
  </code></pre>
  
  <p>I am able to read csv in 1.6 version but I want to do it in latest version. Can anyone help me with this?? I am stuck since many days .</p>