Prediction.io - Elasticsearch错误

时间:2018-02-04 12:44:35

标签: elasticsearch predictionio

我正在尝试在virtualBox ubuntu 16.04版本上安装Prediction.io。 以下配置为pio-env.sh

PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_metadata
PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH

PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_event
PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=HBASE

PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_model
PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=LOCALFS

运行命令后

PredictionIO-0.12.0-incubating/dist/bin/pio status

获得低于输出

[INFO] [Management$] Inspecting PredictionIO...
[INFO] [Management$] PredictionIO 0.12.0-incubating is installed at /home/aniruddha/PredictionIO-0.12.0-incubating/dist
[INFO] [Management$] Inspecting Apache Spark...
[INFO] [Management$] Apache Spark is installed at /home/aniruddha/PredictionIO-0.12.0-incubating/dist/vendors/spark-2.1.1-bin-hadoop2.6
[INFO] [Management$] Apache Spark 2.1.1 detected (meets minimum requirement of 1.3.0)
[INFO] [Management$] Inspecting storage backend connections...
[INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[ERROR] [Management$] Unable to connect to all storage backends successfully.
The following shows the error message from the storage backend.

PUT http://localhost:9200/pio_metadata/_mapping/engine_instances: HTTP/1.1 400 Bad Request
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [keyword] declared on field [status]"}],"type":"mapper_parsing_exception","reason":"No handler for type [keyword] declared on field [status]"},"status":400} (org.apache.predictionio.shaded.org.elasticsearch.client.ResponseException)

Dumping configuration of initialized storage backend sources.
Please make sure they are correct.

Source Name: ELASTICSEARCH; Type: elasticsearch; Configuration: HOME -> /home/aniruddha/PredictionIO-0.12.0-incubating/dist/vendors/elasticsearch-5.5.2, HOSTS -> localhost, PORTS -> 9200, SCHEMES -> http, CLUSTERNAME -> prediction, TYPE -> elasticsearch

我是predict.io的新手,尝试通过参考安装手册 - https://predictionio.apache.org/install/install-sourcecode/

进行安装

0 个答案:

没有答案