Reputation: 103
Upvotes: 6
Views: 1393
Reputation: 1304
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.
Upvotes: 2
Reputation: 1202
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
Upvotes: 0