Spark SQL Issue in windows

HI Experts,

am new to spark sql and stuck with this below error

scala> import org.apache.spark.sql._
import org.apache.spark.sql._

scala> var sqlContext = new SQLContext(sc)
warning: there was one deprecation warning; re-run with -deprecation for details

sqlContext: org.apache.spark.sql.SQLContext = org.apache.spark.sql.SQLContext@7f
5ce33e

scala> val sqlContext = new org.apache.spark.sql.SQLContext(sc)
warning: there was one deprecation warning; re-run with -deprecation for details

sqlContext: org.apache.spark.sql.SQLContext = org.apache.spark.sql.SQLContext@4e
94669c

scala> import org.apache.spark.sql.hive._
import org.apache.spark.sql.hive._

scala> val hc = new HiveContext(sc)
warning: there was one deprecation warning; re-run with -deprecation for details

hc: org.apache.spark.sql.hive.HiveContext = org.apache.spark.sql.hive.HiveContex
t@41d20f06