首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PredictionIO无法构建pio

PredictionIO无法构建pio
EN

Stack Overflow用户
提问于 2017-12-08 18:00:00
回答 1查看 433关注 0票数 0

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

它给出了一条错误消息error No engine found。您的构建可能已失败。正在中止。它没有列出任何详细的异常。请查看以下日志:

代码语言:javascript
复制
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上。

EN

回答 1

Stack Overflow用户

发布于 2017-12-13 15:30:26

您必须确保下面提到的几点:

  • 您正在您的engine.json所在的同一目录中运行pio build命令
  • 在您的build.sbt

中提到scala版本scalaVersion := "2.11.8“

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47711867

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档