Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PredictionIO 0.12.1-未找到发动机。您的生成可能已失败。流产_Predictionio - Fatal编程技术网

PredictionIO 0.12.1-未找到发动机。您的生成可能已失败。流产

PredictionIO 0.12.1-未找到发动机。您的生成可能已失败。流产,predictionio,Predictionio,我已经使用二进制发行版安装了PredictionIO 0.12.1,我已经成功地启动了pio。之后,我使用了快速入门-电子商务推荐引擎模板。在生成时,我收到错误消息“[Error][Engine$]未找到引擎。您的生成可能已失败。正在中止。” 在与二进制发行版斗争之后,我下载了源代码并构建了具有所需依赖性的二进制文件 这是一个许可问题。我正在使用Ubuntu18.04,我需要提供对特定模板文件夹的读取权限(在本例中为MyeCommerceRecommension) 在得到许可后,它工作得很好 谢

我已经使用二进制发行版安装了PredictionIO 0.12.1,我已经成功地启动了pio。之后,我使用了快速入门-电子商务推荐引擎模板。在生成时,我收到错误消息“[Error][Engine$]未找到引擎。您的生成可能已失败。正在中止。”


在与二进制发行版斗争之后,我下载了源代码并构建了具有所需依赖性的二进制文件

这是一个许可问题。我正在使用Ubuntu18.04,我需要提供对特定模板文件夹的读取权限(在本例中为MyeCommerceRecommension)

在得到许可后,它工作得很好


谢谢,

您可以在部署时指定引擎实例id,在培训完成后通过灰显EngineInstaceId可以获得该id。

您是否错过了下载引擎和设置
引擎.json
的步骤?它的源代码托管在GitHub的某个地方,具体取决于您使用的引擎。Nope。我已经正确下载了引擎。
fh@fh:~/fh_engines/MyECommerceRecommendation$ pio build --verbose
[INFO] [Engine$] Using command '/home/fh/PredictionIO-0.12.1/sbt/sbt' at /home/fh/fh_engines/MyECommerceRecommendation 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.12.1.jar is absent.
[INFO] [Engine$] Going to run: /home/fh/PredictionIO-0.12.1/sbt/sbt  package assemblyPackageDependency in /home/fh/fh_engines/MyECommerceRecommendation
[INFO] [Engine$] [info] Loading project definition from /home/fh/.sbt/0.13/staging/a8733a2463247b8ef5ff/myecommercerecommendation/project
[INFO] [Engine$] [info] Set current project to template-scala-parallel-ecommercerecommendation (in build file:/home/fh/fh_engines/MyECommerceRecommendation/)
[INFO] [Engine$] [success] Total time: 1 s, completed 21 May, 2018 10:42:05 AM
[INFO] [Engine$] [info] Including from cache: scala-library-2.11.8.jar
[INFO] [Engine$] [info] Checking every *.class/*.jar file's SHA-1.
[INFO] [Engine$] [info] Merging files...
[INFO] [Engine$] [warn] Merging 'META-INF/MANIFEST.MF' with strategy 'discard'
[INFO] [Engine$] [warn] Strategy 'discard' was applied to a file
[INFO] [Engine$] [info] Assembly up to date: /home/fh/.sbt/0.13/staging/a8733a2463247b8ef5ff/myecommercerecommendation/target/scala-2.11/template-scala-parallel-ecommercerecommendation-assembly-0.1-SNAPSHOT-deps.jar
[INFO] [Engine$] [success] Total time: 1 s, completed 21 May, 2018 10:42:06 AM
[INFO] [Engine$] Compilation finished successfully.
[INFO] [Engine$] Looking for an engine...
[ERROR] [Engine$] No engine found. Your build might have failed. Aborting.
fh@fh:~/fh_engines/MyECommerceRecommendation$