-
Notifications
You must be signed in to change notification settings - Fork 173
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,19 +19,27 @@ | |
|
||
services: | ||
polaris: | ||
build: | ||
context: ../../ | ||
image: apache/polaris:latest | ||
ports: | ||
- "8181:8181" | ||
- "8182" | ||
environment: | ||
AWS_REGION: us-west-2 | ||
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID | ||
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY | ||
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 commentThe 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. |
||
polaris.authentication.authenticator.type: test | ||
polaris.authentication.token-service.type: test | ||
polaris.authentication.token-broker.type: symmetric-key | ||
polaris.authentication.token-broker.symmetric-key.secret: polaris | ||
polaris.features.defaults."SUPPORTED_CATALOG_STORAGE_TYPES": '["FILE","S3","GCS","AZURE"]' | ||
polaris.realm-context.realms: default-realm,realm1 | ||
quarkus.log.file.enable: false | ||
quarkus.otel.sdk.disabled: "true" | ||
|
||
healthcheck: | ||
test: ["CMD", "curl", "http://localhost:8182/healthcheck"] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Good catch ! Thanks ! |
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
topolaris-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 👍