This is a noise,please ignore I figured out what happens...
bit1...@163.com From: bit1...@163.com Date: 2015-01-03 19:03 To: user Subject: sqlContext is undefined in the Spark Shell Hi, In the spark shell, I do the following two things: 1. scala> val cxt = new org.apache.spark.sql.SQLContext(sc); 2. scala> import sqlContext._ The 1st one succeeds while the 2nd one fails with the following error, <console>:10: error: not found: value sqlContext import sqlContext._ Is there something missing? I am using Spark 1.2.0. Thanks. bit1...@163.com