Support additional configurations for Nessie catalog#17725
Support additional configurations for Nessie catalog#17725ebyhr merged 2 commits intotrinodb:masterfrom
Conversation
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogModule.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Please add tests (config test is insufficient especially for auth) and fix the commit title https://github.com/trinodb/trino/blob/master/.github/DEVELOPMENT.md#format-git-commit-messages
...n/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/AuthenticationType.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
824df79 to
24b4643
Compare
|
@ebyhr: Thanks for an awesome review.
|
ac7f884 to
0f9f61e
Compare
.../java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
1a1bfec to
a23af13
Compare
|
@ebyhr: The PR is ready. Can you please take another look? thanks. |
|
@ajantha-bhat thanks for adding this. |
True. Nessie is usually deployed with |
|
@findinpath: Thanks for self requesting the review. |
|
I just rebased the PR since there was a conflict in pom file. |
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/TestIcebergPlugin.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/containers/NessieContainer.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/containers/KeycloakContainer.java
Outdated
Show resolved
Hide resolved
...g/src/test/java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogWithAuth.java
Outdated
Show resolved
Hide resolved
...g/src/test/java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogWithAuth.java
Outdated
Show resolved
Hide resolved
...g/src/test/java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogWithAuth.java
Outdated
Show resolved
Hide resolved
...g/src/test/java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogWithAuth.java
Outdated
Show resolved
Hide resolved
...g/src/test/java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogWithAuth.java
Outdated
Show resolved
Hide resolved
...g/src/test/java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogWithAuth.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
|
Just pushed the rebase (no conflicts). I will work on comments on the latest code. |
eeda12c to
da29c08
Compare
|
@ebyhr : Addressed all the comments except #17725 (comment) and #17725 (comment). (Both related to test refactoring) Let me know how to proceed further. |
|
I just did a rebase since there was conflict in |
Nessie server configurations like read-timeout-ms, connect-timeout-ms and enable-compression properties are exposed to have finer control over the Nessie commits.
|
Rebased agian to resolve conflict from Iceberg 1.4.1 version bump. |
b78b5ae to
688d637
Compare
LGTM. |
|
Added an empty commit to retrigger the build as the testcase failure seems to be flaky (unrelated to Nessie) |
|
CI hit #18134 |
Nessie server can be deployed with Authentication mode with keycloak. So, need to expose the Nessie client configurations to handle the Auth.
|
Thanks @ebyhr for the thorough review and the guidance. |
It generates unnecessary clutter when running tests. Follow up to trinodb#17725
It generates unnecessary clutter when running tests. Follow up to #17725
|
Congratulations @ajantha-bhat .. great job. Thank you so much to @ebyhr for all the help and guidance. |
Description
Nessie server can be deployed with Auth mode like keycloak.
So, need to expose the Nessie client configurations to handle the Auth.
Along with that, some common Nessie server configurations like read-timeout-ms,
connect-timeout-ms, and compression-enabled properties are exposed to have finer
control over the Nessie commits.
Additional context and related issues
https://projectnessie.org/tools/client_config/
Release notes
(x) Release notes are required, with the following suggested text: