bitsondatadev / trino-getting-started

Apache License 2.0
234 stars 97 forks source link

`ERROR: Config file is missing` when trying to start `trino-coordinator_1` container #19

Closed tjbanghart closed 1 year ago

tjbanghart commented 1 year ago

Attempting to follow this README. After a fresh clone of this repo, I hit the following errors when trying to run docker-compose up. Perhaps I am missing something? Thanks!

trino-coordinator_1 | ERROR: Config file is missing: /etc/trino/config.properties

hive-metastore_1 | Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: /opt/apache-hive-metastore-3.0.0-bin/conf/metastore-site.xml (Permission denied)

findinpath commented 1 year ago

I just tried this scenario locally and couldn't reproduce it.

You should rather see different names for the containers.

I have the following:

➜  trino-getting-started git:(main) ✗ docker ps
CONTAINER ID   IMAGE                                 COMMAND                  CREATED         STATUS                   PORTS                              NAMES
1cde2f9fd2d1   bitsondatadev/hive-metastore:latest   "sh -c /entrypoint.sh"   2 minutes ago   Up 2 minutes             0.0.0.0:9083->9083/tcp             trino-minio-hive-metastore-1
c7080b18a104   trinodb/trino:latest                  "/usr/lib/trino/bin/…"   2 minutes ago   Up 2 minutes (healthy)   0.0.0.0:8080->8080/tcp             trino-minio-trino-coordinator-1
a80cf2a6f32b   mariadb:latest                        "docker-entrypoint.s…"   2 minutes ago   Up 2 minutes             0.0.0.0:3306->3306/tcp             trino-minio-mariadb-1
0b461dd71bff   minio/minio:latest                    "/usr/bin/docker-ent…"   2 minutes ago   Up 2 minutes             0.0.0.0:9000-9001->9000-9001/tcp   minio

They differ from trino-coordinator_1 and hive-metastore_1.

Please add (as file attachment) the output of:

bitsondatadev commented 1 year ago

Closing due to inactivity