Hive Metastore overview
Hive Metastore keeps the metadata of your tables in one place, so that tools such as Apache Spark, Trino, or Presto can find and read your data. You create it as a service in a workspace, and other services in that workspace connect to it.
What Hive Metastore stores
Hive Metastore is a core component for storing metadata in a lakehouse architecture. It holds information about:
- Tables and their schemas.
- Partitions.
- Data locations.
Hive Metastore keeps this metadata in a PostgreSQL database that you connect when you create the service.
How Hive Metastore fits in FPT Data Platform
| Part | Description |
|---|---|
| Workspace | Hive Metastore runs as a service in a workspace, on nodes whose storage policy, type, and number you choose. |
| Database | A PostgreSQL database stores the Hive Metastore data. Use a database from FPT Database Engine or your own. |
| Object storage | An object storage bucket holds Hive Metastore data at the path you set. |
| Private URL | Other services use Hive Metastore through its Private URL, shown on the Essential Information tab of the service. |
Service lifecycle
- You create the service on a form with four screens: Basic Information, Nodes Configuration, Additional properties, and Review & Create. It is ready in about 10 minutes, when its Status is Healthy.
- You find its Private URL and settings on the service details page.
- You delete it from the Actions menu. Deleting it cannot be undone.
What you need before you create one
- A workspace whose Status is Connected. See Create a workspace.
- A PostgreSQL database that the workspace can reach, with its host name, port, database name, user name, and password. You can use a database you created in FPT Database Engine.
- An object storage bucket, with its endpoint, access key, and secret key.