2 Answers

2
votes

I meet the same problem, because I specified scala.version=2.11.8 when I build PredictionIO but the engine template I used was build with scala 2.10.

so I edit build.sbt file under engine's folder, and add scalaVersion := "2.11.8", re-run the build command(pio build --verbose), then everything build finished successfully.

0
votes

Check which version of scala you are using in the engine's build.sbt version and make sure you use that version when you build from source like this:

./make-distribution.sh -Dscala.version=<PUT CORRECT SCALA VERSION HERE> -Dspark.version=2.1.0 -Delasticsearch.version=2.3.3