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

   ### Describe the feature
   
   Add a `hive` namespace backend to the Lance REST server so Lance tables can 
be managed in a Hive Metastore (HMS), the same way the Iceberg REST server 
already supports HMS.
   
   A namespace would map to a Hive database (1 level) and a table to `db.table` 
(2 levels). Lance tables are registered as `EXTERNAL_TABLE`s carrying 
`table_type=lance`. The backend acts purely as a pointer registry 
(`managedVersioning=false`) — it never writes Lance data — which matches the 
existing Gravitino backend and the Lance namespace reference implementations.
   
   ### Motivation
   
   Today Lance tables can only be cataloged through the Gravitino backend. Many 
deployments already operate a Hive Metastore as their central metadata service; 
a Hive backend lets them register and discover Lance tables there without 
standing up additional infrastructure.
   
   ### Describe the solution
   
   Register a new `HIVE` value in the existing `LanceNamespaceBackend` enum 
plug-point (no REST-server wiring changes), backed by a 
`HiveLanceNamespaceWrapper` that talks to HMS through a pooled 
`IMetaStoreClient` (compiled against Hive 2.3.9). Add config keys 
`hive-metastore-uris`, `hive-warehouse`, and `hive-client-pool-size`.
   
   ### Additional context
   
   This is the first of two steps; a follow-up will swap in an mTLS Hive client 
at the `HiveClientPool.newClient()` seam.


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