You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "puchengy (via GitHub)" <gi...@apache.org> on 2026/06/24 01:00:42 UTC

[I] [FEATURE] Support Hive Metastore namespace backend for Lance REST server [gravitino]

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: commits-unsubscribe@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [FEATURE] Support Hive Metastore namespace backend for Lance REST server [gravitino]

Posted by "puchengy (via GitHub)" <gi...@apache.org>.
puchengy commented on issue #11782:
URL: https://github.com/apache/gravitino/issues/11782#issuecomment-4784927889

   @jerryshao @yuqi1129 fyi 


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