Seems that Spark 1.5 works with kryo 3.0.3 while Spark 2 needs kryo 4.0.0. Also use :target-path "target/%s/" just to make sure that compiled classes are aware of active profile.
I'm using https://hub.docker.com/r/gettyimages/spark/ for as docker image and while 2.1.0 seems to work neat, when using 1.5.2, one needs to have master name mapped to 127.0.0.1 in /etc/hosts.
Seems that Spark 1.5 works with kryo 3.0.3 while Spark 2 needs kryo 4.0.0. Also use
:target-path "target/%s/"
just to make sure that compiled classes are aware of active profile.I'm using https://hub.docker.com/r/gettyimages/spark/ for as docker image and while 2.1.0 seems to work neat, when using 1.5.2, one needs to have
master
name mapped to127.0.0.1
in /etc/hosts.