Skip to main content

Metalake administration

Service administrators create metalakes, and each metalake's owner enables, disables, and deletes it. What a metalake is, and what its boundary separates, is covered in Metalakes.

Quick start​

The example creates the metalake production and points it at its first catalog.

  1. Create the metalake. Open Configure → Metalakes and click + Metalake. Enter production as the Metalake name and Production estate as the Description.

  2. Set the owner. Choose the Owner type, User or Group, and the Owner. Properties are optional. Click Create metalake.

  3. Connect a catalog. A new metalake is empty. Select production in the metalake selector at the top of the navigation bar and see Catalogs and schemas.

A new metalake has no members. Add users and groups to it and grant them roles before anyone else can work in it; see Access control.

Configure → Metalakes lists every metalake on the server with its status, catalog count, description, and owner.

Enable and disable​

Disabling a metalake takes it out of service without deleting anything; what that blocks is described in Metalakes. Enabling a metalake that is already enabled does nothing, and the same is true of disabling one that is already disabled.

Select one or more metalakes in the list and click Enable or Disable, then confirm.

Delete a metalake​

Deleting a metalake removes it and everything registered under it: catalogs, schemas, users, roles, tags, policies, and job templates. External systems are left alone, so a Hive table or an S3 bucket that was registered rather than created by Gravitino survives. Managed objects, such as a managed fileset, are removed with their data.

  1. Disable it. An enabled metalake cannot be deleted. Clicking Delete metalake on one offers to disable it first.

  2. Delete it. Click Delete metalake again. The confirmation lists how many catalogs, users, and roles go with it. Type the metalake name and confirm.

Permissions​

Creating a metalake is reserved for service administrators, set with the chart value gravitino.authorization.serviceAdmins (a comma-separated list of user names, admin by default). Nobody else can create one, whatever privileges they hold.

Altering, enabling, disabling, and deleting a metalake are reserved for its owner.

API​

Metalakes can be created, listed, altered, enabled, disabled, and deleted over REST and through the Java and Python admin clients. The REST reference documents each call, with the client code under the Java and Python tabs.