I looked through
https://groups.google.com/g/actionml-user/c/tItDrTqrv8k/m/2v8wOPeNCQAJ
However it is not the same situation to me.
this is my way
at first, I run this one line code
$ docker run -it -p 8000:8000 -p 7070:7070 steveny/predictionio:0.12.0 /bin/bash
as well vendor of Spark, Elasticsearch, HBase, strictly follow the steps of that page.
my pio-env.sh as follow:
SPARK_HOME=$PIO_HOME/vendors/spark-2.4.0-bin-hadoop2.7
ES_CONF_DIR=$PIO_HOME/vendors/elasticsearch-5.6.9
HBASE_CONF_DIR=$PIO_HOME/vendors/hbase-1.2.6/conf
PIO_FS_BASEDIR=$HOME/.pio_store
PIO_FS_ENGINESDIR=$PIO_FS_BASEDIR/engines
PIO_FS_TMPDIR=$PIO_FS_BASEDIR/tmp
PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta
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
PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch
PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=predictionio
PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost
PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9200
PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=$PIO_HOME/vendors/elasticsearch-5.6.9
PIO_STORAGE_SOURCES_HBASE_TYPE=hbase
PIO_STORAGE_SOURCES_HBASE_HOME=$PIO_HOME/vendors/hbase-1.2.6
when I run command /path/bin/pio-start-all, eveythign seems well.
Starting Elasticsearch...
Starting HBase...
starting master, logging to /PredictionIO-0.12.0-incubating/vendors/hbase-1.2.6/bin/../logs/hbase--master-78a14dac9659.out
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Waiting 10 seconds for Storage Repositories to fully initialize...
Starting PredictionIO Event Server...
then jps -l,
98 org.elasticsearch.bootstrap.Elasticsearch
599 org.apache.predictionio.tools.console.Console
219 org.apache.hadoop.hbase.master.HMaster
699 sun.tools.jps.Jps
The error shows when I run /opt/PredictionIO-0.14.0/bin/pio status
pio@b3d58a214ecd:/opt$ /opt/PredictionIO-0.14.0/bin/pio status
[INFO] [Management$] Inspecting PredictionIO...
[INFO] [Management$] PredictionIO 0.14.0 is installed at /opt/PredictionIO-0.14.0
[INFO] [Management$] Inspecting Apache Spark...
[INFO] [Management$] Apache Spark is installed at /opt/PredictionIO-0.14.0/vendors/spark-2.4.0-bin-hadoop2.7
[INFO] [Management$] Apache Spark 2.4.0 detected (meets minimum requirement of 2.0.2)
[INFO] [Management$] Inspecting storage backend connections...
[ERROR] [Storage$] LOCALFS is not a configured storage source.
[INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[INFO] [Storage$] Verifying Model Data Backend (Source: )...
[ERROR] [Management$] Unable to connect to all storage backends successfully.
The following shows the error message from the storage backend.
org/apache/commons/lang3/exception/ExceptionUtils (java.lang.NoClassDefFoundError)
Dumping configuration of initialized storage backend sources.
Please make sure they are correct.
Source Name: ELASTICSEARCH; Type: elasticsearch; Configuration: HOME -> /opt/PredictionIO-0.14.0/vendors/elasticsearch-5.6.9, HOSTS -> localhost, PORTS -> 9200, CLUSTERNAME -> predictionio, TYPE -> elasticsearch
pio@b3d58a214ecd:/opt$ curl -XGET 'http://localhost:9200/'
{
"name" : "xsrroXe",
"cluster_name" : "predictionio",
"cluster_uuid" : "tn7Pb7YQQzmH6lUdBZblcA",
"version" : {
"number" : "5.6.9",
"build_hash" : "877a590",
"build_date" : "2018-04-12T16:25:14.838Z",
"build_snapshot" : false,
"lucene_version" : "6.6.1"
},
"tagline" : "You Know, for Search"
}
The error org/apache/commons/lang3/exception/ExceptionUtils (java.lang.NoClassDefFoundError) still there. seems nothing work for it.
The above is my question, anybody can help me with?