HeadlinesBriefing favicon HeadlinesBriefing.com

Apache Gravitino Setup Guide for Developers

DEV Community •
×

This tutorial walks through installing Apache Gravitino version 1.1.0 from scratch, covering binary downloads or source builds. It details configuring the server on Linux or macOS with JDK 17 and choosing a storage backend: H2 for development or MySQL/PostgreSQL for production. The guide explains setting up the web server, enabling caching with Caffeine for performance, and configuring optional access control and authentication.

The process includes initializing the database schema, editing `gravitino.conf` for HTTP and JDBC settings, and launching the server on port 8090. Verification involves checking the API endpoint and the Web UI. Optional auxiliary services for Iceberg and Lance REST can be enabled. This setup provides a centralized metadata management layer for data ecosystems, a growing need as organizations manage diverse data sources.

Once running, users can create metalakes and catalogs via API or GUI, testing with a sample Hive catalog. The server's built-in authorization maps authenticated users to principals for metalake ownership control. Looking ahead, Gravitino's active development aims to streamline metadata operations across platforms, making it a tool to watch for data engineering teams building unified data platforms.