Hello all,
I am trying out PredictionIO for the fist time, and using docker
installation. I am following the installation document at
https://predictionio.apache.org/install/install-docker/
When running using the command:
docker-compose -f docker-compose.yml \
-f pgsql/docker-compose.base.yml \
-f pgsql/docker-compose.meta.yml \
-f pgsql/docker-compose.event.yml \
-f pgsql/docker-compose.model.yml \
up
I get an error:
pio_1 | Waiting for PredictionIO...
pio_1 | [INFO] [Management$] Inspecting PredictionIO...
pio_1 | [INFO] [Management$] PredictionIO 0.13.0 is installed at
/usr/share/predictionio
pio_1 | [INFO] [Management$] Inspecting Apache Spark...
pio_1 | [INFO] [Management$] Apache Spark is installed at
/usr/share/spark-2.2.3-bin-hadoop2.7
pio_1 | [INFO] [Management$] Apache Spark 2.2.3 detected (meets
minimum requirement of 1.6.3)
pio_1 | [INFO] [Management$] Inspecting storage backend connections...
pio_1 | [INFO] [Storage$] Verifying Meta Data Backend (Source: PGSQL)...
pio_1 | [ERROR] [Management$] Unable to connect to all storage
backends successfully.
pio_1 | The following shows the error message from the storage backend.
pio_1 |
pio_1 | No suitable driver found for
jdbc:postgresql://postgres/pio (java.sql.SQLException)
pio_1 |
pio_1 | Dumping configuration of initialized storage backend sources.
pio_1 | Please make sure they are correct.
pio_1 |
pio_1 | Source Name: PGSQL; Type: jdbc; Configuration: URL ->
jdbc:postgresql://postgres/pio, PASSWORD -> pio, TYPE -> jdbc,
USERNAME -> pio
Looking like there is some issue with JDBC driver in docker.
Thanks and Regards,
Raj