0

完成安装 PredictionIO 和下载引擎模板。使用 Python SDK。

       pio status
[INFO] [Console$] Inspecting PredictionIO...
[INFO] [Console$] PredictionIO 0.9.4 is installed at /home/infoobjects/PredictionIO
[INFO] [Console$] Inspecting Apache Spark...
[INFO] [Console$] Apache Spark is installed at /home/infoobjects/PredictionIO/vendors/spark-1.4.1
[INFO] [Console$] Apache Spark 1.4.1 detected (meets minimum requirement of 1.3.0)
[INFO] [Console$] Inspecting storage backend connections...
[INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[INFO] [Storage$] Verifying Model Data Backend (Source: LOCALFS)...
[INFO] [Storage$] Verifying Event Data Backend (Source: HBASE)...
[INFO] [Storage$] Test writing to Event Store (App Id 0)...
[INFO] [HBLEvents] The table pio_event:events_0 doesn't exist yet. Creating now...
[INFO] [HBLEvents] Removing table pio_event:events_0...
[INFO] [Console$] (sleeping 5 seconds for all messages to show up...)
[INFO] [Console$] Your system is all ready to go.

pio build --verbose 给出以下内容:

[INFO] [Console$] Using command '/home/infoobjects/PredictionIO/sbt/sbt' at the current working directory to build.
[INFO] [Console$] If the path above is incorrect, this process will fail.
[INFO] [Console$] Uber JAR disabled. Making sure lib/pio-assembly-0.9.4.jar is absent.
[INFO] [Console$] Going to run: /home/infoobjects/PredictionIO/sbt/sbt  package assemblyPackageDependency
[INFO] [Console$] Waiting for lock on /home/infoobjects/.sbt/boot/sbt.boot.lock to be available...
[DEBUG] [UpgradeCheckRunner] Update metainfo not found. http://direct.prediction.io/0.9.4/build/org.template.recommendation.RecommendationEngine.json

它只是没有更进一步。

4

1 回答 1

0

尝试删除锁定的文件 rm sbt.boot.lock

或者杀死 sbt 进程

然后运行 ​​pio buil 但你也可以简单地

只需重新启动您的服务器,一切都会好起来的

于 2015-10-27T16:11:58.630 回答