ElasticSearch · Issue #24 · PredictionIO/template-scala-parallel-universal-recommendation
Yes, name each host comma delimited no spaces, also list ports comma delimited no spaces so like this
PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=
PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=xx.xx.xx.xx,xx.xx.xx.xx,xx.xx.xx.xx
PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300,9300,9300
Also you need to change the cluster name in elasticsearch.yml but you will loose app metadata so backup with pio export ...
and remove all apps, then change the ES config and re-create apps with pio app new <appname>
and pio import ...
the data into new config
Read full article from ElasticSearch · Issue #24 · PredictionIO/template-scala-parallel-universal-recommendation
No comments:
Post a Comment