构建模型预测后的IndexMissingException

时间:2018-03-17 18:16:10

标签: apache-spark-ml predictionio matrix-factorization

我正在尝试使用pio(predictionIO)更新参数,构建,训练和部署ALS模型。我对pio很新。 我更新了engine.json中的alpha参数 然后运行build命令:

/data/apps/PredictionIO-0.11.0-incubating/bin/pio build --verbose

我收到了一堆消息,最后几个是:

[INFO] [Engine$] Compilation finished successfully.
[INFO] [Engine$] Looking for an engine...
[INFO] [Engine$] Found pros-als_2.10-0.1-SNAPSHOT.jar
[INFO] [Engine$] Found pros-als-assembly-0.1-SNAPSHOT-deps.jar
[INFO] [Engine$] Build finished successfully.
[INFO] [Pio$] Your engine is ready for training.

然后我试着跑:

curl -X "DELETE" http://localhost:9200/pio-als3

并找回错误消息:

[user123@mm122 pio-als]$ curl -X "DELETE" http://localhost:9200/pio-als3
{"error":"IndexMissingException[[pio-als3] missing]","status":404}[user123@mm122 [[[user123@mm122 pio-al[user[use[use[[user123@mm122[u[u[user123@mdc2pr[use[[user123@m[us[u[user123@mdc2[user123@mm122 pio-als]$ Connection to mm122 closed by remote host.
Connection to mm122 closed.
l4902745:~ me$ 

有谁知道问题可能是什么?在构建新模型后,是否需要从9200更改端口?如果是这样,我将如何找到新端口?

1 个答案:

答案 0 :(得分:0)

我试图删除错误的索引。一旦我找到了正确的索引并将其删除,一切正常。