【问题标题】:PredictionIO Not able to build pioPredictionIO 无法构建 pio
【发布时间】:2017-12-08 10:00:00
【问题描述】:

我正在尝试将 UR 与 predictionio-0.11.0-incubating 一起使用,配置如下: elasticsearch.version=1.7.6 scala.version=2.11.8

它给出错误消息 [ERROR] [Engine$] No engine found。您的构建可能失败。中止。 它没有列出任何详细的例外情况。请在日志下方找到:

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

【问题讨论】:

    标签: recommendation-engine predictionio


    【解决方案1】:

    您必须确保以下几点:

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

    【讨论】:

      猜你喜欢
      • 2020-05-13
      • 1970-01-01
      • 1970-01-01
      • 2015-08-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-26
      • 1970-01-01
      相关资源
      最近更新 更多