Closed Cerebus closed 1 year ago
I figured out setting CATALOG_IO__IMPL=org.apache.iceberg.aws.s3.S3FileIO
and setting the normal AWS env vars, but now I'm getting
Query 20230119_195521_00016_7q5u8 failed: Server error: S3Exception: null (Service: S3, Status Code: 400, Request ID: 173BCDF32DE958DE)
NM, sorted that out. Closing.
Hey @Cerebus, could you paste the final config you used to connect to MinIO?
@danthelion I needed to add these variables for it to work with non-aws S3 implementation:
CATALOG_IO__IMPL=org.apache.iceberg.aws.s3.S3FileIO
CATALOG_S3_ENDPOINT=https://my-endpoint
AWS_REGION=my-region
AWS_SECRET_ACCESS_KEY=secret_key
AWS_ACCESS_KEY_ID=access_key
From trino, I can create the schema/namespace. On CREATE TABLE, writing the underlying files to s3 (actually, minio) works, but on committing the metadata, thows an exception:
I think this is a config issue, but I haven't been able to suss out what env vars I need to declare.