It turned out that there is a conflict for this within the Spark
environment. This error got resolved after I shaded out org.iq80.snappy
via the maven shade plugin. Just posting so others may benefit.
On Sun, Mar 20, 2016 at 11:40 PM, Akhil Das
wrote:
> Looks
at 2:02 PM, Jacek Laskowski <ja...@japila.pl> wrote:
>
> Hi,
>
> Doh! My eyes are bleeding to go through XMLs...
>
> Where did you specify Scala version? Dunno how it's in maven.
>
> p.s. I *strongly* recommend sbt.
>
> Jacek
> 11.03.2016 8:04 PM &
Thanks Jacek. Pom is below (Currenlty set to 1.6.1 spark but I started out
with 1.6.0 with the same problem).
http://maven.apache.org/POM/4.0.0;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
Thanks Ted.
I haven't explicitly specified Scala (I tried different versions in pom.xml
as well).
For what it is worth, this is what I get when I do a maven dependency
tree. I wonder if the 2.11.2 coming from scala-reflect matters:
[INFO] | | \- org.scala-lang:scalap:jar:2.11.0:compile