更新未找到metainfo

时间:2015-08-12 12:27:53

标签: python predictionio

完成安装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

它只是没有进一步。

1 个答案:

答案 0 :(得分:0)

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

或杀死sbt进程

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

重新启动服务器,一切都会很好