[ https://issues.apache.org/jira/browse/PIO-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906580#comment-15906580 ]
Pat Ferrel commented on PIO-49: ------------------------------- The integration with the develop branch does not work for existing pio-env.sh and existing ES1 setups, which should be the default. I have tried working pio-env.sh (working with pre-ES5 integration develop branch) in both fully clustered remote everything and fully local dev machine setups. Neither work with the following pio-env.sh for local setup: {code} #!/usr/bin/env bash SPARK_HOME=/usr/local/spark ES_CONF_DIR=/usr/local/elasticsearch/config HADOOP_CONF_DIR=/usr/local/hadoop/etc/hadoop HBASE_CONF_DIR=/usr/local/hbase/conf # Filesystem paths where PredictionIO uses as block storage. PIO_FS_BASEDIR=$HOME/.pio_store PIO_FS_ENGINESDIR=$PIO_FS_BASEDIR/engines PIO_FS_TMPDIR=$PIO_FS_BASEDIR/tmp # PredictionIO Storage Configuration # Storage Repositories PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_ PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=LOCALFS PIO_STORAGE_REPOSITORIES_APPDATA_NAME=pio_appdata PIO_STORAGE_REPOSITORIES_APPDATA_SOURCE=ELASTICSEARCH PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_eventdata PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=HBASE # Storage Data Sources PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300 PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=elasticsearch_pat PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=/usr/local/elasticsearch PIO_STORAGE_SOURCES_LOCALFS_TYPE=localfs PIO_STORAGE_SOURCES_LOCALFS_HOSTS=$PIO_FS_BASEDIR/models PIO_STORAGE_SOURCES_LOCALFS_PORTS=0 PIO_STORAGE_SOURCES_HBASE_TYPE=hbase PIO_STORAGE_SOURCES_HBASE_HOSTS=0 PIO_STORAGE_SOURCES_HBASE_PORTS=0 PIO_STORAGE_SOURCES_HBASE_HOME=/usr/local/hbase {code} pio-start-all seem to work but pio status give the following error: {code} [INFO] [Management$] Inspecting PredictionIO... [INFO] [Management$] PredictionIO 0.11.0-SNAPSHOT is installed at /Users/pat/pio [INFO] [Management$] Inspecting Apache Spark... [INFO] [Management$] Apache Spark is installed at None [INFO] [Management$] Apache Spark 1.6.3 detected (meets minimum requirement of 1.3.0) [INFO] [Management$] Inspecting storage backend connections... [INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)... [ERROR] [Storage$] Error initializing storage client for source ELASTICSEARCH [ERROR] [Management$] Unable to connect to all storage backends successfully. |The following shows the error message from the storage backend. |Data source ELASTICSEARCH was not properly initialized. (org.apache.predictionio.data.storage.StorageClientException)", e) |Dumping configuration of initialized storage backend sources. |"Please make sure they are correct. |Source Name: ELASTICSEARCH; Type: (error); Configuration: (error) {code} > Add support for Elasticsearch 5.x > --------------------------------- > > Key: PIO-49 > URL: https://issues.apache.org/jira/browse/PIO-49 > Project: PredictionIO > Issue Type: Improvement > Reporter: Shinsuke Sugaya > Fix For: 0.11.0 > > > We work on meta/event storage support for Elasticsearch 5.x. > Although Elasticsearch 2.x does not allow dots in field names, > Elasticsearch 5.x supports it. So, it's better to upgrade to ES 5.x release. > Since ES 5.x provides Java Rest API client, we replaced > Transport communication with HTTP one. Therefore, our fix > uses HTTP(9200 port) only. -- This message was sent by Atlassian JIRA (v6.3.15#6346)