PredictionIO无法构建pio

时间:2017-12-08 10:00:00

标签: recommendation-engine predictionio

我正在尝试使用UR进行预测-0.11.0孵化,以下配置: elasticsearch.version = 1.7.6 scala.version = 2.11.8

发出错误信息[ERROR] [Engine $]找不到引擎。您的构建可能已失败。中止。 它没有列出任何详细的例外情况。请在下面找到日志:

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/home/neha/incubator-predictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/home/neha/incubator-predictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

[INFO] [Engine$] Using command '/home/neha/incubator-predictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating/sbt/sbt' at /home/neha/projects/universal-recommender to build.

[INFO] [Engine$] If the path above is incorrect, this process will fail.

[INFO] [Engine$] Uber JAR disabled. Making sure lib/pio-assembly-0.11.0-incubating.jar is absent.

[INFO] [Engine$] Going to run: /home/neha/incubator-predictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating/sbt/sbt  package assemblyPackageDependency in /home/neha/projects/universal-recommender

[INFO] [Engine$] Compilation finished successfully.

[INFO] [Engine$] Looking for an engine...

[ERROR] [Engine$] No engine found. Your build might have failed. Aborting.

最初的问题发布在https://github.com/PredictionIO/template-scala-parallel-universal-recommendation/issues/63

1 个答案:

答案 0 :(得分:0)

您必须确保以下几点:

  • 您正在放置engine.json的同一目录中运行pio build命令
  • 提及scala版本scalaVersion:=" 2.11.8"在你的build.sbt