lasdf1234 opened a new issue, #14298:
URL: https://github.com/apache/gravitino/issues/14298

   ### What would you like to be improved?
   
   With Iceberg REST embedded as an auxiliary service, lakehouse catalogs still 
construct their own Iceberg backends via `IcebergCatalogUtil` (jdbc/hive 
duplicate clients; rest→local IRC goes HTTP + Authorization forwarding). TMS 
then needed `MaintenanceAuthDoAs` (PR #14289). IRC1 already has 
`IcebergCatalogWrapperManager` in the same JVM — lakehouse should reuse it.
   
   ### How should we improve?
   
   1. Aux `RESTService` registers a bridge to `IcebergCatalogWrapperManager`.
   2. Lakehouse catalog load uses that bridge by catalog name for 
jdbc/hive/rest when aux is live; otherwise keep self-load.
   3. Flow: Gravitino/TMS → in-process IRC1 wrapper → (jdbc/hive direct | 
HTTP/oauth to IRC2).
   4. Remove #14289 `MaintenanceAuthDoAs` once reuse lands.


-- 
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]

Reply via email to