Managing access to the Metadata Service (MDS)

You can give individual users access to the MDS by assigning the Metastore Admin role to the users.

Before you begin

Ensure to have at least one Admin user to be able to update the role of an Admin user. For more information, see Managing access to the platform.

Procedure

To give users access to MDS, complete the following steps:

  1. Log in to the web client as an administrator.
  2. From the navigation menu, select Instances.
  3. On the Instances page, locate the lakehouse instance.
  4. From the action menu, select Manage access.
  5. To add a user with Metastore Admin role:
    1. Click Add users.
    2. From the list of users, select the user and grant the Metastore Admin role.
    3. Click Add.
  6. To change the role of a User or Admin to a Metastore Admin:
    1. From the Access Management: lakehouse page, select the user with Admin or User role.
    2. Click the Service role menu and change the role to Metastore Admin.

Getting the MDS endpoint

Procedure

  1. Log in to watsonx.data console.
  2. From the navigation menu, select Infrastructure manager.
  3. Select the catalog.
  4. Click Details to view the catalog details page.
  5. Copy the endpoint:
    1. Metastore Thrift endpoint: This is your Hive interface endpoint for thrift (internal).
      Note: If you want to have an external access to the thrift endpoint, you must externalize it. For more information, see Accessing Metadata Service (MDS) using NodePort.
    2. Metastore Internal REST endpoint: Use this for internal pod-to-pod access (Unity and Iceberg Catalog REST API).
    3. Metastore External REST endpoint: Use this for external access (Unity and Iceberg Catalog REST API).
    You can retrieve the endpoints by using API. For more information, see .