Skip to main content
Version: 0.3.1

Gravitino web UI

This document primarily outlines how users can manage metadata within Gravitino using the web UI, the graphical interface is accessible through a web browser as an alternative to writing code or using the REST interface.

Currently, you can integrate OAuth settings to view, add, modify, and delete metalakes, create catalogs, and view catalogs, schemas, and tables, among other functions.

caution

More features are under development. For the details, please refer to the Manage metadata using Gravitino document.

Build and deploy the Gravitino Web UI and open it in a browser at http://<gravitino-host>:<gravitino-port>, by default is http://localhost:8090.

Initial page

The web UI homepage displayed in Gravitino depends on the configuration parameter for OAuth mode, see the details in Security.

Set parameter for gravitino.authenticator, simple or oauth.

tip

After changing the configuration, make sure to restart the Gravitino server.

<path-to-gravitino>/bin/gravitino.sh restart

Simple mode

gravitino.authenticator = simple

Set the configuration parameter gravitino.authenticator to simple, and the web UI displays the homepage (Metalakes).

webui-metalakes-simple

At the top-right, the UI displays the current Gravitino version.

The main content displays the existing metalake list.

Oauth mode

gravitino.authenticator = oauth

Set the configuration parameter gravitino.authenticator to oauth, and the web UI displays the login page.

webui-login-with-oauth

  1. Enter the values corresponding to your specific configuration. For detailed instructions, please refer to Security.

  2. Clicking on the LOGIN button takes you to the homepage.

webui-metalakes-oauth

At the top-right, there is an icon button that takes you to the login page when clicked.

Manage metadata

All the manage actions are performed by using the REST API

Metalake

Create a metalake

On the homepage, clicking on the CREATE METALAKE button displays a dialog to create a metalake.

create-metalake-dialog

Creating a metalake needs these fields:

  1. Name(required): the name of the metalake.
  2. Comment(optional): the comment of the metalake.
  3. Properties(optional): Click on the ADD PROPERTY button to add custom properties.

metalake-list

There are 3 actions you can perform on a metalake.

metalake-actions

Show metalake details

metalake-details

Edit metalake

Displays a dialog for modifying metalakes fields.

create-metalake-dialog

Delete metalake

Displays a confirmation dialog, clicking on the SUBMIT button deletes this metalake.

delete-metalake

Catalog

Clicking on a metalake name in the table views catalogs in a metalake.

If this is the first time, it shows no data until after creating a catalog.

metalake-catalogs

Clicking on the Tab - DETAILS views the details of the catalog on the metalake catalogs page.

metalake-catalogs-details

Create a catalog

Clicking on the CREATE CATALOG button displays a dialog to create a catalog.

create-catalog

Creating a catalog requires these fields:

  1. Catalog name(required): the name of the catalog
  2. Type(required): the default value is relational
  3. Provider(required): hive/iceberg/mysql/postgresql
  4. Comment(optional): the comment of this catalog
  5. Properties(each provider must fill in the required property fields specifically)
Providers

Required properties in various providers

Follow the Apache Hive catalog document

KeyDescription
metastore.urisThe Hive metastore URIs e.g. thrift://127.0.0.1:9083

After verifying the values of these fields, clicking on the CREATE button creates a catalog.

created-catalog

Clicking on the icon button - ←(left arrow) takes you to the metalake page.

Schema

Under Construction...

  • View
  • Create
  • Edit
  • Delete

Design draft preview:

demo-tables

Table

Under Construction...

  • View
  • Create
  • Edit
  • Delete

Design draft preview:

demo-columns

Feature capabilities

PageCapabilities
MetalakeView ✔ / Create ✔ / Edit ✔ / Delete
CatalogView ✔ / Create ✔ / Edit ✘ / Delete
SchemaView ✔ / Create ✘ / Edit ✘ / Delete
TableView ✔ / Create ✘ / Edit ✘ / Delete