title: What does spark-shell give "warning: there was one deprecation warning" while creating SQLContext?
body: <p>I am trying to create SQLContext inside Spark-shell using the command below:</p>
  
  <pre><code>//To start Spark Shell:
  
  &gt;spark-shell
  
  //To create object of SQLContext
  
  &gt;val sqlcontext = new org.apache.spark.sql.SQLContext(sc)
  </code></pre>
  
  <p>I am getting the Warning below:</p>
  
  <pre><code>warning: there was one deprecation warning; re-run with -deprecation for details
  sqlcontext: org.apache.spark.sql.SQLContext = org.apache.spark.sql.SQLContext@17e2e5d
  </code></pre>
  
  <p>What could be the reason?</p>