Skip to content

Conversation

@nastra
Copy link
Collaborator

@nastra nastra commented Mar 22, 2023

This also requires the changes from databricks/iceberg-rest-image#7

@nastra nastra force-pushed the update-to-iceberg-1.2.0 branch from ebf2f01 to 0f4400e Compare March 22, 2023 09:50
@nastra nastra requested a review from danielcweeks March 22, 2023 09:50
@nastra nastra force-pushed the update-to-iceberg-1.2.0 branch from 90caeb7 to b78ff5d Compare March 22, 2023 11:53
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=password
- MINIO_DOMAIN=minio
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is required for Minio to enable virtual-host-style access to the bucket (which is the default in the new AWS SDK version

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of the networking changes are basically only to make virtual-host-style access to the bucket properly work

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the alternative would be to configure path-style access (which is deprecated) similar to #70

networks:
iceberg_net:
aliases:
- warehouse.minio
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this alias is required so that clients can access the bucket


# Download URL connection client required for S3FileIO
RUN curl https://repo1.maven.org/maven2/software/amazon/awssdk/url-connection-client/2.17.257/url-connection-client-2.17.257.jar -Lo /opt/spark/jars/url-connection-client-2.17.257.jar
RUN curl https://repo1.maven.org/maven2/software/amazon/awssdk/url-connection-client/${AWSSDK_VERSION}/url-connection-client-${AWSSDK_VERSION}.jar -Lo /opt/spark/jars/url-connection-client-${AWSSDK_VERSION}.jar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the change to switch over to the apache client make it into 1.2? Just wondering if we still need this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apache/iceberg@053028c didn't make it into 1.2 unfortunately, so we still need this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants