xxubai opened a new issue, #11291:
URL: https://github.com/apache/gravitino/issues/11291
### Version
main branch
### Describe what's wrong
When using Web UI V2 to browse a Fluss relational catalog schema, the UI
tries to list views under the schema. However, the Fluss catalog does not
support view operations, so the server logs warnings and stack traces from the
view operation path.
The same schema works in the legacy V1 Web UI because V1 only lists tables
for relational schemas and does not request views.
### Expected behavior:
Web UI V2 should not call the list views API for catalogs that do not
support view operations, or it should gracefully hide/skip the Views tab for
such catalogs.
### Actual behavior:
Web UI V2 triggers a list views request under the Fluss schema and the
server logs an UnsupportedOperationException.
### Error message and/or stacktrace
```
2026-05-28 09:36:48.709 WARN [Gravitino-webserver-88]
[org.apache.gravitino.server.web.rest.ExceptionHandlers$ViewExceptionHandler.handle(ExceptionHandlers.java:308)]
- Failed to operate view(s) operation [LIST] under schema
[fluss_schema_check], reason [Catalog does not support view operations]
java.lang.UnsupportedOperationException: Catalog does not support view
operations
at
org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.lambda$doWithViewOps$2(CatalogManager.java:162)
at
org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.doWithViewOps(CatalogManager.java:159)
at
org.apache.gravitino.catalog.ViewOperationDispatcher.listViews(ViewOperationDispatcher.java:85)
at
org.apache.gravitino.server.web.rest.ViewOperations.listViews(ViewOperations.java:77)
```
### How to reproduce
1. Start Gravitino with Web UI V2 enabled.
2. Configure a Glue catalog.
3. Create or use a Glue schema.
4. Open Web UI V2 and navigate to the glue schema detail page.
5. Check the Gravitino server logs.
### Additional context
<img width="1700" height="711" alt="Image"
src="https://github.com/user-attachments/assets/d1be9bed-3f72-45b0-a24d-0fa7e3fae747"
/>
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]