datastrato / gravitino-playground

A playground to experience Gravitino
Apache License 2.0
18 stars 11 forks source link

trino container failed to run with Podman on Windows10 #13

Closed shaofengshi closed 5 months ago

shaofengshi commented 5 months ago

I'm using Windows 10 with Podman 4.8.3. When I use "podman compose up", the trino container exits firstly due to #12 . After I manually solve #12, and start the trino container, I see the "init.sh" wasn't successfully executed. Only the first command got success, which created the "metalake_demo" entity. Other entities like Hive catalog and Postgresql catalog were not created.

From the logs I see such error:

/tmp/trino/init.sh: line 5: $'\r': command not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 273 100 213 100 60 610 172 --:--:-- --:--:-- --:- /tmp/trino/init.sh: line 82: syntax error: unexpected end of file

shaofengshi commented 5 months ago

Solved as described in https://github.com/datastrato/gravitino-playground/issues/12