Re: Error using SQLContext in spark

2015-09-04 Thread Akhil Das
You need to add the spark-sql dependencies in your projects build file. Thanks Best Regards On Wed, Sep 2, 2015 at 6:41 PM, rakesh sharma wrote: > Error: application failed with exception > java.lang.NoSuchMethodError: >

Error using SQLContext in spark

2015-09-02 Thread rakesh sharma
Error: application failed with exceptionjava.lang.NoSuchMethodError: org.apache.spark.sql.SQLContext.(Lorg/apache/spark/api/java/JavaSparkContext;)V at examples.PersonRecordReader.getPersonRecords(PersonRecordReader.java:35) at examples.PersonRecordReader.main(PersonRecordReader.j