Re: Spark SQL standalone application compile error

2014-06-09 Thread Michael Armbrust
park-sample-project/src/main/scala/spark/example/Main.scala:20: > not found: type SQLContext > [error] val sqlContext = new SQLContext(sc) > [error] ^ > ... > > By the way, when I ran the same code line by line from the spark-shell, it > worked well. &

Spark SQL standalone application compile error

2014-06-09 Thread shlee0605
k/example/Main.scala:20: not found: type SQLContext [error] val sqlContext = new SQLContext(sc) [error] ^ ... By the way, when I ran the same code line by line from the spark-shell, it worked well. How can I fix this? Thanks, Seunghyun Lee -- View this message in