predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawan Agnihotri <pawan.agniho...@gmail.com>
Subject [ERROR] [Storage$] Required repository (METADATA) configuration is missing.
Date Wed, 07 Mar 2018 06:21:03 GMT
Hello,

I need your help to configure predictionIO on linux 7.2 -

I am using
http://predictionio.apache.org/install/install-sourcecode/  link for steps
and installed spark, elastic search and hbase but getting below error


[mapr@valvcshad004vm bin]$ ./pio status
/dfs/pawan_scala/mapr-predictionio/bin/pio-class: line 89:
/opt/mapr/spark/spark-2.1.0/mapr-util/generate-classpath.sh: No such file
or directory
/dfs/pawan_scala/mapr-predictionio/bin/pio-class: line 90:
generate_compatible_classpath: command not found
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/dfs/pawan_scala/mapr-predictionio/assembly/pio-assembly-0.10.0-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/data/opt/mapr/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] [Console$] Inspecting PredictionIO...
[INFO] [Console$] PredictionIO 0.10.0-SNAPSHOT is installed at
/dfs/pawan_scala/mapr-predictionio
[INFO] [Console$] Inspecting Apache Spark...
[INFO] [Console$] Apache Spark is installed at
/dfs/pawan_scala/mapr-predictionio/vendors/spark-2.1.1-bin-hadoop2.6
[INFO] [Console$] Apache Spark 2.1.1 detected (meets minimum requirement of
1.3.0)
[INFO] [Console$] Inspecting storage backend connections...
*[WARN] [Storage$] There is no properly configured repository.*
*[ERROR] [Storage$] Required repository (METADATA) configuration is
missing.*
*[ERROR] [Storage$] There were 1 configuration errors. Exiting.*
[mapr@valvcshad004vm bin]$

Here is my *pio-env.sh *file

[mapr@valvcshad004vm conf]$ cat pio-env.sh
# Default is to use PostgreSQL
#PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta
#PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=PGSQL

#PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_event
#PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=PGSQL

#PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_model
#PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=PGSQL

# Storage Data Sources

# PostgreSQL Default Settings
# Please change "pio" to your database name in PIO_STORAGE_SOURCES_PGSQL_URL
# Please change PIO_STORAGE_SOURCES_PGSQL_USERNAME and
# PIO_STORAGE_SOURCES_PGSQL_PASSWORD accordingly
#PIO_STORAGE_SOURCES_PGSQL_TYPE=jdbc
#PIO_STORAGE_SOURCES_PGSQL_URL=jdbc:postgresql://localhost/pio
#PIO_STORAGE_SOURCES_PGSQL_USERNAME=pio
#$PIO_STORAGE_SOURCES_PGSQL_PASSWORD=pio

# MySQL Example
# PIO_STORAGE_SOURCES_MYSQL_TYPE=jdbc
# PIO_STORAGE_SOURCES_MYSQL_URL=jdbc:mysql://localhost/pio
# PIO_STORAGE_SOURCES_MYSQL_USERNAME=pio
# PIO_STORAGE_SOURCES_MYSQL_PASSWORD=pio

# Elasticsearch Example
 PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch
 PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=elasticsearch_cluster_name
 PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost
 PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300
 PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=/dfs/pawan_scala/mapr-predictionio/vendors/elasticsearch-5.5.2

# Local File System Example
 PIO_STORAGE_SOURCES_LOCALFS_TYPE=localfs
 PIO_STORAGE_SOURCES_LOCALFS_PATH=$PIO_FS_BASEDIR/models

# HBase Example
 PIO_STORAGE_SOURCES_HBASE_TYPE=hbase
 PIO_STORAGE_SOURCES_HBASE_HOME=/dfs/pawan_scala/mapr-predictionio/vendors/hbase-1.2.6

[mapr@valvcshad004vm conf]$


-- 
Thanks,
Pawan Agnihotri

Mime
View raw message