World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#9980] doc(web-v2): add web v2 UI doc (#9981)
Qian Xia587ff9983c59
diff --git a/docs/assets/webui-v2/catalog-actions.png b/docs/assets/webui-v2/catalog-actions.pngnew file mode 100644index 0000000000..7d1cec62beBinary files /dev/null and b/docs/assets/webui-v2/catalog-actions.png differdiff --git a/docs/assets/webui-v2/catalog-associated-roles.png b/docs/assets/webui-v2/catalog-associated-roles.pngnew file mode 100644index 0000000000..7d0202e748Binary files /dev/null and b/docs/assets/webui-v2/catalog-associated-roles.png differdiff --git a/docs/assets/webui-v2/catalog-delete-figure-1.png b/docs/assets/webui-v2/catalog-delete-figure-1.pngnew file mode 100644index 0000000000..315030af0bBinary files /dev/null and b/docs/assets/webui-v2/catalog-delete-figure-1.png differdiff --git a/docs/assets/webui-v2/catalog-delete-figure-2.png b/docs/assets/webui-v2/catalog-delete-figure-2.pngnew file mode 100644index 0000000000..ee3671aa3dBinary files /dev/null and b/docs/assets/webui-v2/catalog-delete-figure-2.png differdiff --git a/docs/assets/webui-v2/catalogs-disabled-icon-and-filter-catalogs.png b/docs/assets/webui-v2/catalogs-disabled-icon-and-filter-catalogs.pngnew file mode 100644index 0000000000..f00e322df7Binary files /dev/null and b/docs/assets/webui-v2/catalogs-disabled-icon-and-filter-catalogs.png differdiff --git a/docs/assets/webui-v2/catalogs-list.png b/docs/assets/webui-v2/catalogs-list.pngnew file mode 100644index 0000000000..dd899a418eBinary files /dev/null and b/docs/assets/webui-v2/catalogs-list.png differdiff --git a/docs/assets/webui-v2/create-catalog-step1.png b/docs/assets/webui-v2/create-catalog-step1.pngnew file mode 100644index 0000000000..083f844de0Binary files /dev/null and b/docs/assets/webui-v2/create-catalog-step1.png differdiff --git a/docs/assets/webui-v2/create-catalog-step2.png b/docs/assets/webui-v2/create-catalog-step2.pngnew file mode 100644index 0000000000..682bdb0986Binary files /dev/null and b/docs/assets/webui-v2/create-catalog-step2.png differdiff --git a/docs/assets/webui-v2/create-metalake.png b/docs/assets/webui-v2/create-metalake.pngnew file mode 100644index 0000000000..e69a94c695Binary files /dev/null and b/docs/assets/webui-v2/create-metalake.png differdiff --git a/docs/assets/webui-v2/create-table-sortOrders.png b/docs/assets/webui-v2/create-table-sortOrders.pngnew file mode 100644index 0000000000..84c20a3f80Binary files /dev/null and b/docs/assets/webui-v2/create-table-sortOrders.png differdiff --git a/docs/assets/webui-v2/create-table.png b/docs/assets/webui-v2/create-table.pngnew file mode 100644index 0000000000..b67bad1d45Binary files /dev/null and b/docs/assets/webui-v2/create-table.png differdiff --git a/docs/assets/webui-v2/create-table2.png b/docs/assets/webui-v2/create-table2.pngnew file mode 100644index 0000000000..1b5798558eBinary files /dev/null and b/docs/assets/webui-v2/create-table2.png differdiff --git a/docs/assets/webui-v2/files-list.png b/docs/assets/webui-v2/files-list.pngnew file mode 100644index 0000000000..bc74729b76Binary files /dev/null and b/docs/assets/webui-v2/files-list.png differdiff --git a/docs/assets/webui-v2/filesets-list.png b/docs/assets/webui-v2/filesets-list.pngnew file mode 100644index 0000000000..94ce0e6b2dBinary files /dev/null and b/docs/assets/webui-v2/filesets-list.png differdiff --git a/docs/assets/webui-v2/function-details.png b/docs/assets/webui-v2/function-details.pngnew file mode 100644index 0000000000..2ebb44b894Binary files /dev/null and b/docs/assets/webui-v2/function-details.png differdiff --git a/docs/assets/webui-v2/job-template-register.png b/docs/assets/webui-v2/job-template-register.pngnew file mode 100644index 0000000000..c687b35f66Binary files /dev/null and b/docs/assets/webui-v2/job-template-register.png differdiff --git a/docs/assets/webui-v2/jobTemplates-list.png b/docs/assets/webui-v2/jobTemplates-list.pngnew file mode 100644index 0000000000..b6bed70cecBinary files /dev/null and b/docs/assets/webui-v2/jobTemplates-list.png differdiff --git a/docs/assets/webui-v2/jobs-list.png b/docs/assets/webui-v2/jobs-list.pngnew file mode 100644index 0000000000..0f348a1c17Binary files /dev/null and b/docs/assets/webui-v2/jobs-list.png differdiff --git a/docs/assets/webui-v2/metalake-actions.png b/docs/assets/webui-v2/metalake-actions.pngnew file mode 100644index 0000000000..fa5c37d4d1Binary files /dev/null and b/docs/assets/webui-v2/metalake-actions.png differdiff --git a/docs/assets/webui-v2/metalake-delete-confirm.png b/docs/assets/webui-v2/metalake-delete-confirm.pngnew file mode 100644index 0000000000..135273d84fBinary files /dev/null and b/docs/assets/webui-v2/metalake-delete-confirm.png differdiff --git a/docs/assets/webui-v2/metalake-properties-popover.png b/docs/assets/webui-v2/metalake-properties-popover.pngnew file mode 100644index 0000000000..6e05559c08Binary files /dev/null and b/docs/assets/webui-v2/metalake-properties-popover.png differdiff --git a/docs/assets/webui-v2/metalakes-list.png b/docs/assets/webui-v2/metalakes-list.pngnew file mode 100644index 0000000000..13110834b0Binary files /dev/null and b/docs/assets/webui-v2/metalakes-list.png differdiff --git a/docs/assets/webui-v2/models-list.png b/docs/assets/webui-v2/models-list.pngnew file mode 100644index 0000000000..64d0a15c49Binary files /dev/null and b/docs/assets/webui-v2/models-list.png differdiff --git a/docs/assets/webui-v2/navbar-system-mode.png b/docs/assets/webui-v2/navbar-system-mode.pngnew file mode 100644index 0000000000..d3b0cc3677Binary files /dev/null and b/docs/assets/webui-v2/navbar-system-mode.png differdiff --git a/docs/assets/webui-v2/navbar-user-dropdown.png b/docs/assets/webui-v2/navbar-user-dropdown.pngnew file mode 100644index 0000000000..4328daf8b9Binary files /dev/null and b/docs/assets/webui-v2/navbar-user-dropdown.png differdiff --git a/docs/assets/webui-v2/oauth-login.png b/docs/assets/webui-v2/oauth-login.pngnew file mode 100644index 0000000000..a22e40b5dbBinary files /dev/null and b/docs/assets/webui-v2/oauth-login.png differdiff --git a/docs/assets/webui-v2/policies-create.png b/docs/assets/webui-v2/policies-create.pngnew file mode 100644index 0000000000..f1989e15beBinary files /dev/null and b/docs/assets/webui-v2/policies-create.png differdiff --git a/docs/assets/webui-v2/policies-list.png b/docs/assets/webui-v2/policies-list.pngnew file mode 100644index 0000000000..b67063679fBinary files /dev/null and b/docs/assets/webui-v2/policies-list.png differdiff --git a/docs/assets/webui-v2/policy-metadata-objects.png b/docs/assets/webui-v2/policy-metadata-objects.pngnew file mode 100644index 0000000000..3d218048d4Binary files /dev/null and b/docs/assets/webui-v2/policy-metadata-objects.png differdiff --git a/docs/assets/webui-v2/roles-create.png b/docs/assets/webui-v2/roles-create.pngnew file mode 100644index 0000000000..e91c9c195bBinary files /dev/null and b/docs/assets/webui-v2/roles-create.png differdiff --git a/docs/assets/webui-v2/roles-list.png b/docs/assets/webui-v2/roles-list.pngnew file mode 100644index 0000000000..5bf458b245Binary files /dev/null and b/docs/assets/webui-v2/roles-list.png differdiff --git a/docs/assets/webui-v2/run-job.png b/docs/assets/webui-v2/run-job.pngnew file mode 100644index 0000000000..2ee9fec043Binary files /dev/null and b/docs/assets/webui-v2/run-job.png differdiff --git a/docs/assets/webui-v2/run-job2.png b/docs/assets/webui-v2/run-job2.pngnew file mode 100644index 0000000000..9d7b698076Binary files /dev/null and b/docs/assets/webui-v2/run-job2.png differdiff --git a/docs/assets/webui-v2/schema-functions-list.png b/docs/assets/webui-v2/schema-functions-list.pngnew file mode 100644index 0000000000..f80a0b5f8aBinary files /dev/null and b/docs/assets/webui-v2/schema-functions-list.png differdiff --git a/docs/assets/webui-v2/schema-functions-list2.png b/docs/assets/webui-v2/schema-functions-list2.pngnew file mode 100644index 0000000000..2ebb44b894Binary files /dev/null and b/docs/assets/webui-v2/schema-functions-list2.png differdiff --git a/docs/assets/webui-v2/schemas-list.png b/docs/assets/webui-v2/schemas-list.pngnew file mode 100644index 0000000000..5cc8dd6d61Binary files /dev/null and b/docs/assets/webui-v2/schemas-list.png differdiff --git a/docs/assets/webui-v2/simple-with-login.png b/docs/assets/webui-v2/simple-with-login.pngnew file mode 100644index 0000000000..ef8b4a6e16Binary files /dev/null and b/docs/assets/webui-v2/simple-with-login.png differdiff --git a/docs/assets/webui-v2/tables-create-properties.png b/docs/assets/webui-v2/tables-create-properties.pngnew file mode 100644index 0000000000..a3bb2cc1d1Binary files /dev/null and b/docs/assets/webui-v2/tables-create-properties.png differdiff --git a/docs/assets/webui-v2/tables-list.png b/docs/assets/webui-v2/tables-list.pngnew file mode 100644index 0000000000..b084a4c5e6Binary files /dev/null and b/docs/assets/webui-v2/tables-list.png differdiff --git a/docs/assets/webui-v2/tag-metadata-objects.png b/docs/assets/webui-v2/tag-metadata-objects.pngnew file mode 100644index 0000000000..fccac64b72Binary files /dev/null and b/docs/assets/webui-v2/tag-metadata-objects.png differdiff --git a/docs/assets/webui-v2/tags-create.png b/docs/assets/webui-v2/tags-create.pngnew file mode 100644index 0000000000..d0b81e1cf2Binary files /dev/null and b/docs/assets/webui-v2/tags-create.png differdiff --git a/docs/assets/webui-v2/tags-list.png b/docs/assets/webui-v2/tags-list.pngnew file mode 100644index 0000000000..8a38ffdd25Binary files /dev/null and b/docs/assets/webui-v2/tags-list.png differdiff --git a/docs/assets/webui-v2/topics-list.png b/docs/assets/webui-v2/topics-list.pngnew file mode 100644index 0000000000..d198750d9aBinary files /dev/null and b/docs/assets/webui-v2/topics-list.png differdiff --git a/docs/assets/webui-v2/userGroups-add.png b/docs/assets/webui-v2/userGroups-add.pngnew file mode 100644index 0000000000..0d14189b08Binary files /dev/null and b/docs/assets/webui-v2/userGroups-add.png differdiff --git a/docs/assets/webui-v2/userGroups-grant-role.png b/docs/assets/webui-v2/userGroups-grant-role.pngnew file mode 100644index 0000000000..3470caa01fBinary files /dev/null and b/docs/assets/webui-v2/userGroups-grant-role.png differdiff --git a/docs/assets/webui-v2/userGroups-list.png b/docs/assets/webui-v2/userGroups-list.pngnew file mode 100644index 0000000000..0308dcf2aaBinary files /dev/null and b/docs/assets/webui-v2/userGroups-list.png differdiff --git a/docs/assets/webui-v2/users-add.png b/docs/assets/webui-v2/users-add.pngnew file mode 100644index 0000000000..f9d3c7dcf8Binary files /dev/null and b/docs/assets/webui-v2/users-add.png differdiff --git a/docs/assets/webui-v2/users-grant-role.png b/docs/assets/webui-v2/users-grant-role.pngnew file mode 100644index 0000000000..147304dcfeBinary files /dev/null and b/docs/assets/webui-v2/users-grant-role.png differdiff --git a/docs/assets/webui-v2/users-list.png b/docs/assets/webui-v2/users-list.pngnew file mode 100644index 0000000000..c9d366a9e6Binary files /dev/null and b/docs/assets/webui-v2/users-list.png differdiff --git a/docs/assets/webui-v2/versions-list.png b/docs/assets/webui-v2/versions-list.pngnew file mode 100644index 0000000000..f74337aef3Binary files /dev/null and b/docs/assets/webui-v2/versions-list.png differdiff --git a/docs/webui-v2.md b/docs/webui-v2.mdnew file mode 100644index 0000000000..edd763c06a--- /dev/null+++ b/docs/webui-v2.md@@ -0,0 +1,341 @@+---+title: 'Apache Gravitino Web V2 UI'+slug: /webui-v2+keyword: webui v2+last_update:+ date: 2026-01-30+ author: LauraXia123+license: 'This software is licensed under the Apache License version 2.'+---++This document outlines how users can manage metadata within Apache Gravitino using the Web V2 UI, the latest graphical interface accessible through a web browser as an alternative to writing code or using the REST interface.++[Build](./how-to-build.md#quick-start) and [deploy](./getting-started/index.md#local-workstation) the Gravitino Web UI and open it in a browser at `http://<gravitino-host>:<gravitino-port>`. By default, it is [http://localhost:8090](http://localhost:8090).++## UI Version 1.2.0 — Web V2 introduced++Starting with version 1.2.0, Gravitino introduces Web V2. By default, the template does not set `GRAVITINO_USE_WEB_V2`, so the container or environment controls which UI is used. To force the v1 UI, explicitly set it to `false`; to enable the v2 UI, set it to `true` (for example: `export GRAVITINO_USE_WEB_V2=true`). If you want to enable Web V2 from the server env file, set the following environment variable in `conf/gravitino-env.sh` before starting the server:++```bash+# In <path-to-gravitino>/conf/gravitino-env.sh+GRAVITINO_USE_WEB_V2=true+```++After changing this value, restart the Gravitino server for the change to take effect:++```bash+<path-to-gravitino>/bin/gravitino.sh restart+```++## Web V2++The sections below describe the Web V2 (requires `GRAVITINO_USE_WEB_V2=true` to enable).+The Web V2 introduces additional modules (such as Jobs, Job Templates, Data Compliance, and Access) and expands table creation and editing to support more complex data types across providers.++Data Compliance includes **Tags** and **Policies**. The **Access** module is visible only when `gravitino.authorization.enable=true` and includes **Users**, **User Groups**, and **Roles**.++### Initial page (Web V2)++The Web V2 landing page depends on both the authentication mode and whether authorization is enabled in `<path-to-gravitino>/conf/gravitino.conf`.++- When `gravitino.authorization.enable=false`, authorization is disabled. In `simple` mode, the UI opens directly to the metalake list page.++ ++- When `gravitino.authorization.enable=true`, authorization is enabled. In `simple` mode, the UI shows a login page. You can enter any username without a password.++ ++- When `gravitino.authenticators=oauth`, OAuth configuration is required for login. OAuth mode requires `gravitino.authorization.enable=true`. See the details in [Security](security/security.md)++ ++### Metalakes (Web V2)++Overview for Metalake in the Web V2.++++#### Create metalake (Web V2)++Click the `CREATE METALAKE` button to open the create dialog. Fill in the form fields and submit to create the metalake.++++After creation, the basic information is visible in the metalake list.++#### Properties popover (Web V2)++Hover over the number in the **Properties** column to view the properties popover.++++#### Actions (Web V2)++In the **Actions** column, you can edit or delete the metalake. The settings dropdown includes:++- **Set Owner** (available only when `gravitino.authorization.enable=true`)+- **Toggle in-use / not in-use**++++#### Delete metalake (Web V2)++To delete a metalake, the metalake must be **not in-use** (set it in the [Actions (Web V2)](#actions-web-v2) settings dropdown), and all sub-entities must be deleted first. The delete dialog requires entering the metalake name for confirmation before deletion.++++### Catalogs (Web V2)++Overview for Catalog in the Web V2.++#### Catalog type filter (Web V2)++On the catalogs page, use the catalog type selector at the top-left to switch between `relational`, `messaging`, `fileset`, and `model`. The list updates to show catalogs of the selected type.+++#### Tags and policies association (Web V2)++The catalog list shows basic catalog information along with associated **Tags** and **Policies**. Use **Associate Tag** and **Associate Policy** in the list to add associations. Click the **X** on a tag to remove it.++++#### Disable catalog (Web V2)++From the **Actions** settings dropdown, switch a catalog to **not in-use**. A disabled icon appears next to the catalog name, and the catalog name becomes non-clickable (you cannot enter the catalog details page).++++#### Provider filter (Web V2)++Use the filter on the **Provider** table header to narrow the catalogs list by provider.++++#### Create catalog (Web V2)++Click **Create Catalog** to open the creation form for the selected catalog type. In step 1, choose the provider for the selected type. Click **Next** to go to step 2, fill in the required properties, and submit to create the catalog. Some providers support **Test Connection** so you can validate connectivity before submitting.++++++#### Delete catalog (Web V2)++If the catalog is still in-use, the UI shows the **Delete** entry as shown in **Figure 1 below**. After switching the catalog to **not in-use** (see [Disable catalog (Web V2)](#disable-catalog-web-v2)), the **Delete** entry changes to **Figure 2 below**. Enter the catalog name for the second confirmation, then you can delete it.++++++#### Navbar (Web V2)++The navbar provides the following shortcuts:++- Click the **System Mode** icon on the right to navigate back to the metalake list page.+- The **User** icon dropdown shows a list of all metalake names (click to switch).+- When `gravitino.authorization.enable=true`, the **User** icon dropdown also shows the current user name and a **Logout** button that returns to the login page.+++++### Catalog details & Schemas (Web V2)++You can enter the catalog details page by clicking the catalog name either from the left tree or from the catalog name in the right list. The catalog name shows basic catalog information underneath it. Hover over the highlighted numbers to open a popover with more details.++Below the catalog information, the page shows the **Schemas** list and the catalog's **Associated Roles**. The **Associated Roles** section is visible only when `gravitino.authorization.enable=true`, and it lists the role name and its privileges.++#### Schemas list (Web V2)++Overview for Schemas in the Web V2.++++#### Associated Roles (Web V2)++Overview for Associated Roles in the Web V2. (visible only when `gravitino.authorization.enable=true`)++++The Apache Gravitino Spark connector supports loading user-defined functions (UDFs) registered+in the Gravitino function registry. Once a function is+[registered in Gravitino](./manage-user-defined-function-using-gravitino.md), Spark can discover and+invoke it through standard Spark SQL syntax — no additional `CREATE FUNCTION` statement is needed.+If a UDF is registered, you can see a **Functions** list tab on the schema details page.++++Click a function tree node or a function name in the list to view detailed parameters for the+function definition.++++### Tables (Web V2)++Overview for Table in the Web V2.++++#### Create Table (Web V2)++In the **Schema details** page, the list shows all tables under the selected schema. Click **Create Table** to open the table creation form.++In the form, add columns and select column types. The Web V2 supports composite inputs for `char`, `varchar`, and `decimal`. Some complex types are supported (for example `list`, `map`, `struct`, `union`) depending on the provider.++Depending on the provider, you can configure **Partitions**, **Sort Orders**, and **Distribution**.+++++++In **Properties**, default values are prefilled and can be changed. You can reselect and update the values before submitting.++++Submit the form to create a complex table.++### Filesets (Web V2)++Overview for Fileset in the Web V2.++++Overview for files under fileset in the Web V2.++++### Topics (Web V2)++Overview for Topic in the Web V2.++++### Models (Web V2)++Overview for Model in the Web V2.++++### Versions (Web V2)++Overview for Version in the Web V2.++++### Job (Web V2)++Overview for Job in the Web V2.++++#### Run Job (Web V2)++Click **Run Job**, select a job template, and review the template parameters on the left. On the right, use **Job Configuration** to replace the template placeholders defined with `{{}}`. After the replacements, the final job script is generated and executed.++++In the job template select dropdown, you can choose **Register Job Template** to create a new template, or click **Go to job templates** to navigate to the job template list page.++++### Job Template (Web V2)++Overview for Job Template in the Web V2.++++#### Register Job Template (Web V2)++Click **Register Job Template** to open the create template form. Choose a job type, fill in the required fields, and submit to register the template.+++++### Data Compliance - Tags (Web V2)++Overview for Data Compliance Tags in the Web V2.++++#### Create Tag (Web V2)++Click **Create Tag** to open the create form. Fill in the required fields and submit to create a tag.++++#### Tag metadata objects (Web V2)++Click a tag to navigate to the **Metadata Objects** page, which lists all metadata objects associated with the selected tag.++++### Data Compliance - Policies (Web V2)++Overview for Data Compliance Policies in the Web V2.++++#### Create Policy (Web V2)++Click **Create Policy** to open the create form. Fill in the required fields and submit to create a policy.++++#### Policy metadata objects (Web V2)++Click a policy tag to navigate to the **Metadata Objects** page, which lists all metadata objects associated with the selected policy.++++### Access++The Access module is visible only when `gravitino.authorization.enable=true`.++### Access - Users (Web V2)++Overview for Access Users in the Web V2.++++#### Add User (Web V2)++Click **Add User** to open the create form. Fill in the required fields and submit to create a user.++++#### Grant Role (Web V2)++From the **Actions**, click **Grant Role** icon to assign roles to the selected user.++++### Access - User Groups (Web V2)++Overview for Access User Groups in the Web V2.++++#### Add User Group (Web V2)++Click **Add User Group** to open the create form. Fill in the required fields and submit to create a user group.++++#### Grant Role (Web V2)++From the **Actions**, click **Grant Role** icon to assign roles to the selected user group.++++### Access - Roles (Web V2)++Overview for Access Roles in the Web V2.++++#### Create Role (Web V2)++Click **Create Role** to open the create form. A role can include multiple securable objects. Different securable object types have different available privileges. For details, see [Securable Objects](security/access-control.md#securable-objects) and [Privilege Types](security/access-control.md#privilege-types).++