No engine found. Your build might have failed. Aborting. [predictionio]

两盒软妹~` 提交于 2019-12-10 13:38:30

问题


Please click this link to see the exact log i am seeing after running pio build. It fails as it can't find engine. Help would be much appreciated


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/42622587/no-engine-found-your-build-might-have-failed-aborting-predictionio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!