Enabling and disabling Dataproc Metastore

This page explains how to enable or disable Dataproc Metastore for your Google Cloud project. For information about service usage on Google Cloud, see Enabling and disabling services.

Before you begin

  • You must have Owner, Editor, or roles/serviceusage.serviceUsageAdmin role to enable and disable the Dataproc Metastore API. For more information about roles and permissions, see IAM and access control.

  • To avoid additional charges, complete the following steps before you disable the Dataproc Metastore API.

    • Delete all of your services. The API cannot be disabled while services still exist.

    • Wait until in-progress service operations for deleting services have completed.

Enabling Dataproc Metastore

Before using Dataproc Metastore, you must create a Google Cloud project and enable billing.

You can use an existing project with Dataproc Metastore or create a new one. In both cases, you need to enable the Dataproc Metastore API.

To create a project and enable the Dataproc Metastore API:

  1. In the Cloud Console, select or create a project.
  2. Make sure that billing is enabled for your project.
  3. To activate the Dataproc Metastore API in a new or existing project, go to the API overview page for Dataproc Metastore.
  4. Click Enable.

Disabling Dataproc Metastore

  1. In the Cloud Console, select the project to disable the Dataproc Metastore API in.
  2. Go to the API overview page for Dataproc Metastore.
  3. Click Manage.
  4. Click Disable API.

What's next?