-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Trino Getting-started Example #868
base: main
Are you sure you want to change the base?
Conversation
@@ -23,3 +23,5 @@ iceberg.rest-catalog.uri=http://polaris:8181/api/catalog | |||
iceberg.rest-catalog.security=OAUTH2 | |||
iceberg.rest-catalog.oauth2.token=principal:root;realm:default-realm | |||
iceberg.rest-catalog.warehouse=polaris | |||
# Required to support local filesystem: https://trino.io/docs/current/object-storage.html#configuration | |||
fs.hadoop.enabled=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is related to a breaking change in Trino iceberg connector: link
We have to explicitly enable filesystem support : https://trino.io/docs/current/object-storage.html#configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch ! Thanks !
## Build Polaris Image | ||
Build Polaris Image while Docker is running | ||
``` | ||
./gradlew :polaris-quarkus-server:assemble -Dquarkus.container-image.build=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General question (not about this PR specificaly): should not we rename polaris-quarkus-server
to polaris-server
now ? @adutra thoughts ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not opposed to a global renaming and removing the quarkus
token from all module names 👍
@@ -23,3 +23,5 @@ iceberg.rest-catalog.uri=http://polaris:8181/api/catalog | |||
iceberg.rest-catalog.security=OAUTH2 | |||
iceberg.rest-catalog.oauth2.token=principal:root;realm:default-realm | |||
iceberg.rest-catalog.warehouse=polaris | |||
# Required to support local filesystem: https://trino.io/docs/current/object-storage.html#configuration | |||
fs.hadoop.enabled=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch ! Thanks !
GOOGLE_APPLICATION_CREDENTIALS: $GOOGLE_APPLICATION_CREDENTIALS | ||
AZURE_TENANT_ID: $AZURE_TENANT_ID | ||
AZURE_CLIENT_ID: $AZURE_CLIENT_ID | ||
AZURE_CLIENT_SECRET: $AZURE_CLIENT_SECRET | ||
# add aws keys as dropwizard config | ||
JAVA_OPTS: -Ddw.awsAccessKey=$AWS_ACCESS_KEY_ID -Ddw.awsSecretKey=$AWS_SECRET_ACCESS_KEY | ||
polaris.persistence.type: in-memory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I missed that docker-compose file, I should have adapted it to Quarkus earlier. My bad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, we could adapt the change after #804 is merged.
Updates Trino example to make it working again. There are 2 major part of changes
fs.hadoop.enabled=true
to enable Local Filesystem support for Trino