You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "lasdf1234 (via GitHub)" <gi...@apache.org> on 2026/06/26 09:24:20 UTC
[PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
lasdf1234 opened a new pull request, #11808:
URL: https://github.com/apache/gravitino/pull/11808
### What changes were proposed in this pull request?
Add a Known Issues entry to `docs/iceberg-rest-engine/trino.md` describing
`SHOW SCHEMAS` failures when Trino connects to Gravitino IRC with OAuth2 and
nested namespaces enabled, and note that Trino 482+ resolves the issue.
### Why are the changes needed?
Trino 482 includes a fix for excessive OAuth token requests during recursive
namespace listing on Iceberg REST catalogs. Users hitting this scenario need
documentation on the affected configuration and the required Trino version.
Fix: #11077
### Does this PR introduce _any_ user-facing change?
Documentation only. No API or configuration changes.
### How was this patch tested?
Docs change only; reviewed for accuracy against the Trino 482 release and the
reported failure scenario in #11077.
Made with [Cursor](https://cursor.com)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
Posted by "lasdf1234 (via GitHub)" <gi...@apache.org>.
lasdf1234 commented on PR #11808:
URL: https://github.com/apache/gravitino/pull/11808#issuecomment-4808276894
@roryqi Could you help me to review this code.THX.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
Posted by "lasdf1234 (via GitHub)" <gi...@apache.org>.
lasdf1234 commented on code in PR #11808:
URL: https://github.com/apache/gravitino/pull/11808#discussion_r3490229868
##########
docs/iceberg-rest-engine/trino.md:
##########
@@ -190,6 +190,16 @@ WITH (
## Known Issues
+### `SHOW SCHEMAS` Fails on Gravitino IRC (OAuth2, Nested Namespaces)
+
+When Trino connects to Gravitino IRC with `iceberg.rest-catalog.security=OAUTH2`,
+`iceberg.rest-catalog.nested-namespace-enabled=true`, and `iceberg.rest-catalog.session=NONE`
+(the default), `SHOW SCHEMAS` recursively calls Iceberg REST `listNamespaces`. On Trino releases
+before 482, each recursive call creates a separate OAuth session, which can trigger excessive token
+requests and cause errors such as `Connection pool shut down` or `StackOverflowError`.
+
Review Comment:
Thanks for the follow up. I've switched both known issues to the ‘Cause’ / ‘Solution’ format
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #11808:
URL: https://github.com/apache/gravitino/pull/11808#issuecomment-4808921610
<!-- coverage-report -->
### Code Coverage Report
|Overall Project|67.23%|:green_circle:|
|:-|:-|:-:|
|Files changed|No Java source files changed|-|
<br>
|Module|Coverage||
|:-|:-|:-:|
|aliyun|1.72%|:red_circle:|
|api|46.82%|:green_circle:|
|authorization-common|85.96%|:green_circle:|
|aws|26.5%|:red_circle:|
|azure|2.47%|:red_circle:|
|catalog-common|10.4%|:red_circle:|
|catalog-fileset|80.23%|:green_circle:|
|catalog-glue|66.91%|:green_circle:|
|catalog-hive|79.42%|:green_circle:|
|catalog-jdbc-clickhouse|80.02%|:green_circle:|
|catalog-jdbc-common|44.22%|:green_circle:|
|catalog-jdbc-doris|80.28%|:green_circle:|
|catalog-jdbc-hologres|54.03%|:green_circle:|
|catalog-jdbc-mysql|79.23%|:green_circle:|
|catalog-jdbc-oceanbase|80.91%|:green_circle:|
|catalog-jdbc-postgresql|82.29%|:green_circle:|
|catalog-jdbc-starrocks|78.51%|:green_circle:|
|catalog-kafka|77.01%|:green_circle:|
|catalog-lakehouse-generic|58.53%|:green_circle:|
|catalog-lakehouse-hudi|79.1%|:green_circle:|
|catalog-lakehouse-iceberg|85.94%|:green_circle:|
|catalog-lakehouse-paimon|82.14%|:green_circle:|
|catalog-model|77.72%|:green_circle:|
|cli|44.51%|:green_circle:|
|client-java|78.01%|:green_circle:|
|common|50.17%|:green_circle:|
|core|82.59%|:green_circle:|
|filesystem-hadoop3|77.27%|:green_circle:|
|flink|0.0%|:red_circle:|
|flink-common|47.12%|:green_circle:|
|flink-runtime|0.0%|:red_circle:|
|gcp|14.12%|:red_circle:|
|hadoop-common|10.88%|:red_circle:|
|hive-metastore-common|53.77%|:green_circle:|
|iceberg-common|58.15%|:green_circle:|
|iceberg-rest-server|73.9%|:green_circle:|
|idp-basic|85.71%|:green_circle:|
|integration-test-common|0.0%|:red_circle:|
|jobs|66.17%|:green_circle:|
|lance-common|20.83%|:red_circle:|
|lance-rest-server|60.13%|:green_circle:|
|lineage|53.02%|:green_circle:|
|optimizer|82.87%|:green_circle:|
|optimizer-api|21.95%|:red_circle:|
|server|86.09%|:green_circle:|
|server-common|74.18%|:green_circle:|
|spark|28.57%|:red_circle:|
|spark-common|41.66%|:green_circle:|
|trino-connector|40.29%|:green_circle:|
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
Posted by "lasdf1234 (via GitHub)" <gi...@apache.org>.
lasdf1234 commented on code in PR #11808:
URL: https://github.com/apache/gravitino/pull/11808#discussion_r3490157588
##########
docs/iceberg-rest-engine/trino.md:
##########
@@ -190,6 +190,16 @@ WITH (
## Known Issues
+### `SHOW SCHEMAS` Fails on Gravitino IRC (OAuth2, Nested Namespaces)
+
+When Trino connects to Gravitino IRC with `iceberg.rest-catalog.security=OAUTH2`,
+`iceberg.rest-catalog.nested-namespace-enabled=true`, and `iceberg.rest-catalog.session=NONE`
+(the default), `SHOW SCHEMAS` recursively calls Iceberg REST `listNamespaces`. On Trino releases
+before 482, each recursive call creates a separate OAuth session, which can trigger excessive token
+requests and cause errors such as `Connection pool shut down` or `StackOverflowError`.
+
Review Comment:
Thank you very much for your suggestion. It has been consistent with Lance's document.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
Posted by "roryqi (via GitHub)" <gi...@apache.org>.
roryqi commented on code in PR #11808:
URL: https://github.com/apache/gravitino/pull/11808#discussion_r3490163743
##########
docs/iceberg-rest-engine/trino.md:
##########
@@ -190,6 +190,16 @@ WITH (
## Known Issues
+### `SHOW SCHEMAS` Fails on Gravitino IRC (OAuth2, Nested Namespaces)
+
+When Trino connects to Gravitino IRC with `iceberg.rest-catalog.security=OAUTH2`,
+`iceberg.rest-catalog.nested-namespace-enabled=true`, and `iceberg.rest-catalog.session=NONE`
+(the default), `SHOW SCHEMAS` recursively calls Iceberg REST `listNamespaces`. On Trino releases
+before 482, each recursive call creates a separate OAuth session, which can trigger excessive token
+requests and cause errors such as `Connection pool shut down` or `StackOverflowError`.
+
Review Comment:
Could u refer to other official documents?
Maybe it should better:
Cause: xxx
Solution: xxx.
``TIMESTAMP WITH TIME ZONE` Values Are Not Adjusted to the Client Session Time Zone`
should refer to this format, too.
Maybe I prefer
Solution:
Upgrade to Trino 482+.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
Posted by "roryqi (via GitHub)" <gi...@apache.org>.
roryqi merged PR #11808:
URL: https://github.com/apache/gravitino/pull/11808
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC [gravitino]
Posted by "roryqi (via GitHub)" <gi...@apache.org>.
roryqi commented on code in PR #11808:
URL: https://github.com/apache/gravitino/pull/11808#discussion_r3489025029
##########
docs/iceberg-rest-engine/trino.md:
##########
@@ -190,6 +190,16 @@ WITH (
## Known Issues
+### `SHOW SCHEMAS` Fails on Gravitino IRC (OAuth2, Nested Namespaces)
+
+When Trino connects to Gravitino IRC with `iceberg.rest-catalog.security=OAUTH2`,
+`iceberg.rest-catalog.nested-namespace-enabled=true`, and `iceberg.rest-catalog.session=NONE`
+(the default), `SHOW SCHEMAS` recursively calls Iceberg REST `listNamespaces`. On Trino releases
+before 482, each recursive call creates a separate OAuth session, which can trigger excessive token
+requests and cause errors such as `Connection pool shut down` or `StackOverflowError`.
+
Review Comment:
Could u add the keyword like solution?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org