yeah i realized it and changed the version of it to 1.6.0 as mentioned in http://mvnrepository.com/artifact/org.apache.spark/spark-sql_2.10/1.6.0
I added the spark sql dependency back to the pom.xml and the scala code works just fine. On Mon, Mar 7, 2016 at 5:00 PM, Tristan Nixon <tni...@memeticlabs.org> wrote: > Hi Suniti, > > why are you mixing spark-sql version 1.2.0 with spark-core, spark-hive v > 1.6.0? > > I’d suggest you try to keep all the libs at the same version. > > On Mar 7, 2016, at 6:15 PM, Suniti Singh <suniti.si...@gmail.com> wrote: > > <dependency> > > <groupId>org.apache.spark</groupId> > > <artifactId>spark-core_2.10</artifactId> > > <version>1.6.0</version> > > </dependency> > > <dependency> > > <groupId>org.apache.spark</groupId> > > <artifactId>spark-sql_2.10</artifactId> > > <version>1.2.0</version> > > </dependency> > > <dependency> > > <groupId>org.apache.spark</groupId> > > <artifactId>spark-hive_2.10</artifactId> > > <version>1.6.0</version> > > </dependency> > > >