ozone-trino docker-compose connection refused #4973
Replies: 4 comments 3 replies
-
if you refer to http://s3g:9878 then I get an error Error committing write to Hive |
Beta Was this translation helpful? Give feedback.
-
we understand what is needed endpoint=virtual-host-style URL |
Beta Was this translation helpful? Give feedback.
-
@tolstykh-da I've created an example docker-compose-based setup for integrating Ozone with Iceberg and Trino. Based on this experience, I recommend configuring Iceberg and Trino to access Ozone S3 Gateway using path-style URLs. Here are the relevant configs: ozone/hadoop-ozone/dist/src/main/compose/ozone/iceberg.yaml Lines 46 to 47 in 41be4fb See #5016 for the complete example. |
Beta Was this translation helpful? Give feedback.
-
Hi @adoroszlai Thank you |
Beta Was this translation helpful? Give feedback.
-
hi, I'm trying to use ozone along with trino through this config.
In trino, I turn to this (works with minio)
also for minio i specify
when ozone is running i can create via aws s3api cli bucket=dwh
when I try to create table from trino, I get
Unable to execute HTTP request: Connect to localhost:9878 [localhost/127.0.0.1] failed: Connection refused
tell me how to properly configure ozone and how to access it through s3?
may need http://localhost:9878/s3g? or http://s3g.localhost:9878?
Beta Was this translation helpful? Give feedback.
All reactions